Commit Graph
12210 Commits
Author SHA1 Message Date
peter b52aba08d7 CreateSwitchIntention shouldn't throw on malformed strings 2018-07-25 09:02:54 +02:00
Andrey Dernov c5e9cc83c2 Inline refactor (IDEA-CR-34554) 2018-07-24 16:12:15 +03:00
peter 0ced42c18e raise performance test expected times to reduce flakiness 2018-07-24 12:23:16 +02:00
Dmitry Batrak fb8a15b92d fix Tab not working to move between completion parameters for a call inside another call 2018-07-24 10:32:37 +03:00
Anna.Kozlova 16f0977481 diamonds: simulate resolved constructor with generated static factory (IDEA-195813) 2018-07-23 19:20:55 +02:00
Anna.Kozlova 2cc2fb05eb integration tests: ensure maven repository configured 2018-07-23 19:20:54 +02:00
Alexey Kudravtsev 014ef3fa50 cleanup 2018-07-23 17:46:01 +03:00
Dmitry Jemerov 9df150a08a Retype: finally defeat typed handlers, retype only parts of large files 2018-07-23 16:19:19 +02:00
Pavel Dolgov 3e7bc47796 Java: Don't fold the whole extracted expression - simplified the fix (IDEA-195927) 2018-07-23 16:44:10 +03:00
peter d0504c9ee6 don't modify shared project roots in some java light tests 2018-07-23 15:08:10 +02:00
Pavel Dolgov c0f7044cd0 Java: Don't fold the whole extracted expression (IDEA-195927) 2018-07-23 15:40:29 +03:00
Roman.Ivanov 8f1873cbcf CreateTypeParameter: don't suggest fix inside type parameter IDEA-195832 2018-07-23 10:58:21 +07:00
Alexey Kudravtsev 90681c922b cleanup 2018-07-22 14:20:49 +03:00
Dmitry Jemerov a36c018c11 Retype: better results presentation, fixed a couple more desync cases, add failing test 2018-07-20 18:55:57 +02:00
Dmitry Batkovich c0100c98d7 unused declaration: add test for static import (IDEA-143882) 2018-07-20 17:52:45 +03:00
Roman.Ivanov 0e2e2c7255 Inlay parameter hints: add hints for enum constructors and new expressions: IDEA-195733 2018-07-20 16:45:09 +07:00
Anna.Kozlova 4db54ee6e5 enable univocity property test on TC 2018-07-19 19:03:33 +02:00
peter f5f3df2ba3 RedundantLambdaParameterTypeInspectionTest: don't change shared module sdk
to prevent subsequent test failures (ChooseByNameTest)
2018-07-19 15:50:28 +02:00
peter 5e738e1c63 RedundantLambdaParameterTypeInspectionTest: don't change shared module sdk
to prevent subsequent test failures (ChooseByNameTest)
2018-07-19 15:46:12 +02:00
Roman Shevchenko c1340c48ad [java] upgrade module path: resolve (IDEA-189693)
Uses relative location of files on module dependency list to disambiguate upgradeable modules.
2018-07-19 14:51:58 +02:00
Roman Shevchenko 31b5699978 [java] removes incorrect accessibility error (IDEA-187250)
... when IDEA thought that a class is in an inaccessible JDK module, while in fact there is an upgrade on the classpath.
2018-07-19 10:36:12 +02:00
peter 7abaf7e4df skip known faulty intention in mad testing 2018-07-19 09:52:01 +02:00
peter 4886adccf5 unify finishing lookup behavior for templates & completion (IDEA-195114) 2018-07-17 18:46:16 +02:00
Dmitry Batrak ef01d133bc IDEA-195668 Do not show completion hints in improper context 2018-07-17 15:05:49 +03:00
peter fcb2b87c78 fix inconsistency when adding a package statement into file with broken package 2018-07-17 13:26:18 +02:00
Anna.Kozlova 13b3a8675a inline local: don't enable short circuit when detecting refs/defs (IDEA-195332) 2018-07-17 12:43:01 +02:00
Roman Shevchenko 547f2b3967 [java] skips reference check for array annotations (IDEA-195612) 2018-07-16 18:13:38 +02:00
Anna.Kozlova 639541922f skip actions known to fail 2018-07-16 17:56:51 +02:00
peter 94db86e3ab ignore 'Add "use strict" pragma' intention in sanity tests for now (IDEA-187427) 2018-07-16 16:15:38 +02:00
Anna.Kozlova 32509216db skip intentions which set temp code style settings and sweep away settings configured in tests 2018-07-16 15:08:57 +02:00
Alexey Kudravtsev 4a5c845418 compilation: OMG Groovy let me down again 2018-07-16 15:56:37 +03:00
Anna.Kozlova 23e9412db6 non reifiable types: erase to avoid illegal generics array creation (IDEA-195562) 2018-07-16 13:56:54 +02:00
Anna.Kozlova 378ea0e334 don't fail to attach fixes on invalid code
EA-122929 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
2018-07-16 10:43:52 +02:00
Dmitry Batrak dfe8f283a9 place missing comma(s) when caret is put between completion hints 'manually' (IDEA-178659) 2018-07-16 10:49:09 +03:00
Andrey Dernov 2c580d4996 Moved not java-specific test to general templates tests (IDEA-CR-34554) 2018-07-16 08:46:29 +03:00
Dmitry Avdeev c8478ab534 copyright 2018-07-13 17:14:56 +03:00
Dmitry Avdeev 2489eb0354 test mpved to community 2018-07-13 16:55:44 +03:00
peter 29e9e20bf9 StubAstSwitchTest: less gc's to hopefully reduce flakiness 2018-07-13 08:41:29 +02:00
Anna.Kozlova f21f78af39 introduce variable: don't duplicate comments (IDEA-195399) 2018-07-12 19:01:03 +02:00
Alexey Kudravtsev 84a271344c cleanup 2018-07-12 13:56:43 +03:00
Tagir Valeev 867968eea8 DeclarationJoinLinesHandler: more careful precedence fix (IDEA-CR-34859) 2018-07-12 17:20:20 +07:00
Tagir Valeev fa71413378 Revert "DeclarationJoinLinesHandler: respect precedence for both initializer and right-hand operand"
This reverts commit 7730b97e (IDEA-CR-34859)
2018-07-12 17:20:20 +07:00
Anna.Kozlova 6f0ea5d586 fix case for excluded action 2018-07-12 11:35:33 +02:00
Anna.Kozlova 7f79852971 disable Override method intention for constructor 2018-07-12 11:35:33 +02:00
Dmitry Batrak 967154badb avoid text jumping when moving to next completion parameter (IDEA-178659)
adjust width of hint with comma, so that when it's replaced with normal hint and real comma is inserted, line width isn't changing
2018-07-12 11:51:55 +03:00
Tagir Valeev 86918930ac DFA: add missing box/unbox conversions 2018-07-12 15:24:18 +07:00
Tagir Valeev 583f188ef6 ControlFlowAnalyzer: repeat unboxing for every case label if necessary
Without this it was possible (at least on the incorrect code) that boxed and unboxed classes for the same value get united, which in turn caused repeating entry in DfaMemoryStateImpl#myIdToEqClassesIndices, which could cause NPE when performing successive flush for given variable.
Now we throw directly at classes unification attempt to catch illegal state earlier
Fixes EA-118152 - IAE: EqClass.$$$reportNull$$$
2018-07-12 13:07:16 +07:00
Tagir Valeev 7730b97ee4 DeclarationJoinLinesHandler: respect precedence for both initializer and right-hand operand
Fixes IDEA-195416 Join lines over arithmetic operations should preserve order
Also StreamApiMigrationInspection#getOperationSign moved to TypeConversionUtil#getBinaryOperationText and reused
2018-07-12 11:26:49 +07:00
Anna.Kozlova 821bfec7dc disable javadoc actions in property tests 2018-07-11 19:35:01 +02:00
Anna.Kozlova 0f232187f3 guarded by inspections: don't fail on invalid code
EA-124454 - SIOOBE: JCiPUtil.getGuardValue
2018-07-11 19:35:00 +02:00