Commit Graph
217047 Commits
Author SHA1 Message Date
peter 02b032eca2 IDEA-189603 Multi-parameter completion overwrites code if there is no closing parenthesis 2018-04-11 08:52:22 +02:00
Artem Bochkarev f9a1746f33 IDEA-163208: implementation of designed stop button behavior
when pressed: show scrubber with all runnung configurations (or stop single confuguraion)
also revert run button toggle logic (via subscribe)
2018-04-11 11:41:16 +07:00
Artem Bochkarev d840334ba9 IDEA-163208: add stack of touchbars 2018-04-11 11:41:16 +07:00
Ilya.Kazakevich 1da58424f2 PY-29497: Do not provide sys.argv[1:] to behave since they are already provided
_jb_django_behave.py:
"scenario_n_options" already contains all options and arguments
behave needs (see how this method is called).
No need to duplicate them using "sys.argv[1:]"

+tests added
2018-04-11 02:29:05 +03:00
Julia Beliaeva 1611a60768 [vcs-log] leave regular expression branch filters in recent 2018-04-10 23:11:46 +03:00
Semyon Proshev 7041d0ec61 Fix processing six.with_metaclass and six.add_metaclass reimported through Django 2018-04-10 22:18:30 +03:00
Sergey Malenkov 7f2e3f0db2 IDEA-189965 Update debugger icons 2018-04-10 20:47:45 +03:00
Konstantin Bulenkov 2eed9c4bbe fix typo. Label.disabledForeground should delegate logic to the method with the same name 2018-04-10 20:15:58 +03:00
Konstantin Bulenkov afa6a0bdbf new SearchEverywhere UI initial UX-1 2018-04-10 20:15:57 +03:00
Konstantin Bulenkov 199eeae794 add a registry key to enable new Search Everywhere UI 2018-04-10 20:15:57 +03:00
Gregory.Shrago 48020784bf logging for EA-116368 - assert: TextRange.<init> 2018-04-10 20:13:27 +03:00
Roman Shevchenko 26d381ae71 Merge remote-tracking branch 'origin/master' 2018-04-10 19:05:56 +02:00
Roman Shevchenko b3aaaca70a [java] raw string literals: lexer/parser (IDEA-189075) 2018-04-10 19:05:22 +02:00
Anton Lobov dd7840ac29 WEB-20353 JSON Schema: provide Edit action for created mapping 2018-04-10 18:53:09 +02:00
Aleksey Pivovarov 97bdca2494 lst: add tooltip hint about "Move Lines to Changelist" shortcut 2018-04-10 19:37:21 +03:00
Roman Shevchenko 8ab9996f95 Cleanup (duplicates; typos) 2018-04-10 18:35:14 +02:00
Sergey Simonchik 74fae70f41 add test for auto 'testFinished' event for 'testIgnored' (IDEA-CR-31598) 2018-04-10 19:01:53 +03:00
Aleksey Pivovarov 25bdd04542 IDEA-186651 vcs: add shortcut to move range into another changelist 2018-04-10 18:22:43 +03:00
Vladimir Krivosheev 15500d6412 ExecutionTargetTest — use DisposableRule to ensure that always disposed 2018-04-10 17:11:17 +02:00
Maxim Kropotov 55ae6e6ac6 JSON schema: IDEA-CR-31605 followup. inline confusing method 2018-04-10 18:08:32 +03:00
peter c4cfcee251 simplify stub-AST-PSI relationships
replace AstPath with index-based SpineRef, take coarser locks, load multi-root stubs independently

What we lose:
* an ability to gc AST of stubbed PSI loaded via AST-only
* an ability to gc AST of non-stubbed StubBasedPsiElementBase
* partial chameleon expansion during findElementAt after AST has been gc-ed but stubbed PSI is still referenced
** probably not a major regression: full parsing has been happening during stub-AST switch for ages

What we retain:
* we can hold references to PSI received from stub index queries without worrying about retaining their AST (even if loaded, it will be gc-ed)

