Commit Graph

1063 Commits

Author SHA1 Message Date
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
nik
b3b20f7dd5 get rid of DataContext in ExecutionEnvironment 2010-06-03 11:49:16 +04:00
Maxim Medvedev
353a5c8f80 Merge branch 'master' of git.labs.intellij.net:idea/community 2010-06-03 10:59:04 +04:00
Maxim Medvedev
c5163b6e8e fix generic substitution 2010-06-03 10:10:23 +04:00
Maxim Medvedev
c665fdc369 extract ChangeSingnatureProcessorBase 2010-06-03 09:52:23 +04:00
Alexey Kudravtsev
09d7a4d169 EA-19798 2010-06-01 13:14:41 +04:00
Alexey Kudravtsev
0f093b0487 NPE 2010-06-01 13:13:31 +04:00
Alexey Kudravtsev
75d4608803 useless work eliminated 2010-06-01 13:13:19 +04:00
peter
be35b620f9 fix tests broken by package classes caching 2010-06-01 09:31:41 +01:00
Maxim Medvedev
5d39963fa8 Merge branch 'master' into changeSignature 2010-06-01 09:45:59 +04:00
peter
eb42b989ca cache method signatures for non-physical classes (completion works on non-physical file copy => will be faster) 2010-05-31 22:32:04 +01:00
peter
7c51c98375 correctly generate anonymos body when completing after new inside another anonymous 2010-05-31 21:44:06 +01:00
peter
46bd89c489 stateless DefaultInsertHandler 2010-05-31 21:44:03 +01:00
peter
fa06ce1faa cache package's classes in package itself. remove similar cache from groovy 2010-05-31 21:44:01 +01: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
ce9eb1c6e7 @NotNull 2010-05-31 15:22:17 +04:00
anna
4713ddcb2e extract super ... : when original is renamed then it should be moved to the new directory, labels changed accordingly ( IDEA-55377 ) 2010-05-31 15:22:16 +04:00
anna
aa48a3ee1d do not rise conflict on type parameter rename ( IDEA-55362 ) 2010-05-31 15:22:16 +04:00
nik
1fef9ef3d3 notnullification 2010-05-31 14:19:55 +04:00
nik
4703b7a321 IDEA-26901: Do not suggest ThreadLocal and atomic conversion for GWT client code. 2010-05-31 14:07:01 +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
anna
af3b38b727 api for: forbid to use ThreadLocal/Atomic in GWT-client code ( IDEA-26901 ) 2010-05-30 15:38:47 +04:00
Maxim Medvedev
06dc46d6cd Merge branch 'master' into changeSignature 2010-05-29 17:23:45 +04:00
Maxim Medvedev
01f41c1678 integration with java 2010-05-29 13:40:10 +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
cbbee75ac1 create field from parameter: respect method type parameters ( IDEA-54438) 2010-05-27 20:00:11 +04:00
anna
8a9488c613 omit caching 2010-05-27 20:00:10 +04:00
Denis Zhdanov
aebe763d95 IDEA-55313 Make it possible to customize indent policy to use per-indent
Every indent object now holds flag that indicates if it's relative. All indent processing code is updated accordingly
2010-05-27 15:50:37 +04:00
Alexey Kudravtsev
d8a7216633 call of super method overridden with erasure 2010-05-27 14:25:20 +04:00
Alexey Kudravtsev
3e59d39b59 NPE 2010-05-27 14:04:43 +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
Eugene Zhuravlev
70b251deb0 more careful replacement of '$' chars in class names 2010-05-27 10:18:36 +04:00
anna
95c8a57778 search for test library in exported libraries as well ( IDEA-21210 ) 2010-05-26 23:28:27 +04:00
Maas van den Berg
b9adf3d42f create test: remember last chosen library (IDEA-24199) 2010-05-26 23:28:26 +04:00
anna
15bf42b61d @SuppressWarnings folding 2010-05-26 23:28:24 +04:00
peter
bbb0bc6fe8 LightClass.valid := delegate.valid (IDEA-55234) 2010-05-26 19:33:20 +01:00
Maxim Medvedev
5db1013634 Merge commit 'origin/master' into changeSignature 2010-05-26 14:31:15 +04:00
Denis Zhdanov
b3d4062f86 IDEA-55147 Provide new formatting option - 'align subsequent variable declarations in columns'
Adopted to corrected wrap management scheme
2010-05-26 14:20:46 +04:00
Denis Zhdanov
b24cc02a03 IDEA-55147 Provide new formatting option - 'align subsequent variable declarations in columns'
Adopted to corrected wrap management scheme
2010-05-26 14:20:17 +04:00
Denis Zhdanov
44263bc139 IDEA-55147 Provide new formatting option - 'align subsequent variable declarations in columns'
1. Correct white space and comment token sets are used now;
2. Wrap processing is corrected;
3. ALIGN_MULTILINE_SUBSEQUENT_DECLARATIONS -> ALIGN_GROUP_FIELDS_VARIABLES;
2010-05-26 14:19:21 +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