Roman
545ae69261
StreamApiMigrationInspection: improve stream source recognition
2017-09-27 12:28:23 +07:00
Tagir Valeev
1779a8a871
FuseStreamOperationsInspection: fixes according to review IDEA-CR-24873
...
1. Code sample in description
2. Supported toCollection with parameterized method-reference
2017-09-27 10:50:03 +07:00
Tagir Valeev
f065fa4778
EmptyStatementBodyInspection: delete else fix
2017-09-27 10:24:56 +07:00
Tagir Valeev
97bede443c
BaseInspection#buildFix: reverted to InspectionGadgetsFix
...
JavaDoc written
EmptyStatementBodyInspection: DelegateFix used
Review ID: IDEA-CR-24705
2017-09-27 10:08:14 +07:00
Tagir Valeev
21efef3417
Raw types eliminated
2017-09-27 10:08:14 +07:00
Roman
c20bbf70d2
Simplify Stream API call chain inspection improvements: IDEA-179118
2017-09-27 09:43:29 +07:00
Daniil Ovchinnikov
1f3ec303dd
[groovy] get rid of qualifier highlighting fot ext-methods (IDEA-178484)
...
Also:
- make category processing an implementation of non-code api;
- use GdkMethodHolder instead of custom processing;
- add utility methods for checking what to process.
Before this change category methods were resolved independenly of
qualifier type. This didn't make much sense.
```
class Cat {
static def foo(String x) {}
}
use(Cat) {
1.foo()
}
```
In the above example `foo()` was resolved, even when qualifier type is
an Integer. The highlighting of category qualifier was introduced to
address this issue.
After this change `foo()` will not be resolved and there will be no
highlighting since GdkMethodHolder checks qualifier type and don't even
pass inapplicable methods to processor.
2017-09-27 00:15:12 +02:00
Daniil Ovchinnikov
431aec5b2a
[groovy] clean up GdkMethodHolder
2017-09-27 00:15:12 +02:00
Daniil Ovchinnikov
1d396de8fd
[groovy] ignore extension methods with first parameter of primitive type
2017-09-27 00:15:12 +02:00
Daniil Ovchinnikov
1842dbd7a1
[groovy] extract GdkMethodHolder#groupByType()
2017-09-27 00:15:12 +02:00
Konstantin Bulenkov
88a99ff444
IDEA-179577 fix NPE
2017-09-27 01:01:45 +03:00
Sergey Simonchik
379c543dd8
sm test runner: repackage serviceMessages.jar to avoid conflicts with TeamCity's own version of serviceMessages.jar on buildserver (TW-50656)
...
jarjar's rule file:
rule jetbrains.buildServer.messages.serviceMessages.** jetbrains.buildServer.messages.serviceMessages.intellij.@1
2017-09-26 23:06:30 +03:00
Sergey Malenkov
3016f04576
fix search for Kotlin files when cursor points to a function
2017-09-26 22:34:44 +03:00
Vladislav.Soroka
cbe9ffe7c1
cleanup
2017-09-26 21:45:06 +03:00
Vladislav.Soroka
a297176ee5
Build tool window initialization fix
2017-09-26 21:33:52 +03:00
Vladislav.Soroka
7b9d3ea936
Build tool window: handle invalid content
2017-09-26 21:33:51 +03:00
Bas Leijdekkers
44e90c4d00
RegExp: more unique inspection short names
2017-09-26 19:49:35 +02:00
Bas Leijdekkers
5d6f25b21a
IG: cleanup FormBuilder usages
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
c097a967d6
IG: introduce resolvedClassName() utility method
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
4fff51c704
IG/IPP: use PsiUtil.resolveClassInTypeOnly() more
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
fc49f7a9b2
IG: use some utility methods to reduce code in 'switch' inspections
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
036ef00488
make IG test light
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
dd15c2a516
make IG test light
2017-09-26 19:49:34 +02:00
Bas Leijdekkers
30c792c85a
make IG test light
2017-09-26 19:49:33 +02:00
Bas Leijdekkers
b7b4e1d8bc
fix "'equals()' call can be replaced with '=='" inspection false positive
2017-09-26 19:49:33 +02:00
Bas Leijdekkers
4d816c6bdf
clarify inspection description
2017-09-26 19:49:33 +02:00
Alexander Zolotov
402b649dcd
Build scripts: builtin modules should contain only bundled plugins (IDEA-179418)
...
- do not take modules from product's main_module and scramble-related modules
2017-09-26 20:13:45 +03:00
Aleksey Pivovarov
7138f11b5b
IDEA-179246 vcs: do not expand lots of nodes by default
...
Ex: this might happen if "group by directory" is disabled
2017-09-26 19:55:55 +03:00
Aleksey Pivovarov
1befd2e340
vcs: do not create two streams instead of one in AnAction.update()
2017-09-26 19:50:42 +03:00
Aleksey Pivovarov
5d31cec5d0
vcs: cleanup - inline util method
2017-09-26 19:50:41 +03:00
Aleksey Pivovarov
edf74799e4
git: cleanup - remove if with identical branches
2017-09-26 19:50:39 +03:00
Aleksey Pivovarov
09204c44f4
vcs: optimize ChangeListManager serialisation
...
* do not store unused `getType` field
* directly compare file paths, without using `Change.toString`
2017-09-26 19:50:17 +03:00
Aleksey Pivovarov
627e192062
vcs: optimize local changes refresh - remove debug loggers overhead
...
* avoid computing `Change.getType` when it is not necessary
2017-09-26 19:50:16 +03:00
Aleksey Pivovarov
4c1f44cac5
vcs: optimize local changes refresh - avoid expensive HierarchicalFilePathComparator
...
this fixes performance regression after aaf09df8cb
2017-09-26 19:50:15 +03:00
Aleksey Pivovarov
81ba98f6e3
vcs: optimize local changes refresh - optimize path chain collapsing
...
* the main problem was `collapseDirectories(model, parent)` call,
that forced same nodes to be processed multiple times
2017-09-26 19:48:31 +03:00
Aleksey Pivovarov
507dc11b8b
vcs: optimize local changes refresh - reduce iterations over TreeMap
...
* duplicate data in HashMap/HashSet to avoid expensive `get()` from
`TreeMap` with `HierarchicalFilePathComparator`
2017-09-26 19:48:31 +03:00
Denis Fokin
b2b5744024
IDEA-179575 NPE on opening project
2017-09-26 19:31:53 +03:00
Vassiliy.Kudryashov
d795ce8368
IDEA-177846 Improve Replace in Path
2017-09-26 19:13:47 +03:00
Kirill Kirichenko
e5740af209
IDEA-177880 New look for inactive checkboxes and radios in Darcula
2017-09-26 19:08:01 +03:00
Egor.Ushakov
cbf04104b7
debugger agent: reduce overhead
2017-09-26 19:03:15 +03:00
Dmitry Batrak
b017711219
statistics for method overload switches invocations
2017-09-26 18:48:08 +03:00
Rustam Vishnyakov
197db1aae9
Changes for UI spec at IDEA-175743 (draft)
...
- Show "default" colum
2017-09-26 18:16:13 +03:00
Rustam Vishnyakov
c1cfe34535
Changes for UI spec at IDEA-175743 (draft)
...
- Simplified menu
2017-09-26 18:16:13 +03:00
Dmitry Batrak
12db31ac2d
don't show overload switch prompt for lookup hint
2017-09-26 17:58:52 +03:00
Alexey Kudravtsev
c36c5d8b49
perf test fix: make sure VFPMI operates on deterministic number of pointers
2017-09-26 17:33:52 +03:00
Alexey Kudravtsev
b9cb32a9b6
SecurityException fixed
2017-09-26 17:31:46 +03:00
Alexey Kudravtsev
45b0fe312f
EA-107501 - NPE: RemoveExtraClosingTagIntentionAction.isAvailable
2017-09-26 17:31:46 +03:00
Alexey Kudravtsev
2df193d143
cleanup
2017-09-26 17:31:45 +03:00
Anna Kozlova
0ca243309f
LVTI: var -> explicit type (IDEA-179177)
2017-09-26 16:13:12 +02:00
Anna Kozlova
f1028073cb
enable common dataflow for class initializers
2017-09-26 16:13:12 +02:00