Commit Graph

180 Commits

Author SHA1 Message Date
Anna.Kozlova 2464532a56 fix testdata due to changes in defaults 2017-03-15 16:18:57 +01:00
Roman Shevchenko 74daf8d522 [java] improves "unsupported language level" message (IDEA-168859) 2017-03-06 11:27:27 +01:00
Anna.Kozlova 5328c5fa2c final field initialization: don't treat anonymous args as inner classes (IDEA-168651) 2017-03-06 10:28:45 +01:00
Anna.Kozlova 968d14a5db Revert testdata changes: Proper focus requests through the IDE focus subsystem. Part II. 2017-02-21 21:25:26 +01:00
Denis Fokin 556290b406 Proper focus requests through the IDE focus subsystem. Part II. 2017-02-21 21:06:22 +03:00
Roman Shevchenko 66728e4f71 [java] invalid "for" statements highlighting (IDEA-167353) 2017-02-06 19:02:05 +01:00
Anna.Kozlova 7356d1d8c3 used variable before static initializer (IDEA-166270) 2017-01-09 18:15:16 +01:00
Anna.Kozlova 08163051f3 show class/package conflict only if corresponding subdirectory contains classes so there could be usages with ambiguous imports 2016-12-15 14:48:27 +01:00
Anna.Kozlova 5732b8fb81 ensure static fields/static initializers are evaluated before instance fields (IDEA-165084) 2016-12-07 11:18:47 +01:00
Pavel Dolgov 2f5e954770 Java: Fixed false positive "unreachable statement" in the control flow analysis (IDEA-164442) 2016-11-30 13:04:34 +03:00
Vladimir Krivosheev db8926c1b9 fix test data — remove inherit-compiler-output="false" 2016-11-04 16:32:30 +01:00
Roman Shevchenko ba9de6eb7f Cleanup (warnings; formatting) 2016-09-16 10:39:39 +03:00
Alexey Kudravtsev 8b2f420ab3 IDEA-151933 Optimize Imports can produce ambiguous code 2016-09-07 14:12:33 +03:00
Alexey Kudravtsev 11a4ede7a5 highlight names: do not highlight in huge chunks because there maybe whitespaces or comments between tokens; instead, highlight identifiers only 2016-08-23 14:54:58 +03:00
Alexey Kudravtsev 5fa79bc4e1 test 2016-08-23 14:49:38 +03:00
Anna Kozlova 6fdc29ee24 highlight comments inside qualified names (IDEA-154450) 2016-08-15 20:17:11 +03:00
Anna Kozlova 8a0c63df61 names highlighting: don't highlight typed reference as class name (IDEA-65270) 2016-08-15 20:17:11 +03:00
Pavel Dolgov d92688892f Java control flow: Fixed false positive for definite assignment in finally block - more lightweight implementation (IDEA-64488) 2016-08-03 12:47:42 +03:00
Pavel Dolgov cb2dfeb368 Java control flow: Fixed false positive for definite assignment in finally block (IDEA-64488) 2016-08-01 20:19:49 +03:00
Bas Leijdekkers 46e4268b8f Fixed "Variable assigned to itself" quickfix (IDEA-148688) 2016-08-01 17:13:28 +02:00
Pavel Dolgov 7b97664b85 Java control flow: Detect unreachable code when a break or continue in the try block is overridden in the finally block of the same try statement (IDEA-35597) 2016-07-29 14:54:49 +03:00
Pavel Dolgov 8c2803eedc Java control flow: Handle the case where the variable from the left part of a compound assignment is modified in the right part of the same assignment (IDEA-23725) 2016-07-25 13:36:21 +03:00
Pavel Dolgov 2be74e8c45 Java control flow: Added conditional branch that bypasses assert statement because assertions can be disabled (IDEA-71526) 2016-07-22 14:58:35 +03:00
Alexey Kudravtsev db48c64473 use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests 2016-07-20 15:47:18 +03:00
Anna Kozlova 7896eddc3b this and super are not available inside anonymous class args 2016-07-01 12:44:39 +03:00
Anna Kozlova 2f550f3ba0 revert (IDEA-157631) 2016-06-20 14:02:29 +03:00
Anna Kozlova cb071c57a6 reject imports from default package (IDEA-138822; IDEA-154024) 2016-06-06 20:12:56 +03:00
Anna Kozlova 5f7200897e ambiguous constants references: shadowing (IDEA-146058) 2016-06-06 20:12:56 +03:00
Anna Kozlova e90277c07e inheritance with checkDeep=false & anonymous fixed (IDEA-151341) 2016-06-06 12:01:33 +03:00
Anna Kozlova c09e6aa438 isLocalClass should work for nested local classes (IDEA-156777) 2016-05-30 20:01:09 +03:00
Alexey Kudravtsev 13c9f95b50 register Java fields referenced from injected fragments as read/written 2016-05-24 15:23:25 +03:00
Roman Shevchenko 10ed658de9 [platform] illegal character highlighting: updated message and test data (IDEA-CR-10947) 2016-05-24 12:32:39 +02:00
Roman Shevchenko 3cb98099d8 [java] illegal character highlighting (IDEA-144046) 2016-05-20 17:49:09 +02:00
Anna Kozlova dbe1598e9f highlight implicit constructor call as method (IDEA-152964) 2016-05-11 16:05:47 +02:00
Anna.Kozlova 56a3a1ffa4 move operator assignment check for object to javac quirks inspection with fix (IDEA-154209) 2016-04-06 17:15:12 +02:00
Anna.Kozlova d935cfd941 change error message (IDEA-153156) 2016-03-22 19:37:27 +01:00
Anna Kozlova f8e59f5965 not a statement -> declaration not allowed here (IDEA-152090) 2016-02-24 13:12:24 +01:00
Anna Kozlova 930df16f98 inference: propagate variable renames through the call hierarchy; calculate tooltips in tests (IDEA-151948) 2016-02-22 20:05:58 +01:00
Alexey Kudravtsev 86b6ee7f18 folowup to IDEA-149950: changed "package local" to JLS-conformant "package-private" 2016-02-18 13:53:04 +03:00
Alexey Kudravtsev 05de8796ca IDEA-149950 Bad typo in "Declaration access can be weaker" inspection 2016-02-17 14:38:41 +03:00
Rustam Vishnyakov 7144e23b77 Fix test data (default color for class/interface names is black, not undefined) 2016-01-22 18:48:26 +03:00
Anna Kozlova cde4b88ba3 testdata for IDEA-67808 2015-12-07 10:35:33 +01:00
Bas Leijdekkers a20691e9c4 IDEA-26291 (Small error in "variable is assigned to itself" inspection) 2015-12-01 19:11:41 +01:00
Roman Shevchenko a1f7aa76fb [java] highlighting for incorrect first statement in switch (IDEA-148514) 2015-11-30 18:48:32 +01:00
Roman Shevchenko 2c2b27fc5d Cleanup (formatting; typos) 2015-11-30 18:32:01 +01:00
Anna Kozlova e27c654b20 silly assignment: ignore non-trivial casts involving primitives (IDEA-146830) 2015-10-27 19:35:20 +01:00
Alexey Kudravtsev 59e0751e2c cleanup 2015-07-24 16:54:15 +03:00
Alexey Kudravtsev 9e99eabbb6 IDEA-141923 Errors in for-each statement header aren't highlighted if there're errors in its body 2015-06-26 14:42:13 +03:00
Anna Kozlova 6ca09678c2 allow navigation to not accessible fields when they are used inside reference chain 2015-02-17 14:58:59 +01:00
Anna Kozlova 65064ac053 include InterruptedException into mock1.7 testdata fixed 2015-01-22 13:05:05 +01:00