Commit Graph
8966 Commits
Author SHA1 Message Date
Rustam Vishnyakov a8b4cf3c5e Wrap on typing option for Java 2015-07-30 19:31:30 +03:00
Eugene Zhuravlev f4e9caeb35 enable reference search and highlighting in java scratches 2015-07-30 15:24:26 +02:00
Alexey Kudravtsev 99a0bede9f converted to walking visitor 2015-07-30 14:56:54 +03:00
Alexey Kudravtsev c436545563 optimisation: do not run injections for empty string literals 2015-07-30 14:56:38 +03:00
Egor.Ushakov f52dcec1c4 new constructor for RowIcon 2015-07-30 12:10:40 +03:00
peter d1106ea870 an ability to turn off gutter icons for annotations inferred from source (IDEA-135399) 2015-07-29 20:27:12 +02:00
Dmitry Batkovich ea47e2fe30 GuavaFluentIterableInspection: visitor moved to checkFile() + fixed findContainingMethodReturnType() method when expression is placed inside lambda expression 2015-07-29 15:12:59 +03:00
Dmitry Batkovich 59b2489f39 cleanup 2015-07-29 12:46:12 +03:00
Dmitry Batkovich e6e3e5fa44 GuavaFluentIterableInspection: used thread-safe collections as final fields in visitor 2015-07-29 12:44:18 +03:00
nik ef1f9f2d46 fixed usage type for static fields and methods (IDEA-143229) 2015-07-29 12:13:08 +03:00
nik 33e3f1727d unused code removed 2015-07-29 12:13:08 +03:00
peter fb98ebd7c8 IDEA-141164 Ability to generate code inferred annotations
abort when the file is non-writable
2015-07-29 11:08:38 +02:00
nik e264f028e9 unused deprecated methods removed 2015-07-29 10:23:25 +03:00
nik 3338d30023 add dependency on external library quick-fix: API simplified, duplicated code removed 2015-07-29 08:31:13 +03:00
peter 757b852370 IDEA-141164 Ability to generate code inferred annotations 2015-07-28 15:44:35 +02:00
Dmitry Jemerov 5b09349067 allow plugins to associate userdata with a JavaChangeInfo 2015-07-27 16:29:41 +02:00
Anna Kozlova b5d792a550 method duplicates: check all outer classes for hierarchy inheritance not to make resulted method static 2015-07-27 14:20:21 +02:00
Anna Kozlova 28b9986538 guava inspection: avoid recursive visitor in inspection 2015-07-27 14:20:19 +02:00
Vladislav.Soroka 4b7bfa8691 external system: removed weird ExternalSystemApiUtil.isNewProjectConstruction method; isOneToOneMapping method moved to api; make non-mandatory to provide JavaProjectData model form external system 2015-07-27 13:07:14 +03:00
Anna Kozlova 7a354b3c7f java test finder: ignore non-physical elements to avoid finding PsiClassWrappers from scala (IDEA-142371) 2015-07-24 21:40:50 +02:00
Anna Kozlova 7dccc9eaae test navigation: ensure same tests are not found twice (IDEA-142371) 2015-07-24 21:40:48 +02:00
Anna Kozlova 84df42b021 switch on 'introduce' refactorings for quick list if there is no selection but there are expressions in context 2015-07-22 19:38:49 +02:00
Roman Shevchenko fe7ba298f6 Merge remote-tracking branch 'origin/master' 2015-07-22 18:26:08 +02:00
Anna Kozlova 20db2fdffc extract method: wording to make clear that extract would proceed 2015-07-22 16:30:38 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Dmitry Batkovich f7bac878d2 guava fluent iterable inspection doesn't work for java < 8 2015-07-22 15:30:37 +03:00
Dmitry Batkovich 80ef611860 Pseudo functional style inspection: 1. options list listeners fixed 2. validation by method return type fixed 2015-07-22 15:18:54 +03:00
Vladimir Krivosheev ac76a83f88 notnull 2015-07-22 09:57:26 +02:00
Roman Shevchenko 6296977fea Cleanup (formatting) 2015-07-22 09:22:33 +02:00
Anna Kozlova 750623ce40 replace implements with static import: check writable status for all files to modify (EA-70730 - IOE: CheckUtil.checkWritable); show progress while searching for constants; optimize imports in changed files 2015-07-21 21:05:00 +02:00
Anna Kozlova d45156307d create test: don't check attached libraries for preselection if current module doesn't have test sources anyway 2015-07-21 21:04:56 +02:00
peter 8812433d88 MethodCallFixer: remove code not covered by tests 2015-07-21 19:48:25 +02:00
peter 493606487a java&groovy completion: improve locality by checking item objects as they appear 2015-07-21 15:28:56 +02:00
peter 81081c0ff3 java/groovy completion: reference method overloads via smart pointers to avoid AST leaks 2015-07-21 09:53:37 +02:00
Anna Kozlova a94e79baff generate constructor: place varargs from base constructor as last parameter (IDEA-142811) 2015-07-21 08:51:12 +02:00
peter d4eebb6401 tolerate malformed fqns in java completion (EA-63095 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText) 2015-07-20 20:18:13 +02:00
peter ad427f768e don't suggest to generate more than 100 property accessors in completion 2015-07-20 17:20:56 +02:00
Alexey Kudravtsev 35488c7a35 cleanup 2015-07-20 15:23:18 +03:00
peter 3241305b74 IDEA-142746 Completion should prefer local variable, not equals() 2015-07-17 15:01:43 +02:00
Anna Kozlova 9735aac8a1 fix goto implementation for method refs based on RefType::identifier (IDEA-142490) 2015-07-16 22:26:58 +03:00
peter 255eb62da9 an internal action that collects java expression statistics to be used in completion 2015-07-16 20:08:47 +02:00
Anna Kozlova 6d08d4d580 push down: insert @Override if configured (IDEA-142456) 2015-07-16 21:04:49 +03:00
Anna Kozlova f2d7ef95a8 forbid @Override if target and source are interfaces and language level is 1.5 2015-07-16 21:04:47 +03:00
nik d423028f81 cleanup 2015-07-16 19:06:55 +03:00
Anna Kozlova 399b97fc1a extract method: don't try to remove annotations during new method creation (IDEA-142672) 2015-07-16 18:28:46 +03:00
Yaroslav Lepenkin 5d3b7de09f minor, removed unnecessary checks 2015-07-16 17:35:19 +03:00
Yaroslav Lepenkin beecae9790 Do not wrap inside href tag in javadoc (IDEA-134377) 2015-07-16 17:27:40 +03:00
Yaroslav Lepenkin 28bedd5275 Do not wrap inside javadoc's @link tag 2015-07-16 17:27:39 +03:00
Anna Kozlova 931a6697ec open all files in editor after copy/move (IDEA-142630) 2015-07-16 16:57:51 +03:00
Vladislav.Soroka 3d4325af94 quick fixes: MissingDependencyFixProvider code cleanup 2015-07-16 13:23:17 +03:00