Anna Kozlova
cd2d451fba
generate equals/hashCode: sort primitive fields up and leave natural ordering (IDEA-21339)
2015-01-13 16:18:27 +01:00
Anna Kozlova
5373392483
generate equals/hashCode: pass wildcards as type arguments when needed (IDEA-127939)
2015-01-13 13:34:10 +01:00
Anna Kozlova
04b8cf4aa5
generate equals/hashCode: allow getters (IDEA-73860)
2015-01-13 12:48:00 +01:00
Anna Kozlova
fb9a5e8ff7
extract method parameters suggester: change method copy context so calls inside method body could be resolved (aClass..getTypeParameterList() passed inside MethodElement.copyElement && aClass.processDeclarations implementations together cause that method calls to same class members can't be resolved); teach DuplicatesFinder to work on non-physical elements with correct context
2015-01-12 21:13:33 +01:00
Anna Kozlova
d1662081b6
Merge remote-tracking branch 'origin/master'
2015-01-12 18:31:59 +01:00
Anna Kozlova
268171ca99
generate equals/hashCode: use special loader to include by short name
2015-01-12 18:07:59 +01:00
Anna Kozlova
15919a000d
generate equals/hashCode: remove checks for static fields as statics are already excluded from $members
2015-01-12 18:00:30 +01:00
Anna Kozlova
958d48c84d
generate equals/hashCode: catch exceptions from invalid templates
2015-01-12 17:49:55 +01:00
Anna Kozlova
aab113eeab
generate equals/hashCode: template for java.util.Objects; treat super.hashCode
2015-01-12 17:37:39 +01:00
Anna Kozlova
1aea6bd2b3
generate equals/hashCode: tests for apache/guava templates
2015-01-12 17:25:52 +01:00
Anna Kozlova
b6f4a751cc
generate equals/hashCode: ui to configure additional templates
2015-01-12 17:05:03 +01:00
Anna Kozlova
8ad2ec468a
generate equals/hashCode: provide apache/guava templates; allow to choose between them;
2015-01-12 13:16:26 +01:00
Andrey Starovoyt
9ebf51b1fe
simplification postfix templates. Remove reference to PostfixTemplatePsiInfo for PostifxTemplateWithExpressionSelector
2015-01-12 12:43:55 +03:00
Anna Kozlova
3b0196d4a3
deep make method static: do not suggest already static methods
2015-01-12 09:24:32 +01:00
Roman Shevchenko
2299ac0d86
Merge remote-tracking branch 'origin/master'
2015-01-09 21:11:09 +01:00
Roman Shevchenko
0eaf454a3a
Cleanup (formatting; explicit assertions; dead code)
2015-01-09 21:09:27 +01:00
Anna Kozlova
0ee564a95e
generate equals/hashCode: use velocity templates
2015-01-09 21:02:03 +01:00
peter
aa26b292d2
optimize imports
2015-01-09 19:17:31 +01:00
peter
f6f49b6b5e
not ignoring non-dumb-aware CopyPastePostProcessor-s (EA-63633)
2015-01-09 19:06:39 +01:00
peter
e897c75cb5
JavaRunConfigurationPathMacroFilter -> java-impl module
2015-01-09 18:05:50 +01:00
peter
1e6ebba27a
perform slow alternative resolve during copy/paste
2015-01-09 17:45:00 +01:00
Anna Kozlova
780d216424
generate toString: ensure default templates available
2015-01-09 12:29:08 +01:00
Anna Kozlova
5feebe5389
prepare equals/hasCode to use velocity templates
2015-01-09 10:27:57 +01:00
Anna Kozlova
c9451d87fb
org.jetbrains.generate.tostring -> org.jetbrains.java.generate; remove StringUtil
2015-01-09 10:27:54 +01:00
Anna Kozlova
51971c4a7a
wrap return value: teach inference (IDEA-135027)
2015-01-08 19:54:18 +01:00
Anna Kozlova
23379055b0
move class to upper level: ensure default class comment formatted (IDEA-134948)
2015-01-08 13:16:41 +01:00
Anna Kozlova
777397d0d2
LambdaHighlightingUtil removed from java-psi-api
2015-01-07 16:37:40 +01:00
Anna Kozlova
e71f91a880
EA-63611 - assert: JavaSharedImplUtil.normalizeBrackets
2015-01-05 20:09:47 +01:00
peter
5a5f2b7541
IDEA-131899 Writing Javadoc does not automatically trigger hinting / auto-completion
...
autopopup in parameter names
2015-01-05 19:53:48 +01:00
peter
192f18bb1e
IDEA-134472 Code completion does not offer variable names that match field names
2015-01-05 16:09:08 +01:00
peter
f5ab71d3b6
IDEA-134020 ctrl+shift+enter complete error to "package some.pkg"
2015-01-05 16:09:07 +01:00
peter
faa69a6aa2
IDEA-134123 Reflection code completion generates Type....class instead of Type[].class for varargs
2015-01-02 17:19:54 +01:00
peter
12b7a03e2f
don't add imports in dumb mode, other places
2015-01-02 15:11:50 +01:00
peter
535be499c9
don't add imports in dumb mode (EA-63792)
2015-01-02 15:02:18 +01:00
Anna Kozlova
51b8edcfe8
lets select copied files in project view (invoked from project view) only if open in editor option is selected (IDEA-131665)
2015-01-02 14:26:15 +01:00
peter
0afb244fea
disable aspect creation in dumb mode as it requires findClass
2015-01-02 12:59:14 +01:00
Anna Kozlova
5ecb541855
extract method: skip parenthesis as they are skipped by control flow (IDEA-134904)
2015-01-02 12:05:47 +01:00
Anna Kozlova
417c8edc04
ensure reassign state is cleared
2014-12-30 20:19:24 +01:00
Anna Kozlova
8b4c72f6e6
navigate from array creation expr should not land on constructor(s) but on class definition (IDEA-129546)
2014-12-30 15:36:38 +01:00
Anna Kozlova
dad0c70215
test finder: try case insensitive finder for test classes (IDEA-134321)
2014-12-30 15:36:36 +01:00
Anna Kozlova
d55ef6bae7
d'n'd in packages view: forbid move if class already exist in the corresponding package (IDEA-41918)
2014-12-29 21:15:14 +01:00
Anna Kozlova
de0f135bb7
generify: no need to check read-only status, it is checked for all refactorings in BaseRefactoringProcessor (IDEA-15335)
2014-12-29 21:15:13 +01:00
Anna Kozlova
92bb2b6d65
extract if condition: ensure brackets (IDEA-134698)
2014-12-29 18:57:46 +01:00
Maxim.Mossienko
c0bd98383c
properly working navigation
2014-12-24 23:03:56 +01:00
Maxim.Mossienko
ecbf2e64c5
[Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
...
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Maxim.Mossienko
2618e5f354
introduced variable
2014-12-24 22:05:26 +01:00
Anna Kozlova
bb51fb1c63
generate equals/hashCode: support deep arrays equals for java > 1.5 (IDEA-131533)
2014-12-24 20:26:36 +01:00
Anna Kozlova
6f12108208
constructor -> builder: allow to rename setter prefix together and remember the choice for a project (IDEA-102132)
2014-12-24 20:26:34 +01:00
Maxim.Mossienko
74c5e31709
fixing large duplicates
2014-12-24 19:06:15 +01:00
Dmitry Jemerov
60b8e7041b
replace PsiPackage.getChildren(scope) API with PsiPackage.getFiles(scope); use it for coverage and package view
2014-12-24 15:31:10 +01:00