Commit Graph
8445 Commits
Author SHA1 Message Date
Alexey Kudravtsev fe7a855b9a IDEA-96801 Exception in jsp 2015-01-15 13:43:13 +03:00
Anna Kozlova bff6607dd6 introduce functional parameter as separate action: also works on single expressions; introduce parameter still introduces functional if nothing else is possible 2015-01-15 10:25:54 +01:00
Anna Kozlova 574577fe73 introduce functional parameter: do not fold as functional interface creation would be in the place where local vars are not available 2015-01-15 10:25:52 +01:00
Anna Kozlova 55e83bf6e5 deep parameter delete: allow delete parameter when caller method has complex expression as argument 2015-01-15 10:25:51 +01:00
Roman Shevchenko f213be4fa7 Cleanup (JRT classes moved to a separate package) 2015-01-14 19:47:45 +01:00
Roman Shevchenko 8ffbe49193 IDEA-134641 (refresh on .jimage files update) 2015-01-14 19:47:44 +01:00
peter cccd245a5f IDEA-134518 Insert "instanceof" completion variant on typing "!" (exclamation mark) 2015-01-14 18:55:22 +01:00
peter 3ad0612c6a restore autopopup after typing # in javadoc (IDEA-135231) 2015-01-14 17:58:35 +01:00
peter b7b2c6db51 Merge remote-tracking branch 'origin/master' 2015-01-14 16:06:30 +01:00
peter e485a2fc91 dfa: annotation inference suppression is different from honoring package-level defaults, so split them 2015-01-14 15:54:34 +01:00
Egor.Ushakov 5a24769ec5 do not normalize "at breakpoint" thread state 2015-01-14 17:45:22 +03:00
Anna Kozlova 73239255ec disable add exception to catch/generalize catch inside functional interface inside try statement (IDEA-135171) 2015-01-14 13:25:03 +01:00
Anna Kozlova f90ba61bcf code cleanup also for code generation on completion 2015-01-14 13:25:02 +01:00
Roman Shevchenko af61161c1e IDEA-134641 (modular JDK recognition and indexing) 2015-01-14 12:50:05 +01:00
Roman Shevchenko 2a8ecbc6f3 Cleanup (formatting; explicit assertions; dead code) 2015-01-14 12:50:02 +01:00
Anna Kozlova 495b152d2c implement interface inside java 8+ interface should create default methods (IDEA-135105) 2015-01-13 20:55:45 +01:00
Anna Kozlova 532b21f088 disable create subclass for scratch files (IDEA-135161) 2015-01-13 20:55:44 +01:00
peter 9358cdd8b2 IDEA-135162 Smart Completion proposes nothing in catch statements 2015-01-13 17:11:51 +01:00
Anna Kozlova 0074de3fa9 generate equals/hashCode: ensure one @Override is inserted; extensions could also provide their annotations on equals/hashCode override;
tests: language level is 1.5 though jdk is mockJdk14 without @Override as expected -> fqns in test data
2015-01-13 16:18:30 +01:00
Anna Kozlova 20f7213e03 generate equals/hashCode: do not show @NotNull step for templates without notNull check 2015-01-13 16:18:28 +01:00
Anna Kozlova cd2d451fba generate equals/hashCode: sort primitive fields up and leave natural ordering (IDEA-21339) 2015-01-13 16:18:27 +01:00
Anna Kozlova 5373392483 generate equals/hashCode: pass wildcards as type arguments when needed (IDEA-127939) 2015-01-13 13:34:10 +01:00
Anna Kozlova 04b8cf4aa5 generate equals/hashCode: allow getters (IDEA-73860) 2015-01-13 12:48:00 +01:00
Anna Kozlova fb9a5e8ff7 extract method parameters suggester: change method copy context so calls inside method body could be resolved (aClass..getTypeParameterList() passed inside MethodElement.copyElement && aClass.processDeclarations implementations together cause that method calls to same class members can't be resolved); teach DuplicatesFinder to work on non-physical elements with correct context 2015-01-12 21:13:33 +01:00
Anna Kozlova d1662081b6 Merge remote-tracking branch 'origin/master' 2015-01-12 18:31:59 +01:00
Anna Kozlova 268171ca99 generate equals/hashCode: use special loader to include by short name 2015-01-12 18:07:59 +01:00
Anna Kozlova 15919a000d generate equals/hashCode: remove checks for static fields as statics are already excluded from $members 2015-01-12 18:00:30 +01:00
Anna Kozlova 958d48c84d generate equals/hashCode: catch exceptions from invalid templates 2015-01-12 17:49:55 +01:00
Anna Kozlova aab113eeab generate equals/hashCode: template for java.util.Objects; treat super.hashCode 2015-01-12 17:37:39 +01:00
Anna Kozlova 1aea6bd2b3 generate equals/hashCode: tests for apache/guava templates 2015-01-12 17:25:52 +01:00
Anna Kozlova b6f4a751cc generate equals/hashCode: ui to configure additional templates 2015-01-12 17:05:03 +01:00
Anna Kozlova 8ad2ec468a generate equals/hashCode: provide apache/guava templates; allow to choose between them; 2015-01-12 13:16:26 +01:00
Andrey Starovoyt 9ebf51b1fe simplification postfix templates. Remove reference to PostfixTemplatePsiInfo for PostifxTemplateWithExpressionSelector 2015-01-12 12:43:55 +03:00
Anna Kozlova 3b0196d4a3 deep make method static: do not suggest already static methods 2015-01-12 09:24:32 +01:00
Roman Shevchenko 2299ac0d86 Merge remote-tracking branch 'origin/master' 2015-01-09 21:11:09 +01:00
Roman Shevchenko 0eaf454a3a Cleanup (formatting; explicit assertions; dead code) 2015-01-09 21:09:27 +01:00
Anna Kozlova 0ee564a95e generate equals/hashCode: use velocity templates 2015-01-09 21:02:03 +01:00
peter aa26b292d2 optimize imports 2015-01-09 19:17:31 +01:00
peter f6f49b6b5e not ignoring non-dumb-aware CopyPastePostProcessor-s (EA-63633) 2015-01-09 19:06:39 +01:00
peter e897c75cb5 JavaRunConfigurationPathMacroFilter -> java-impl module 2015-01-09 18:05:50 +01:00
peter 1e6ebba27a perform slow alternative resolve during copy/paste 2015-01-09 17:45:00 +01:00
Anna Kozlova 780d216424 generate toString: ensure default templates available 2015-01-09 12:29:08 +01:00
Anna Kozlova 5feebe5389 prepare equals/hasCode to use velocity templates 2015-01-09 10:27:57 +01:00
Anna Kozlova c9451d87fb org.jetbrains.generate.tostring -> org.jetbrains.java.generate; remove StringUtil 2015-01-09 10:27:54 +01:00
Anna Kozlova 51971c4a7a wrap return value: teach inference (IDEA-135027) 2015-01-08 19:54:18 +01:00
Anna Kozlova 23379055b0 move class to upper level: ensure default class comment formatted (IDEA-134948) 2015-01-08 13:16:41 +01:00
Anna Kozlova 777397d0d2 LambdaHighlightingUtil removed from java-psi-api 2015-01-07 16:37:40 +01:00
Anna Kozlova e71f91a880 EA-63611 - assert: JavaSharedImplUtil.normalizeBrackets 2015-01-05 20:09:47 +01:00
peter 5a5f2b7541 IDEA-131899 Writing Javadoc does not automatically trigger hinting / auto-completion
autopopup in parameter names
2015-01-05 19:53:48 +01:00
peter 192f18bb1e IDEA-134472 Code completion does not offer variable names that match field names 2015-01-05 16:09:08 +01:00