Commit Graph
8865 Commits
Author SHA1 Message Date
Yaroslav Lepenkin ff134eb4fa Small optimization: do not retrieve JavaCodeStyleSettings on each JavaChildWrapArranger#arrange call 2015-07-02 18:49:18 +03:00
Dmitry Batkovich 4a3341e7bd PseudoFunctionStyleMethodInspection: detection of functional type improved 2015-07-02 18:45:40 +03:00
Dmitry Batkovich 526af6f1c1 PseudoFunctionStyleMethodInspection: removed transformation of lambda generating function, fixed most of type parameters issues 2015-07-02 17:09:55 +03:00
Roman Shevchenko 2edb98e34d Merge remote-tracking branch 'origin/master' 2015-07-02 15:53:14 +03:00
Roman Shevchenko 19613ee60e java: receiver parameter vetoed from rename 2015-07-02 15:51:44 +03:00
Dmitry Batkovich ec17f66cf0 Merge remote-tracking branch 'origin/master' 2015-07-02 13:47:15 +03:00
Alexey Kudravtsev bbb6fa6d01 removed diagnostic println 2015-07-02 12:48:44 +03:00
Alexey Kudravtsev 41cb05a58e notnull 2015-07-02 12:48:40 +03:00
Alexey Kudravtsev 863eeb1898 IDEA-141330 Find Usages cannot find valid usage from abstract class 2015-07-02 12:48:38 +03:00
Andrey Sokolov afbe2e0717 FormatPostfixTemplate replace deprecated usage of method shouldRemoveParent with usage of getElementToRemove 2015-07-01 21:28:19 +03:00
Dmitry Batkovich 3e32a3979c PseudoFunctionStyleMethodInspection: settings improved to avoid NPE, disable all panels when no templates wo show 2015-07-01 19:56:18 +03:00
Dmitry Batkovich 507388b7a5 StaticPseudoFunctionalStyleMethodInspection: more clear options, validation of obtained result, part of problems with type parameters are fixed 2015-07-01 14:51:30 +03:00
Rustam Vishnyakov 4298f7aad0 IDEA-72261 configure line wrapping per file or per file type 2015-06-30 16:45:05 +03:00
peter d3c4470889 make dependency tree sorting a bit dumber in dumb mode (EA-66586 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-06-29 19:38:48 +02:00
peter 5dcec02b4c let goto super method icon work in dumb mode (EA-66681 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-06-29 18:05:15 +02:00
peter 2c3e7ef9ae JavaChainLookupElement: throw no assertion, but generate incorrect code (in hope the user will report the scenario) (EA-54418 - Throwable: DebugUtil.currentStackTrace) 2015-06-29 16:59:19 +02:00
Anna Kozlova 962a8853f4 EA-70062 - assert: PsiWalkingState.elementStarted 2015-06-29 15:59:15 +03:00
Anna Kozlova 0291603cac disable static import sfor code fragments (EA-70109 - CCE: AddSingleMemberStaticImportAction.bindAllClassRefs) 2015-06-29 15:59:13 +03:00
Anna Kozlova 3028d3e54a provide context for generated variable declaration: otherwise e.g. language level for generated element would be defined by project language level instead of module one 2015-06-29 15:59:09 +03:00
Bas Leijdekkers 70bb8d4a42 Remove duplicate check from intention 2015-06-29 14:38:50 +02:00
Roman Shevchenko 2d7590996e IDEA-122133 (type annotations skipped from copying into generated parameter) 2015-06-29 14:42:18 +03:00
Roman Shevchenko 07c7b0192e Cleanup (formatting) 2015-06-29 10:50:10 +03:00
Anna Kozlova f1f08c3481 ensure no conflicts on move in module with another jdk (IDEA-139356) 2015-06-26 20:30:58 +03:00
peter a9b74448d2 workaround EA-69274 - NPE: JavaPsiClassReferenceElement.<init> 2015-06-26 15:06:37 +02:00
Alexey Kudravtsev 3a413928f1 notnull 2015-06-26 14:42:18 +03:00
Anna Kozlova db73973674 replace operator assignment with assignment (IDEA-137214) 2015-06-26 12:24:32 +03:00
Roman Shevchenko ae5a28de3e Merge remote-tracking branch 'origin/master' 2015-06-26 10:57:45 +03:00
Anna Kozlova 98713f26a8 introduce constant: don't miss comments (IDEA-140623) 2015-06-25 20:58:22 +03:00
Anna Kozlova c343396fde introduce constant: don't miss comments (IDEA-140623) 2015-06-25 20:58:20 +03:00
Roman Shevchenko fac0134a7d Cleanup (formatting) 2015-06-25 19:32:57 +03:00
peter 775841976e EA-70030 - NPE: DefaultSymbolNavigationContributor.isOpenable 2015-06-25 18:31:56 +02:00
peter df970ed00c stable order of files in jdk classes 2015-06-25 18:30:47 +02:00
peter f1a48ef250 run only dumb-aware usage grouping rules in dumb mode (EA-65019 - INRE: FileBasedIndexImpl.handleDumbMode; IDEA-141160 Indexing prevents "Find in Path") 2015-06-25 17:40:23 +02:00
peter e424052272 workaround EA-69947 - IOE: PsiReferenceExpressionImpl.bindToElementViaStaticImport 2015-06-25 14:05:04 +02:00
nik dbc8a2a4d0 extracted common FileFilter implementation which accepts files with given extension 2015-06-25 11:16:56 +03:00
Anna Kozlova 0ebc041076 copy classes: ensure refs are updated one after another (IDEA-141658) 2015-06-24 20:25:22 +03:00
Anna Kozlova e959aeb230 AIOOBE for groovy (IDEA-141775) 2015-06-24 09:55:35 +03:00
Yaroslav Lepenkin 28a13b77d1 Do not skip blocks outside of formatting range, when building block wrappers. Blocks with alignments will be built and in some cases aligned properly.
Removed FieldInColumnsPreFormatProcessor, because now using CodeStyleManager#reformatWithContext we can reformat not only selected fragment, but also all blocks with alignments found there. (Also it fixes IDEA-99343)

Corrected test data
2015-06-23 17:22:25 +03:00
Anna Kozlova 28f8cd68d1 introduce local variable intention should not go to outer anonymous class (IDEA-141716) 2015-06-23 15:54:54 +03:00
Anna Kozlova 0b65146da4 EA-69633 - IAE: ProjectFileIndexImpl.isInLibrarySource
(e.g. for package with multiple directories)
2015-06-23 12:05:26 +03:00
Anna Kozlova 45c5a5f8c7 hide rename file for files outside project (EA-69745 - assert: RenameFileAction.actionPerformed) 2015-06-23 12:05:24 +03:00
Anna Kozlova 6bc7f0b207 safe delete: hide warning about static import if found in the one-class-file which would be deleted (IDEA-141686) 2015-06-23 12:05:21 +03:00
Anna Kozlova 715ae734a2 fix equals templates (IDEA-141700) 2015-06-23 12:05:19 +03:00
Roman Shevchenko 00ce3c98b7 Merge remote-tracking branch 'origin/master' 2015-06-22 18:08:00 +03:00
Roman Shevchenko fa2fcfaf84 IDEA-81171 (live template for auto-closeable expression) 2015-06-22 18:06:59 +03:00
Roman Shevchenko a13b23e427 Cleanup (utility method used) 2015-06-22 18:06:51 +03:00
Roman Shevchenko 916c31f03f Cleanup (typo) 2015-06-22 18:06:25 +03:00
Roman Shevchenko ccbe820258 Cleanup (formatting) 2015-06-22 18:05:51 +03:00
Konstantin Bulenkov dc0c8ade1c register updown handler for visibility panel 2015-06-22 16:13:11 +03:00
Dmitry Batrak 3631c0325e IDEA-141461 Quick Documentation viewer: for javdocs inside jars, internal relative links to pages in the same jar don't work 2015-06-20 16:41:07 +03:00