Commit Graph
9747 Commits
Author SHA1 Message Date
Dmitry Batkovich 0790362737 guava type migration: convert anonymous Function-s with runtime retention policy annotations to anonymous classes except @javax.annotations.Nullable (can be configured in settings) 2016-03-22 14:46:28 +03:00
Anna.Kozlova 4b4fe678f0 make first java 8 modules inherit language level from project default 2016-03-18 17:26:43 +01:00
Anna.Kozlova 4ad5c2006c introduce functional parameter from substring
EA-80674 - AIOOBE: IntroduceParameterHandler.introduceStrategy
2016-03-17 21:25:32 +01:00
Anna.Kozlova ea26329614 change signature: extract common code to search for conflicts; use it in introduce parameter object 2016-03-17 18:04:01 +01:00
Anna.Kozlova f967d9f0d0 introduce parameter object: extract change signature part to start under the same progress 2016-03-17 18:04:01 +01:00
Vladimir Krivosheev 485dc52691 IDEA-131690 Settings repository plugin: when I merged settings from PyCharm java-related setting was deleted 2016-03-17 11:32:10 +01:00
Roman Shevchenko 8171a37c41 Merge remote-tracking branch 'origin/master' 2016-03-16 19:03:10 +01:00
Roman Shevchenko fac9f4ae58 Cleanup (warnings; typos) 2016-03-16 18:57:54 +01:00
Anna.Kozlova 77227fc3da move class or package: open in editor option doesn't depend on selection (IDEA-152956) 2016-03-16 17:41:38 +01:00
Anna.Kozlova 74f533e719 generate annotations: collect external annotations, check if annotation is available in target context (IDEA-152984) 2016-03-16 17:41:38 +01:00
Jim Purbrick 9969ae1b8b optimization for multimodule projects 2016-03-16 17:41:38 +01:00
Dmitry Batrak 53597d86a2 avoid deadlock condition in JavaDocumentationProvider (made possible after fix for IDEA-152628)
JavaDocumentationProvider now needs to read data from class documentation URL while generating URL for class'es method. This is performed under read action and can lead to a deadlock if a write action is pending, because built-server also needs a read action to generate response (new read action is not allowed to start if write action is pending). To avoid this situation, we use original javadoc URL (not proxied by built-in server) to fetch data internally
2016-03-16 16:55:11 +03:00
peter 22d7be19f7 allow intentions and quick fixes to be annotated with @WrapInTransaction 2016-03-16 11:32:52 +01:00
peter 80c6e1c9f4 java completion sorting: disprefer return in void lambdas (IDEA-CR-9303, IDEA-152289) 2016-03-16 11:32:51 +01:00
Dmitry Batrak ee5c99ecd7 cleanup 2016-03-16 10:27:34 +03:00
Dmitry Batrak 4102ffee3d IDEA-152628 shift-F1 displays two URL
fix tests
2016-03-16 10:27:34 +03:00
Dmitry Batrak 2bf6b569a9 IDEA-152628 shift-F1 displays two URL (folowing IDEA-CR-9296)
assert that slow method is not invoked on EDT, remove existing usages on EDT
2016-03-16 10:27:34 +03:00
peter d9cbc98a49 IDEA-152289 Code completion suggests "return" as the first result in the empty constructor 2016-03-15 19:55:14 +01:00
peter 28b7c2501a IDEA-152325 Smart completion should not suggest class fields in its this/super constructor call 2016-03-15 19:55:14 +01:00
peter a0a7c689ef when completing inside this() calls, don't suggest variants for current constructor (IDEA-152325) 2016-03-15 19:55:13 +01:00
Anna Kozlova 1e9aebde4f replace constructor with factory: skip new expression inside old factory to avoid recursion (following IDEA-CR-9194) 2016-03-15 19:09:04 +01:00
Anna Kozlova 0c583feae6 show static import suggestion: ensure normal inference process for method candidate (IDEA-152985) 2016-03-15 19:09:04 +01:00
peter dd738694bd IDEA-152516 Smart completion & inner classes 2016-03-15 17:38:05 +01:00
Dmitry Batrak 27816f618c IDEA-152628 shift-F1 displays two URL 2016-03-15 18:53:01 +03:00
Dmitry Batkovich 45be7bae39 inspection tool window: unused declaration view more pretty 2016-03-15 09:54:35 +03:00
Dmitry Batkovich 98844560b8 inspection tool window: identations 2016-03-15 09:54:32 +03:00
Anna Kozlova 8f7c6c593a don't expand exclude step by timer (IDEA-152991) 2016-03-14 21:34:56 +01:00
Anna Kozlova c25621811c test integration: replace method without javadoc with template (IDEA-152989) 2016-03-14 21:34:56 +01:00
Anna Kozlova a54e0ed47e copy to final: effectifely final is enough fot java 8 (IDEA-152934); change wording 2016-03-14 17:48:06 +01:00
Anna Kozlova d66293b3f0 copy ref: update fqn when constructor is replaced with class 2016-03-11 18:31:41 +01:00
Anna Kozlova 696663a690 i18n (IDEA-152886) 2016-03-11 17:08:17 +01:00
Anna Kozlova c04d309399 copy reference: fix isReferenceTo check (IDEA-152601) 2016-03-11 15:07:28 +01:00
peter c4b72005ce remove redundant @AcceptNestedTransactions (IDEA-CR-9197) 2016-03-11 11:34:35 +01:00
Egor.Ushakov e09b0fca1e IDEA-152851 Extract Method Object: incompilable result in case of this and super and anonymous class creation 2016-03-11 13:08:25 +03:00
peter dd3e6acfc9 accept nested editing transactions in refactoring dialogs 2016-03-11 10:58:25 +01:00
Anna Kozlova ad19b800f9 replace constructor with factory: warn if method already exist, reuse original if proceed (IDEA-152822) 2016-03-11 10:51:37 +01:00
Anna Kozlova c10079bff0 generate tests: order methods by methods order in the source class (IDEA-152829) 2016-03-11 10:51:37 +01:00
Anna Kozlova c4cb96134c inline local: hide preview button which won't show any additional information anyway (IDEA-152802) 2016-03-11 10:51:37 +01:00
Anna Kozlova de766d6474 redundant write actions in tests 2016-03-11 08:58:05 +01:00
Egor.Ushakov 56037c7459 IDEA-152809 Compiling evaluator: unable to evaluate with inner variables 2016-03-10 19:24:39 +03:00
Dmitry Batkovich f912ad2d99 Merge remote-tracking branch 'origin/master' 2016-03-10 14:49:21 +03:00
Anna Kozlova e9a37446b8 WriteActionAware: marker to skip containing write action, e.g. when local fix would show dialog or progress, so the write action would be started inside action itself 2016-03-10 09:08:15 +01:00
Dmitry Batkovich 85914724f1 Merge remote-tracking branch 'origin/master' 2016-03-10 09:34:38 +03:00
Roman Shevchenko 3b35be0963 Merge remote-tracking branch 'origin/master' 2016-03-09 22:05:14 +01:00
Roman Shevchenko 5acfdb77ba Cleanup (modern serialization) 2016-03-09 16:02:52 +01:00
Dmitry Batkovich 5392513dd1 Inspesction tool window: compose proper html for parameters 2016-03-09 17:10:53 +03:00
Anna Kozlova 0a2ab72163 use statistics from introduce variable for create local from usage (IDEA-152410) 2016-03-09 14:23:53 +01:00
Anna Kozlova cee6581734 generify: collapse to diamond when applicable 2016-03-09 14:23:53 +01:00
Dmitry Batkovich 2afa301092 Inspesction tool window: unused inspection: show class with qualified names 2016-03-09 15:59:09 +03:00
Dmitry Batkovich 62f33640a8 java inspections: some of QuickFix#getFamilyName()-s are fixed to be independent of context 2016-03-09 15:49:06 +03:00