Commit Graph

209 Commits

Author SHA1 Message Date
Denis.Zhdanov
9928d716dc IDEA-79806 Apply aligning of chained method calls in columns to fields 2012-01-13 14:05:30 +04:00
Denis.Zhdanov
e1817ca159 IDEA-79836 Java formatter: Correct processing of incomplete method call expression with anonymous class arguments 2012-01-12 13:03:13 +04:00
Denis.Zhdanov
be39880ffd IDEA-79714 No code example for certain code style space changes 2012-01-11 17:17:00 +04:00
Denis.Zhdanov
0a4bf8130f WI-9265 Ternary reformat hangs
Correct core formatting processing in case of dependent spacing that target region that looses line feeds during formatting
2012-01-11 15:34:41 +04:00
Denis.Zhdanov
5e39306022 IDEA-79486 Java formatter: Correct processing of anonymous classes as method call arguments 2012-01-11 15:34:41 +04:00
Dmitry Jemerov
0fe813998c tests to community 2011-12-16 18:57:20 +01:00
Dmitry Jemerov
0423ab9df1 tests to community 2011-12-16 18:49:51 +01:00
Dmitry Jemerov
71c94b5d64 couple of tests moved to community 2011-12-16 17:47:41 +01:00
Alexander.Podkhalyuzin
b23de45f73 Extensible checking of is inner class file 2011-11-24 11:25:50 +04:00
Alexey Kudravtsev
8b9b36fe87 @Override added 2011-10-26 20:20:26 +04:00
Denis.Zhdanov
c7b7328f36 IDEA-72791 Critical bug in Code formatting (Java source files)
Corrected language-specific code style setting retrieval
2011-10-17 09:10:06 +04:00
Dmitry Jemerov
d84c902a3a extract JavaCodeFragmentFactory out of PsiElementFactory; remove a number of unnecessary back and forth conversions between Project and PsiManager 2011-10-14 19:28:03 +02:00
anna
c8eafbe32f show expected FILE on the left of the diff view to be able to apply changes from actual right in the file 2011-10-10 17:37:28 +02:00
Dmitry Jemerov
308a75c3e0 register PsiResolveHelper as an independent service 2011-10-04 16:03:53 +02:00
Dmitry Jemerov
97eb3ff8b1 PsiDirectoryImpl to core-impl, refactor its dependencies 2011-10-04 16:02:16 +02:00
Denis.Zhdanov
a3af401ef3 IDEA-75053 Empty class initializer in one line with next line braces placement 2011-10-03 11:50:54 +04:00
Denis.Zhdanov
eead9dba8b IDEA-75066 Spaces options in code style with method call parentheses
Added ability to differentiate spacing usage for empty and non-empty method declarations/calls
2011-10-03 11:50:54 +04:00
Denis.Zhdanov
5df2850695 IDEA-75043 Surround with template: correct processing in case of blank line after after the statement
1. Corrected template processing in case it doesn't have blank line;
2. Corrected formatter behavior in situation with incomplete type cast expression;
2011-10-03 10:11:56 +04:00
Denis.Zhdanov
e7dab438d4 IDEA-74751 Spaces options in code style with method call parentheses
Obsolete test is removed
2011-09-28 18:05:43 +04:00
Denis.Zhdanov
120b93422c IDEA-74751 Spaces options in code style with method call parentheses
1. Empty method declarations/calls respect 'space within parenthesis' code style setting now;
2. Corresponding tests are added;
2011-09-26 16:09:51 +04:00
Dmitry Jemerov
c5311aeaf3 java-psi-api and java-psi-impl modules extracted 2011-09-23 19:12:35 +02:00
Alexey Kudravtsev
9ff58a3613 highlight optimizations 2011-09-12 13:26:57 +04:00
Dmitry Jemerov
331e047948 decouple DocumentImpl from Editor and action system: move editor-dependent part of trailing spaces stripping to TrailingSpacesStripper 2011-08-17 21:12:50 +04:00
peter
41b6fd86de when memoizing, remember which computation caused reentrancy and when the same reentrant computation invokes the same memoized computation, use the memoized result. ResolveClassTest declared fixed and uncommented 2011-08-10 17:26:34 +02:00
Rustam.Vishnyakov
b494c468f0 Changed CodeStyleSettings.IndentOptions to CommonCodeStyleSettings.IndentOptions 2011-08-10 18:17:50 +04:00
peter
c3e24a2c3b temporarily disable the hanging static import tests 2011-08-09 09:11:31 +02:00
Dmitry Jemerov
d38f27c7c8 remove incorrect qualified name check; provide tests (IDEA-71870) [r=jeka] 2011-08-03 19:22:25 +02:00
Rustam.Vishnyakov
554fffbead Separate Java code style settings, Java code style panels grouped 2011-08-03 15:07:38 +04:00
Denis.Zhdanov
63563c354e IDEA-72317 Java Formatter: Separate 'Space before array initializer left brace' for annotation arguments and arrays
Test is corrected
2011-07-28 12:33:34 +04:00
Gregory Shrago
3534ac1c16 fix tests & community compilation 2011-07-22 21:18:26 +04:00
Gregory Shrago
96832c8a60 light parser testcase 2011-07-22 18:50:18 +04:00
Denis Zhdanov
0126b354d6 IDEA-72317 Java Formatter: Separate 'Space before array initializer left brace' for annotation arguments and arrays 2011-07-21 17:40:42 +04:00
Denis Zhdanov
798af8ff98 IDEA-72321 Java Formatter: Respect 'space before method call parentheses' for anonymous class constructor 2011-07-21 16:18:36 +04:00
Roman Shevchenko
25170eb69c Old Java stub builder dropped 2011-07-15 15:50:00 +02:00
Alexey Kudravtsev
203a912f31 SOE in stub builder (IDEA-25679 StackOverflowException when parsing DeepStringConcat.java) 2011-07-14 12:08:02 +04:00
anna
902deda3ac good code is red: allow unchecked conversion when static methods are in the same class 2011-07-13 16:56:37 +04:00
Alexey Kudravtsev
5b1230ec46 introduced PsiPolyadicExpression 2011-07-13 16:02:43 +04:00
anna
6037842cc6 fix tests 2011-07-13 11:37:28 +04:00
Denis Zhdanov
c013a7a130 IDEA-71823 Problem with Code Style
'Space after comma' code style setting is respected for java method call arguments
2011-07-11 17:21:54 +04:00
Alexey Kudravtsev
51dd2c2ed4 cleanup 2011-07-08 18:11:15 +04:00
Alexey Kudravtsev
91f2572950 NPE 2011-07-04 17:49:14 +04:00
Bas Leijdekkers
0091ec715a revert 2011-06-28 12:12:18 +02:00
Bas Leijdekkers
3645fce7be boolean binary expressions of the format false && non_constant and true || non_constant can be evaluated as constant at compile time 2011-06-27 23:28:02 +02:00
Roman Shevchenko
655c371db7 EA-28491 (more logging) 2011-06-24 12:39:33 +04:00
peter
d1e07155ab cache intermediate computation results thread-locally even if recursion prevention has occurred before (IDEA-70668) 2011-06-17 19:18:06 +02:00
Alexey Kudravtsev
3edddc0f85 performance tests divided into CPU bound and IO bound 2011-06-09 14:50:40 +04:00
Alexey Kudravtsev
3b85c2fa23 cleanup 2011-06-03 11:57:31 +04:00
Denis Zhdanov
1f4f83165b IDEA-70242 Optimize imports will occasionally move the cursor location into the imports section of the file
Caret position is preserved during 'wrap long lines' now
2011-06-03 11:30:35 +04:00
Alexey Kudravtsev
444594e90c tests fix 2011-05-23 13:35:03 +04:00
Denis Zhdanov
ac43d5c0a0 IDEA-68003 Java Formatter: Correct formatting of anonymous classes at method call arguments
Corrected processing of multi-args method calls with single anonymous class argument
2011-05-20 15:45:04 +04:00