Commit Graph
6910 Commits
Author SHA1 Message Date
Anna Kozlova a73d1238ff testdata for IDEA-147511 2015-11-06 16:21:29 +01:00
peter 96431dd854 IDEA-147454 Smart completion add parentheses to class declaration in throws statement 2015-11-06 16:07:41 +01:00
Roman Shevchenko 77f160ec5e [java] type annotations in method return type (IDEA-147494) 2015-11-06 14:57:53 +01:00
Yaroslav Lepenkin 5ebfec4ec8 performance test: increased time for hot file indent detection 2015-11-06 16:26:53 +03:00
Dmitry Batkovich e8805cb2cc "initialize variable" & "initialize in constructor" suggests default constructors (with inheritor's if collection) (IDEA-145431) 2015-11-06 15:56:50 +03:00
Yaroslav Lepenkin a7b28ab901 Do not run indent detector in any way in viewer mode 2015-11-06 12:11:08 +03:00
Yaroslav Lepenkin 99a0860b19 Indent detector performance test: test separately hot and cold files 2015-11-05 20:06:32 +03:00
Anna Kozlova b52bf6b5c0 compare primitive types with equals as type annotations could spoil them (IDEA-147399) 2015-11-05 17:30:30 +01:00
Yaroslav Lepenkin 012f5dfa12 (IDEA-147380) Change indent size and continuation indent size only if tab usage detected and use tabs was switched off 2015-11-05 18:47:16 +03:00
Yaroslav Lepenkin 33df057719 Recent tests: changed tests order - passed tests is added only if it is suite; first comes failed test group, last comes passed test group 2015-11-05 18:47:14 +03:00
Anna Kozlova 6e853bf571 new inference: stop at first common supertypes pair during incorporation of upper bounds (IDEA-147393) 2015-11-05 15:24:18 +01:00
peter 4cac3b6b78 IDEA-147313 Adding @NotNull in front of a method parameter and finishing lookup with Space inserts 2 spaces 2015-11-04 16:51:15 +01:00
Anna Kozlova 94e3eb2c04 compound filter from filters chain (IDEA-146147) 2015-11-04 15:52:15 +01:00
Anna Kozlova ae4b083aec split compound filter into filters chain (IDEA-146147) 2015-11-04 15:52:15 +01:00
Yaroslav Lepenkin c4b627c4f8 WI-29572 When detecting tab usage set continuation indent size to tab size * ratio between continuation and regular indent sizes 2015-11-03 19:29:27 +03:00
Anna Kozlova 2d21b7777e method reference: don't start containing class parameter type inference for receiver-reference; corresponding substitutor should be already known (IDEA-146604; IDEA-147223) 2015-11-03 17:10:58 +01:00
Yaroslav Lepenkin 463239b0b1 Allow to detect indent sizes only for files where 80 percent of lines are indented with spaces (WI-25986) 2015-11-03 16:52:49 +03:00
Yaroslav Lepenkin 6ed6a1d5fe Attempt to fix blinking performance test, now is checked indent detection time relatively to file read time 2015-11-03 14:06:14 +03:00
peter d82b8fa9b3 don't return anything from SmartPointerManager.removePointer; it's not used anyway 2015-11-03 11:22:14 +01:00
Roman Shevchenko 6569cee283 [java] type element cache migrated to cached value (IDEA-147214, EA-74650) 2015-11-03 10:57:40 +01:00
Anna Kozlova 2494b5f632 test that PsiTYpeElementImpl doesn't clear cache on commit document (for Roman) 2015-11-02 15:29:42 +01:00
Anna Kozlova d7f768366b fix testdata 2015-11-02 15:29:42 +01:00
Anna Kozlova 41916174b6 return Object if denotable type is needed for functional expression (e.g. lambda expression) type
EA-75552 - IOE: PsiElementFactoryImpl.createField
2015-11-02 15:29:42 +01:00
Anna Kozlova 62cc281a3d disable lambda -> methref for qualified new expressions (IDEA-147054) 2015-10-29 19:40:11 +01:00
Anna Kozlova 2f4fddec5a introduce constant: add constant to destination class (IDEA-146787) 2015-10-29 19:40:10 +01:00
Dmitry Batrak 918e089a0b enable editor.new.rendering by default 2015-10-29 16:13:17 +03:00
peter 5ce2ec9cb2 smartPointer.get(Psi)Range should be not-null for valid pointers; fix related data race (EA-74922 - assert: TextRange.<init>) 2015-10-29 11:27:40 +01:00
peter a5f77a83e4 make NotNullVerifyingInstrumenterTest walk file system deterministically 2015-10-28 20:03:33 +01:00
Anna Kozlova 543e5f3cdf remove this qualifier on anonym -> method ref fix 2015-10-28 19:45:32 +01:00
Sergey Ignatov 063bb7a480 go to action action: fix the test for sorting by length and add a test for sorting by mode 2015-10-28 20:18:38 +03:00
Dmitry Batkovich 9fa1a082f3 old guava inspection removed 2015-10-28 20:00:33 +03:00
Dmitry Batkovich 713a1289c7 IDEA-146770 Suggest Math.toIntExact to convert long to int 2015-10-28 19:55:14 +03:00
peter 29b95875b9 don't instrument bridge methods for @NotNull (IDEA-146977) 2015-10-28 17:03:44 +01:00
Anna Kozlova b12b47c2ea ignore most specific check if parameter count were not matched at all
EA-75076 - AIOOBE: InferenceSession.isMoreSpecific
2015-10-28 16:05:07 +01:00
Anna Kozlova 5d98d49ecf ensure denotable types 2015-10-28 16:05:05 +01:00
Anna Kozlova 1420ac66b8 testdata for EA-53634 - assert: PsiWildcardType.createSuper 2015-10-28 16:05:03 +01:00
Anna Kozlova f894921d1c don't warn about unimplemented Iterator.remove for type parameters 2015-10-28 16:05:02 +01:00
peter 27271e9979 dfa: IDEA-146950 "<" expr is always false but "<=" is not 2015-10-28 14:02:36 +01:00
Alexey Kudravtsev f9547c2ece do not suggest org.jruby.util.ShellLauncher.ChannelPumper when find usages of "Thread.start" 2015-10-28 14:55:39 +03:00
Sergey Ignatov d04d95a2fe code cleanup 2015-10-28 14:40:08 +03:00
Sergey Ignatov 41a7b85d6b fix UsagesInAnalyzingDependenciesTest 2015-10-28 14:40:07 +03:00
Sergey Ignatov 544ef93002 code cleanup 2015-10-28 14:40:06 +03:00
Sergey Ignatov b7fc0ed2fc fix SliceTreeTest.java 2015-10-28 14:40:05 +03:00
Yaroslav Lepenkin de85aff25d Provided way to align subsequent simple methods 2015-10-28 12:31:12 +03:00
Anna Kozlova 5c8c069685 make static: ensure @Override is cleared from static method (IDEA-146872) 2015-10-27 19:35:21 +01:00
Anna Kozlova e27c654b20 silly assignment: ignore non-trivial casts involving primitives (IDEA-146830) 2015-10-27 19:35:20 +01:00
Anna Kozlova 40db0beb8d make method static: fix delegate parameter place (IDEA-146900) 2015-10-27 19:35:18 +01:00
Anna Kozlova 583b5af087 introduce variable: remove reference to created variable if declaration was inserted inside loop body (IDEA-146842) 2015-10-27 19:35:17 +01:00
Dmitry Avdeev 13b3807166 IDEA-146849 IntelliJ hangs for 30+ seconds with large Android project after leaving and returning... 2015-10-27 16:31:39 +03:00
Anna Kozlova dfb190bfe0 empty methods hierarchy: warn about deepest methods, top empty could be of use (IDEA-146409) 2015-10-27 10:04:09 +01:00