What we gain:
* simpler code with less mutable state
* outdated AstPath assertion is now nonexistent (WEB-32120, EA-101911)
* no more cases when stub has been gc-ed but can't be reloaded due to some cached PSI with unknown stub index (IDEA-189948)
* other stub-related exceptions are also likely to be fixed:
** EA-97101 - REWA: StubBasedPsiElementBase.failedToBindStubToAst
** EA-102022 - CCE: PsiFieldImpl.findFirstFieldInDeclaration
** EA-101452 - assert: StubBasedPsiElementBase.getRequiredStubOrPsiChild
** EA-107208 - ISE: StubBasedPsiElementBase.$$$reportNull$$$
** EA-110161 - PIEAE: SubstrateRef$StubRef.reportError
** EA-113453 - CCE: PsiClassImpl.getContainingClass
** EA-117888 - CCE: PsiClassImpl.getContextStub
2018-04-10 17:00:30 +02:00
Vladimir Krivosheev 3caf6bba8b UpdateOptionsTest — add case auto check is enabled 2018-04-10 16:57:24 +02:00
Gregory.Shrago b4ea6a6b83 notnull 2018-04-10 17:55:04 +03:00
Gregory.Shrago 4d30fdf28d WI-41555, WI-41328 fix empty scratch folders and db-console guids 2018-04-10 17:55:04 +03:00
Dmitry Jemerov c70e2fbf28 Allow to customize IdeDocumentHistory behavior in tests (for Rider) 2018-04-10 16:50:07 +02:00
Dmitry Jemerov 9b6fe53b3f Don't write error to log when unable to create process.
The exception may be properly handled outside (e.g. when process
creation failed due to required elevation -> we handle this error and
show elevation dialog to user). Needed for Rider.
2018-04-10 16:50:06 +02:00
Dmitry Jemerov 5c6f7696a4 Fix race condition when killing processes (RIDER-11849) 2018-04-10 16:50:05 +02:00
Dmitry Jemerov 8292a6d3e5 Notify listeners when virtualSpace setting is changed
Used in Rider.
2018-04-10 16:50:05 +02:00
Dmitry Jemerov 0ae64dccb4 Allow specifying our PID when sending signal to process tree
This allows to send signals to processes which weren't started as
direct children of the IDE process. Used in Rider.
2018-04-10 16:50:04 +02:00
Artem Bukhonov f27e8d2aaf XDebuggerTestUtil overloads which take custom waiter function as parameter 2018-04-10 16:50:04 +02:00
Dmitry Jemerov 9522f9962d Allow customizing color of run configuration indicator icon
Used in Rider's Unity integration
2018-04-10 16:50:04 +02:00
Dmitry Jemerov f0fdfa517f Make it possible to customize default TODO patterns 2018-04-10 16:50:03 +02:00
Dmitry Jemerov 96d06b47a8 check that FileEditor is valid. Fix RIDER-13812. 2018-04-10 16:50:03 +02:00
Dmitry Jemerov d8181953c3 [rider] allow to pass postRunnable argument for test purpose 2018-04-10 16:50:02 +02:00
Dmitry Batrak 2038627642 IDEABKL-6984 Add Eclipse Style Paren/Bracket/Quote Completiton
simple solution, that makes Tab always (if option is enabled) move caret to the right of parenthesis/quote if caret was located before it
2018-04-10 17:47:07 +03:00
Rustam Vishnyakov fe1ff8a4de Migration to PsiFile-based Code Style API 2018-04-10 17:34:05 +03:00
Rustam Vishnyakov df8bef8395 Migration to PsiFile-based Code Style API 2018-04-10 17:34:05 +03:00
Rustam Vishnyakov a8cf7a3f2f Migration to PsiFile-based Code Style API 2018-04-10 17:34:05 +03:00
Maxim Kropotov 17db82279d json schema: resolve array pointers, validate additional items
Fixes WEB-32242
2018-04-10 16:48:52 +03:00
Artem Bukhonov c3b534b28c Add API for restarting IDE with elevation
This is used in Rider to allow debugging processes which require
extra privileges
2018-04-10 15:26:57 +02:00
Aleksey Pivovarov c23a84f0a9 TW-54380 vcs: warn if partial changes are not supported by CommitExecutor
* do not show checkboxes if none of executors supports partial commit
2018-04-10 16:17:38 +03:00
Aleksey Pivovarov e486d8e883 vcs: cleanup 2018-04-10 16:17:38 +03:00
Aleksey Pivovarov 7e7d8a30c5 vcs: strip mnemonics before using executor action text in commit dialog title 2018-04-10 16:17:37 +03:00
Aleksey Pivovarov f069b27e47 vcs: move executors handling earlier in commit dialog constructor 2018-04-10 16:17:36 +03:00
Aleksey Pivovarov 50de525618 vcs: cleanup - unify similar if branches 2018-04-10 16:17:35 +03:00
Aleksey Pivovarov 5d5e35cae6 vcs: commit action text should not depend on order of affected vcses
* fix case, when one of affected vcses doesn't have a CheckinEnvironment
2018-04-10 16:17:35 +03:00
Aleksey Pivovarov 53d621eb92 vcs: cleanup - make method static 2018-04-10 16:16:33 +03:00
Aleksey Pivovarov e1536c54e5 vcs: cleanup - make method static 2018-04-10 16:16:33 +03:00
Anton Lobov 7a6a412b29 don't use schema catalog in unit tests - 2 2018-04-10 15:13:46 +02:00
Dmitry Jemerov bce8646f7e API for replacing "Log to console" text in the UI
Rider needs to show "Log to debug output" instead.
2018-04-10 14:55:32 +02:00