Commit Graph
8392 Commits
Author SHA1 Message Date
peter 535be499c9 don't add imports in dumb mode (EA-63792) 2015-01-02 15:02:18 +01:00
Anna Kozlova 51b8edcfe8 lets select copied files in project view (invoked from project view) only if open in editor option is selected (IDEA-131665) 2015-01-02 14:26:15 +01:00
peter 0afb244fea disable aspect creation in dumb mode as it requires findClass 2015-01-02 12:59:14 +01:00
Anna Kozlova 5ecb541855 extract method: skip parenthesis as they are skipped by control flow (IDEA-134904) 2015-01-02 12:05:47 +01:00
Anna Kozlova 417c8edc04 ensure reassign state is cleared 2014-12-30 20:19:24 +01:00
Anna Kozlova 8b4c72f6e6 navigate from array creation expr should not land on constructor(s) but on class definition (IDEA-129546) 2014-12-30 15:36:38 +01:00
Anna Kozlova dad0c70215 test finder: try case insensitive finder for test classes (IDEA-134321) 2014-12-30 15:36:36 +01:00
Anna Kozlova d55ef6bae7 d'n'd in packages view: forbid move if class already exist in the corresponding package (IDEA-41918) 2014-12-29 21:15:14 +01:00
Anna Kozlova de0f135bb7 generify: no need to check read-only status, it is checked for all refactorings in BaseRefactoringProcessor (IDEA-15335) 2014-12-29 21:15:13 +01:00
Anna Kozlova 92bb2b6d65 extract if condition: ensure brackets (IDEA-134698) 2014-12-29 18:57:46 +01:00
Maxim.Mossienko c0bd98383c properly working navigation 2014-12-24 23:03:56 +01:00
Maxim.Mossienko ecbf2e64c5 [Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Maxim.Mossienko 2618e5f354 introduced variable 2014-12-24 22:05:26 +01:00
Anna Kozlova bb51fb1c63 generate equals/hashCode: support deep arrays equals for java > 1.5 (IDEA-131533) 2014-12-24 20:26:36 +01:00
Anna Kozlova 6f12108208 constructor -> builder: allow to rename setter prefix together and remember the choice for a project (IDEA-102132) 2014-12-24 20:26:34 +01:00
Maxim.Mossienko 74c5e31709 fixing large duplicates 2014-12-24 19:06:15 +01:00
Dmitry Jemerov 60b8e7041b replace PsiPackage.getChildren(scope) API with PsiPackage.getFiles(scope); use it for coverage and package view 2014-12-24 15:31:10 +01:00
Dmitry Jemerov d7e7555e7b remove a couple of unnecessary Project parameters 2014-12-24 15:31:10 +01:00
Dmitry Jemerov c8055c9253 remove more gratuitous uses of reflection 2014-12-24 15:31:09 +01:00
peter 97d3accaee AddModuleDependencyFix: add import only in non-dumb mode (EA-63633 - INRE: FileBasedIndexImpl.handleDumbMode) 2014-12-24 15:28:50 +01:00
peter 546f255e28 no getOriginalClass in dumb mode (EA-63632 - INRE: FileBasedIndexImpl.handleDumbMode) 2014-12-24 15:28:50 +01:00
Anna Kozlova 607d4e4f79 make static: allow to delegate (IDEA-24060) 2014-12-23 19:32:30 +01:00
Anna Kozlova f99580f6a5 enable delegate for interfaces in 1.8 2014-12-23 19:32:29 +01:00
peter 3ad506044f autopopup completion in javadoc local reference (IDEA-131899) 2014-12-23 18:25:17 +01:00
Vladimir Krivosheev 627cf64204 extract HttpRequests.getReader 2014-12-23 16:55:28 +01:00
Andrey Starovoyt b20fc1c936 live templates: incorrect adding generic parameter IDEA-134434 2014-12-23 18:18:43 +03:00
peter d338d17b18 java & groovy line markers made non-dumb-aware 2014-12-23 15:13:03 +01:00
Anna Kozlova 62b540f862 inplace introduce parameter: ensure that parameter is not deleted if not all occurrences are replaced 2014-12-23 14:17:31 +01:00
Anna Kozlova 534f8ad773 automatically rename overloads (IDEA-131926) 2014-12-23 14:17:30 +01:00
Anna Kozlova 083e522f02 extract method: disable visibility choice when target class is interface (IDEA-134635) 2014-12-23 11:42:43 +01:00
Anna Kozlova afc3e23260 extract method: disable make static when extracting from default method; ensure static extracting from constant in interface (IDEA-134636) 2014-12-23 11:42:42 +01:00
Anna Kozlova a40532d63f safe delete: ensure @Overrides are deleted according to selected methods in overriding methods chooser (IDEA-111191) 2014-12-23 11:42:41 +01:00
Anna Kozlova b5c31694cb moves: open result in editor (IDEA-133015) 2014-12-22 15:49:49 +01:00
peter d751ddd81c non-code anno gutter icons: add an explanation 2014-12-22 13:55:31 +01:00
Vladimir Krivosheev 16d9d5767b cleanup 2014-12-19 19:00:24 +01:00
Anna Kozlova f02893f6e4 fix compilation 2014-12-19 17:15:28 +01:00
Anna Kozlova 559397d21f cascade delete (IDEA-80842) 2014-12-19 17:08:05 +01:00
Vladimir Krivosheev 4d95a53bc8 maven — use HttpRequests 2014-12-19 16:28:10 +01:00
Vladimir Krivosheev 40afed70ac use HttpRequests 2014-12-19 14:04:03 +01:00
Anna Kozlova 683b7413e7 replace == with equals PsiType.VOID 2014-12-18 19:20:20 +01:00
Anna Kozlova 6e761e661f surround with try/catch: ignore nested functional expressions from unchecked analyzes 2014-12-18 14:13:22 +01:00
Anna Kozlova 6336e973c9 add exception to throws: find functional interface method for method references; discard if in library (IDEA-134468) 2014-12-18 14:13:20 +01:00
Anna Kozlova ef013da019 introduce field: check initializer if it has refs on parameter/locals so setup option is not valid; allow to introduce field in constructor if all used refs are final fields (IDEA-134348) 2014-12-17 20:13:44 +01:00
Vladimir Krivosheev 36de98fa1e use HttpRequests 2014-12-17 18:08:54 +01:00
Anna Kozlova d16370ccdf deep make static: do not suggest to make test method static 2014-12-17 09:57:49 +01:00
Anna Kozlova e0ba38fed0 introduce parameter: clean selection later to avoid focus troubles (IDEA-134272) 2014-12-17 09:57:42 +01:00
Yaroslav Lepenkin 42aeed5df4 AbstractJavaBlock, SimpleJavaBlock, refactoring, simplification 2014-12-16 12:54:13 +02:00
Yaroslav Lepenkin eb00553169 SimpleJavaBlock: minor simplifications 2014-12-16 12:54:12 +02:00
Anna Kozlova 02e4374253 introduce variable dialog: detect make final state by checkbox (IDEA-134349) 2014-12-16 10:45:04 +01:00
Konstantin Bulenkov 27cfbfb589 fix: when clicking on external annotation gutter icon editor scrolls and popup shows underneath of the method 2014-12-15 13:26:11 +01:00