Maxim.Mossienko
528b3a1e73
If SOE encountered when do reg exp matching then ignore the exception and return result (temp fix for IDEA-150928)
2017-02-02 18:50:54 +01:00
Alexander.Kirsanov
84c28e020f
Encapsulated highlighter field in HighlightInfo, created public setter
2017-02-02 20:14:56 +03:00
Dmitry Batrak
42660e4ae7
IDEA-167473 'Quick Documentation' doesn't work on a method call if there are several applicable overloads
2017-02-02 19:34:05 +03:00
Pavel Dolgov
fa3da87a1e
Java: Improved navigation from the argument of getField() and getMethod() to the actual field or method, tests added. (IDEA-167250)
2017-02-02 14:55:52 +03:00
Pavel Dolgov
8a73604580
Java: Improved completion for arguments of reflection calls getField() and getMethod() - extract the actual type from Class.forName and from generic type parameter to provide the code assistance (IDEA-167250)
2017-02-02 14:55:52 +03:00
Valentin Fondaratov
9c0de9063f
change inlay hints testing api
...
The current approach allows for greater test source flexibility.
Also it enables the use of FileComparisonFailure to ease working
with tests.
2017-02-02 13:59:28 +03:00
Anna.Kozlova
07a332598a
ensure additional constrains are collected based on ground functional type (IDEA-167277)
2017-02-01 19:12:26 +01:00
peter
624831f243
IDEA-167367 Data flow analysis doesn't process division
2017-02-01 17:53:15 +01:00
peter
4e71366f3b
prefer local variables over static method references in completion
2017-02-01 17:53:15 +01:00
Tagir Valeev
9246190c9c
StreamApiMigrationInspection: suggest to use takeWhile() in Java-9
2017-02-01 19:46:04 +03:00
peter
8c1e3a6103
IDEA-165033 Completion should prefer expected enum values over the constants from other enums, even if they're more recently used
...
a test proving it works
2017-02-01 17:42:12 +01:00
Anna.Kozlova
9515470f1f
detect generated method name: allow annotations with parameters (IDEA-167480)
2017-02-01 15:47:45 +01:00
Anna.Kozlova
e3352b820f
method signature: don't substitute twice during erasure (IDEA-167386)
2017-02-01 15:47:45 +01:00
nik
83e84fc677
qualified module names: don't show module name in Project View if it matches directory structure (IDEA-166061)
...
If module name can be composed by appending its directory name to a module name for the parent directory it makes no sense to show the full module name on the directory node in Project View.
2017-02-01 14:43:57 +03:00
Alexey Kudravtsev
ffd3bedfe7
cleanup
2017-02-01 14:01:39 +03:00
Alexey Kudravtsev
901c3d9335
cleanup
2017-02-01 14:01:38 +03:00
peter
67bd507337
fix collecting completion stats for methods with argument suggestions
...
ensure that we don't change the tracked document range when starting live template
2017-02-01 11:57:32 +01:00
peter
e58f41d54c
extract delayed completion statistics logic out of CompletionLookupArranger
2017-02-01 11:57:32 +01:00
Vladimir Krivosheev
48282c9450
IDEA-CR-17843 give a meaningful name
2017-02-01 10:56:05 +01:00
peter
07e1a72077
prefer lookup items with shorter tail text (e.g. List#add(element) without index)
2017-02-01 09:22:50 +01:00
peter
14407464ce
update completion test expectations
2017-01-31 22:30:02 +01:00
peter
38e14cc430
run config tests: save project outside write action
2017-01-31 20:07:40 +01:00
peter
f66c322e16
prefer relevant types when completing cast type (IDEA-167190, IDEA-156868)
2017-01-31 19:23:12 +01:00
Sergey Simonchik
5ae1e907d7
IDEA-160131 Consider adding roots provided by AdditionalLibraryRootsProvider to External Libraries
2017-01-31 19:19:55 +03:00
peter
0aa5f02322
IDEA-166301 Idea autocompletes {@code n} as {@code {@code null}}
2017-01-31 15:49:08 +01:00
peter
d1d548b8b8
let class name completion statistics not depend on the expected type
...
once ContainerUtil is selected in one context, prefer it in others
2017-01-31 15:49:07 +01:00
Vladimir Krivosheev
4aff4a430e
Merge branch 'develar/m'
...
# Conflicts:
# platform/configuration-store-impl/src/ModuleStoreImpl.kt
# platform/configuration-store-impl/src/StateStorageManagerImpl.kt
2017-01-31 11:23:14 +01:00
peter
ca551bdf12
fix NormalCompletionOrderingTest expectations again: getUI method is not 1.9-only anymore
2017-01-31 09:36:07 +01:00
Yaroslav Lepenkin
58af76b481
[inline hints] added method to test inline hints inside CodeInsightTestFixtureImpl
2017-01-31 10:27:07 +03:00
Yaroslav Lepenkin
ab3de01236
removed flaking tests logging
2017-01-31 10:27:07 +03:00
Roman Shevchenko
f09c23c5bf
[tests] updates JRT test data
2017-01-31 08:24:27 +03:00
peter
a5a04bb4af
IDEA-167285 Using "complete current statement" with code completion produces broken code
2017-01-30 21:10:52 +01:00
Anna Kozlova
9841a6820b
1.9 api updated
2017-01-30 19:10:14 +03:00
Roman Shevchenko
87f93a7695
[java] JrtFileSystem.isSupported() is always true
2017-01-30 18:37:20 +03:00
Roman Shevchenko
aff2326b85
[tests] stricter file ops in JrtFileSystemTest
2017-01-30 18:04:11 +03:00
Vladimir Krivosheev
694d215481
fix compilation
2017-01-30 15:51:26 +01:00
Vladimir Krivosheev
a431a59ca6
UISettings#SORT_LOOKUP_ELEMENTS_LEXICOGRAPHICALLY isn't saved, part 1
2017-01-30 15:51:21 +01:00
peter
ea6b882bd0
fix NormalCompletionOrderingTest expectations: getUI method is 1.9-only, so should be dispreferred
2017-01-30 11:27:41 +01:00
peter
5568a35480
fix JavaFoldingTest blinking?
2017-01-27 19:35:05 +01:00
Egor.Ushakov
76da3b1b03
IDEA-156783 "Evaluate expression" dialog does not work for lambda expressions
2017-01-27 21:01:06 +03:00
peter
2204579e00
smart pointers on import lists should survive adding new imports (IDEA-161409)
2017-01-27 17:54:56 +01:00
peter
4c57457916
IDEA-166167 Idea should not suggest AbstractClass::new for lambda
2017-01-27 15:36:38 +01:00
peter
2ac4ed9c48
IDEA-167160 Completion doesn't suggest types for parameters in lambdas in Java
2017-01-27 15:06:16 +01:00
Alexey Kudravtsev
1f766a13b0
IDEA-166240 Unordered line numbers in the "Find" panel
2017-01-27 13:59:37 +03:00
Vladimir Krivosheev
c93a1a4a4b
createJ2EEModule throws error if cannot create module, add notnull annotations
2017-01-27 11:50:36 +01:00
Yaroslav Lepenkin
50867f68bb
[java inlay tests] flaking tests fixed
...
BlackListMethodIntentionTest was not cleaning up param hints settings
state which caused JavaInlayParameterHintsTest failure
2017-01-27 13:09:46 +03:00
peter
d958d86ff7
remember method overload chosen in completion and highlight it in parameter info
2017-01-27 08:26:35 +01:00
peter
19757567fe
prefer imported classes amongst same-named ones in java completion (IDEA-116181)
2017-01-27 08:20:15 +01:00
Yaroslav Lepenkin
78ed389448
[inlay tests] removed psi dump, added more logging
2017-01-26 18:44:10 +03:00
Dmitry Batrak
4e0fa87014
IDEA-161409 Folded imports region opens when imports are added - test case
2017-01-26 15:50:15 +03:00