Commit Graph
33383 Commits
Author SHA1 Message Date
Pavel Dolgov 7394c8123f Java: Fixed mnemonic in Extract Method preview (IDEA-190179) 2018-04-18 13:55:05 +03:00
Tagir Valeev b1ef6ec700 IDEA-177466 Detect list.remove(int index) called in a loop 2018-04-18 17:22:30 +07:00
Tagir Valeev ea72e1d05a JavaPsiMathUtil#add created & used; JavaPsiMathUtil#simplifyComparison 2018-04-18 17:22:29 +07:00
anstarovoyt 2fcc7ff4d4 ts editable postfix templates 2018-04-18 15:18:47 +05:00
Vitaliy.Bibaev 0309d1d5d4 Fix broken Memory View actions 2018-04-17 22:15:29 +03:00
Anna.Kozlova 13d2e4e4dd raw string literals: keep multiple tics at start pos sync with closing
IDEA-CR-31851
2018-04-17 18:23:42 +02:00
Anna.Kozlova 42d204757e treat type parameter array upper bounds (IDEA-190380) 2018-04-17 18:23:41 +02:00
peter e45f94c07d java completion: don't deselect TreeMap (IDEA-189544)
it wasn't preselected because there were 8 signatures "to implement",
coming from Map default methods
2018-04-17 18:12:28 +02:00
Sergey Malenkov 073d48d591 IDEA-189793: update package root node if top-level package is changed 2018-04-17 17:55:54 +03:00
Dmitriy.Panov add3ecbb05 show discovered tests action: search by methods fixed 2018-04-17 17:50:55 +03:00
Pavel Dolgov 014bb16e62 Java: Cosmetic UI improvements in Extract Method preview (IDEA-190179) 2018-04-17 17:05:50 +03:00
anstarovoyt 4bef18ddad editable postfix templates: reduce generic count 2018-04-17 18:43:00 +05:00
Rustam Vishnyakov 9266c05e9a Migrate non-default global WRAP_COMMENTS option to Java code style
for versions prior to 2017.3. See IDEA-189746
2018-04-17 16:35:36 +03:00
Daniil Ovchinnikov 5516234bd1 [jvm-lang] deprecate JvmModifiersOwner#getModifiers
Also remove JvmModifier#EMPTY_ARRAY
2018-04-17 16:28:06 +03:00
anstarovoyt 9462c82d23 postfix templates: extract common classes for js 2018-04-17 18:24:35 +05:00
Daniil Ovchinnikov 306aab48bb [jvm-lang] implement #hasModifier via #hasModifierProperty 2018-04-17 16:19:01 +03:00
Arseny Chernyaev d042461db9 provide ability to reuse basic parts of IDEA memory view 2018-04-17 15:29:11 +03:00
Pavel Dolgov 71566d6310 Java: Improved test for inspection on 'module-info.java' after changes in PSI for static imports 2018-04-17 15:19:48 +03:00
Pavel Dolgov 19112d6a72 Java: Update buttons' state in Extract Method preview (IDEA-190179) 2018-04-17 15:19:48 +03:00
Sergey Malenkov 3ec06905d0 fix expected icon name in test 2018-04-17 13:50:44 +03:00
Tagir Valeev 91b269f9fb CountingLoop: support decreasing loops
Fixes IDEA-190412 Unroll loop action: support decreasing loops
2018-04-17 17:48:00 +07:00
Anna.Kozlova 5ff6f01db9 raw string literal: insert whitespace to avoid literal till end of file
IDEA-190406
2018-04-17 12:05:53 +02:00
Anna.Kozlova 8c5ad98e3a test navigation: ignore whitespaces in signatures
IDEA-189535
2018-04-17 12:05:53 +02:00
Anna.Kozlova 63421b69e7 accepted language levels: don't duplicate entries (IDEA-190370) 2018-04-17 12:05:53 +02:00
Pavel Dolgov 945ae01bc8 Java: Fixed test for inspection on 'module-info.java' after changes in PSI for static imports 2018-04-17 11:54:12 +03:00
Maxim.Mossienko ba45f0396e Avoid deadlock during index cleanup (RUBY-21411) 2018-04-17 10:37:08 +02:00
Tagir Valeev a1a4663b73 CollectMigration: support toUnmodifiableMap
Fixes IDEA-187213 Stream API migration: support Java 10 toUnmodifiableList/Set/Map collections
2018-04-17 15:06:35 +07:00
Tagir Valeev 000f124c33 IDEA-190393 When external annotations are enabled, the action works on local variable, but does nothing 2018-04-17 14:14:44 +07:00
Tagir Valeev e9a41d3abc ControlFlowAnalyzer: use common element from array/list on for-each; cosmetics 2018-04-17 12:46:53 +07:00
Tagir Valeev dd16819fb9 CFGBuilder#assignAndPop, assign 2018-04-17 12:44:35 +07:00
Tagir Valeev 836f11c1f2 DfaValueFactory#createCommonValue 2018-04-17 10:53:58 +07:00
Tagir Valeev 128794aa97 ConditionalGotoInstruction: better toString 2018-04-17 10:53:10 +07:00
Tagir Valeev 7253845d5f DfaMemoryStateImpl: fix sentinel handling 2018-04-17 10:52:38 +07:00
Tagir Valeev a83cedc58a Unroll short Stream.of(...) sequences (up to three elements)
Fixes IDEA-189143 Support unrolling of Stream.of(a, b, c)
2018-04-17 09:49:19 +07:00
Tagir Valeev 19cc2af06d AnnotationUtil#collectSuperParameters: redundant modifier list null-check reverted
Review ID: IDEA-CR-31796
2018-04-17 09:49:18 +07:00
peter b2b723fa44 speedup java class resolve a bit
don't even look for class in on-demand imports when named import matches
2018-04-16 18:59:52 +02:00
Anna.Kozlova c6b5513db2 fix testdata 2018-04-16 18:06:04 +02:00
Anna.Kozlova 48dcb9fe54 split declaration: PIEAE (IDEA-190299) 2018-04-16 16:45:23 +02:00
Rustam Vishnyakov a5863461f9 Cleanup unused imports 2018-04-16 16:35:56 +03:00
Rustam Vishnyakov dacc540d5d Migration to PsiFile-based CodeStyle API 2018-04-16 16:31:26 +03:00
Rustam Vishnyakov e2ba4cbd1e IDEA-CR-31769 Migration to PsiFile-based CodeStyle API
Continued, part 2
2018-04-16 16:11:55 +03:00
Anna.Kozlova 56a3126bb7 typo
IDEA-CR-31776
2018-04-16 14:22:56 +02:00
Anna.Kozlova e34a939d36 raw string literal: paste string with leading/trailing tic 2018-04-16 14:22:55 +02:00
Anna.Kozlova 11baa8cd4b wording (IDEA-CR-31774) 2018-04-16 14:22:55 +02:00
Anna.Kozlova dc184170ac wording (IDEA-CR-31775) 2018-04-16 14:22:55 +02:00
peter aea5af6584 java class inheritor search: avoid expensive super type resolve
if there's only one suitable class with the required name in the project anyway
2018-04-16 13:51:28 +02:00
peter 42e56dca61 java imports: make stub- and AST-based isOnDemand logic the same
fixes occasional ClassCastException: com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl cannot be cast to com.intellij.psi.PsiImportStaticReferenceElement
2018-04-16 13:42:35 +02:00
Pavel Dolgov 70c450d001 Java: Minor UI improvements in Extract Method preview (IDEA-190179) 2018-04-16 14:24:00 +03:00
Roman.Ivanov 8b9195d87b IfStatementWithIdenticalBranches: explicit type for array assignment
IDEA-190203
2018-04-16 18:10:29 +07:00
nik 2bacd8ec40 maven: add missing space in info message 2018-04-16 09:37:31 +03:00