anna
941142b346
introduce field: extract error expression on class level ( IDEA-41570 )
2010-06-03 12:39:38 +04:00
anna
feda077bb7
inline variable: captured wildcard != wildcard so isAssignable should be used in order to avoid redundant class casts (IDEA-27243); though isAssignable can't replace equals as for primitive types cast can change expr semantics, e.g. (float)intVar1/intVar2
2010-06-03 12:39:37 +04:00
Maxim Medvedev
5d39963fa8
Merge branch 'master' into changeSignature
2010-06-01 09:45:59 +04:00
peter
7c51c98375
correctly generate anonymos body when completing after new inside another anonymous
2010-05-31 21:44:06 +01:00
anna
dda3a86763
testdatafixed
2010-05-31 20:21:45 +04:00
anna
3f3d8329ed
replace method duplicates: qualified/unqualified static access ( IDEA-23412 )
2010-05-31 19:33:23 +04:00
anna
40d73b7c32
replace method duplicates: qualify with super instead of this when method is located in the base class ( IDEA-21753 )
2010-05-31 19:33:22 +04:00
anna
6283165ab2
find method duplicates: match super expressions ( IDEA-45118 )
2010-05-31 19:33:21 +04:00
Kirill Likhodedov
275f48c7ce
Merge branch 'master' of git.labs.intellij.net:idea/community
2010-05-31 19:21:04 +04:00
Maxim Medvedev
15c4d28a87
ability to change name of method to any string constant. Detection of incorrect usages
2010-05-31 19:18:30 +04:00
anna
aa48a3ee1d
do not rise conflict on type parameter rename ( IDEA-55362 )
2010-05-31 15:22:16 +04:00
anna
67ef43adcc
find method duplicates: correct this according to the replacement place ( IDEA-22960 )
2010-05-31 13:07:34 +04:00
Maxim Medvedev
9b56725bd0
fixes & tests
2010-05-30 17:28:36 +04:00
Maxim Medvedev
06dc46d6cd
Merge branch 'master' into changeSignature
2010-05-29 17:23:45 +04:00
Denis Zhdanov
2c245e4c22
IDEA-53542 CodeStyle problem with Method braces
...
Annotation elements located on a line over than method are excluded from 'simple methods in one line' rule processing now
2010-05-28 15:38:22 +04:00
anna
9e165bcd23
do not treat usages of constructor as non-code (although !reference.isResolvedTo(element) as reference resolves to the constructor's class)
2010-05-27 20:00:10 +04:00
Denis Zhdanov
f23c29cd75
IDEA-55306 Align when multiline for parenthesized expressions works weirdly for anonymous classes as parameters
...
Dedicated formatting option for multiline method brackets alignment is introduced. 'Align multiline parenthesized expressions' used before that but it caused wierd formatting at some use-cases.
2010-05-27 11:22:07 +04:00
Maxim Medvedev
5db1013634
Merge commit 'origin/master' into changeSignature
2010-05-26 14:31:15 +04:00
Denis Zhdanov
cc22af9be5
IDEA-55147 Provide new formatting option - 'align subsequent variable declarations in columns'
...
ALIGN_MULTILINE_SUBSEQUENT_DECLARATIONS -> ALIGN_GROUP_FIELDS_VARIABLES
2010-05-26 14:21:07 +04:00
anna
dd2b032223
expected types should take into account output values
...
( IDEA-44946, IDEA-44982, IDEA-44983, IDEA-45034)
2010-05-26 13:28:41 +04:00
anna
c1db7b9edc
introduce variable: suppose that params are equivalent if they have the same name and types were already checked (IDEA-41074)
2010-05-26 13:28:39 +04:00
anna
5c6d20dc4e
extract method: do not declare variables after call with local class defined in extracted method (IDEA-46775)
2010-05-26 13:28:38 +04:00
anna
6806c16bfd
method duplicates: qualify match in order to prevent name conflict ( IDEA-24764 )
2010-05-26 13:28:38 +04:00
anna
abfb0af852
safe delete: enable on local variables; treat side effects as conflicts ( IDEA-17366 )
2010-05-26 13:28:35 +04:00
Rustam.Vishnyakov
6a80f8f559
IDEA-54406: Incorrect indentation of Java and javaScript codes in formatting (Java part)
2010-05-26 12:24:46 +04:00
Denis Zhdanov
09077da76f
IDEA-55147 Provide new formatting option - 'align subsequent variable declarations in columns'
...
Corresponding test is added
2010-05-25 18:17:08 +04:00
Maxim Medvedev
b11b8c7b86
merge master
2010-05-21 17:39:25 +04:00
anna
b594f2d5a7
introduce field: selected type should be used instead of local variable type
2010-05-21 11:40:03 +04:00
anna
6af63745e1
method duplicates: pass array 2 vararg method call ( IDEA-53635)
2010-05-21 10:03:11 +04:00
Denis Zhdanov
dde1392157
IDEA-42167 Reformat code works wrong
...
Test data is revised in accordance with corrected algorithm
2010-05-20 15:12:31 +04:00
Denis Zhdanov
89cebd04fd
IDEA-53778 Indent in a method body shouldn't be defined by indent of the method comment
...
Corresponding test is added
2010-05-20 13:52:29 +04:00
Denis Zhdanov
93f58eb29d
IDEA-55132 Provide ability to setup formatter to use indents relative to expression start
...
Corresponding test is added
2010-05-20 11:01:40 +04:00
Denis Zhdanov
6ba5ba6e11
Added method for convenient access to indentation options from formatter tests
2010-05-20 10:58:42 +04:00
Denis Zhdanov
56ee289a91
IDEA-42167 Reformat code works wrong
...
Test data is revised in accordance with corrected algorithm
2010-05-18 12:52:18 +04:00
Denis Zhdanov
b08019d050
IDEA-42167 Reformat code works wrong
...
Corresponding test is added
2010-05-18 12:51:32 +04:00
Denis Zhdanov
96647b4754
IDEA-53013 Allignment of multiline parenthesis
...
Corresponding test is added
2010-05-18 12:11:33 +04:00
Denis Zhdanov
eb6d106fd7
IDEA-53013 Allignment of multiline parenthesis
...
Test data is corrected in accordance with revised algorithm
2010-05-18 12:11:03 +04:00
Denis Zhdanov
519d20d519
IDEA-52127 A formatter option to force spaces after unary operators like "!"
...
Corresponding test is added
2010-05-18 10:38:56 +04:00
Denis Zhdanov
05738710ab
IDEA-54295 Unify test data path access for all IDEA tests
...
Test data access is refined
2010-05-18 10:08:25 +04:00
Denis Zhdanov
34b8654c94
Couple of tests moved from old JavaFormatterTest class to fine-grained test classes
2010-05-18 09:52:31 +04:00
Denis Zhdanov
dc691bc1a1
IDEA-54746 "Blank Lines" -> "After class header" not applied to anonymous classes
...
The test is removed because it duplicates JavaFormatterBlankLinesTest.testAroundClassHeader()
2010-05-18 09:45:10 +04:00
Denis Zhdanov
13ce9df203
Merge branch 'master' of git@git.labs.intellij.net:idea/community
2010-05-17 18:30:36 +04:00
Denis Zhdanov
a10737636e
IDEA-54747 Add "Before method implementation" to "Blank Lines"
...
Dedicated test is added
2010-05-17 18:29:39 +04:00
Denis Zhdanov
dd3bf5de64
IDEA-54746 "Blank Lines" -> "After class header" not applied to anonymous classes
...
Corresponding test is added
2010-05-17 18:07:06 +04:00
peter
c9db4a5d12
IDEA-54459 Smart type completion for anonymous class after 'new' inserts '{}' inside '()' if the class has two generic parameters
2010-05-17 14:54:27 +01:00
Denis Zhdanov
2ff3e76fa6
IDEA-31681 Code style - allow spaces between generic parameters/variables to be specified
...
More self-explaining name is given to the target test
2010-05-17 17:13:14 +04:00
Denis Zhdanov
cf2906f19b
IDEA-31681 Code style - allow spaces between generic parameters/variables to be specified
...
Corresponding test is added
2010-05-17 17:11:46 +04:00
Denis Zhdanov
2434cb367f
Merge branch 'master' of git@git.labs.intellij.net:idea/community
2010-05-17 10:25:12 +04:00
Maxim Medvedev
0fe654cd9a
exception info for groovy
2010-05-15 21:30:25 +04:00
anna
0007ada693
extract method: reduce varargs to component type when weaker return type is prepared ( IDEA-54953 )
2010-05-14 20:04:59 +04:00