Dmitry Batkovich
eaeffca0b8
method chain completion: simplify old code
2017-05-16 21:20:53 +03:00
Dmitry Batkovich
2576d32217
method chain completion: rewrite old code
2017-05-16 20:32:15 +03:00
Dmitry Batkovich
06f5159d5e
method chain completion: simplify old code
2017-05-16 18:10:16 +03:00
Dmitry Batkovich
202266f5ad
prefer most used weigher: if definition for a class is not found - it's not an error (a class can be introduced after last compilation)
2017-05-16 13:24:42 +03:00
Dmitry Batkovich
8dbb78c788
method chain completion: use ExpressionLookupItem
2017-05-16 11:01:49 +03:00
Dmitry Batkovich
d7483f646d
method chain completion: simplify code
2017-05-15 17:43:41 +03:00
Dmitry Batkovich
f65f8430fb
method chain completion: inline new keyword
2017-05-15 17:43:41 +03:00
Dmitry Batkovich
11d7d9e4cd
method chain completion: remove unused method
2017-05-15 17:43:40 +03:00
Dmitry Batkovich
ba7f988b9b
method chain completion: rename
2017-05-15 17:03:57 +03:00
Dmitry Batkovich
18592664b7
method chain completion: remove sub lookup element (automatic argument insertion)
2017-05-15 16:27:16 +03:00
Dmitry Batkovich
d4277c4ab3
cleanup: rename
2017-05-15 15:53:05 +03:00
Roman Shevchenko
9a65777129
[java] common methods for JRE/JDK check
2017-05-12 15:12:50 +02:00
Alexey Kudravtsev
4a4626c750
removed default file header, because it adds no information but subtracts attention and space
2017-05-12 14:02:24 +03:00
Dmitry Batkovich
e95b35fbc4
frequently used super class inspection: fix tests
2017-05-11 23:00:36 +03:00
Dmitry Batkovich
2fd794b883
frequently used super class inspection: fix npe when classes has the same method not defined in base class
2017-05-11 17:59:56 +03:00
Dmitry Batkovich
21db96b0e9
frequently used super class inspection: rename "ok" -> "remove" in quickfix dialog
2017-05-11 17:59:56 +03:00
Alexey Kudravtsev
920d5b4fba
removed default file header, because it adds no information but subtracts attention and space
2017-05-11 13:39:07 +03:00
Vladimir Krivosheev
0646656b8b
deprecate DocumentAdapter
2017-05-09 18:31:16 +02:00
Vladimir Krivosheev
4ae9edbe94
introduce VetoableProjectManagerListener to avoid inappropriate using of message bus
2017-05-09 18:31:16 +02:00
Vladimir Krivosheev
2417a75525
ProjectManagerAdapter -> ProjectManagerListener
2017-05-09 18:31:15 +02:00
Vladimir Krivosheev
577afda39c
deprecate addProjectManagerListener / removeProjectManagerListener
2017-05-09 18:31:14 +02:00
Vladimir Krivosheev
0350ddfde9
deprecate addCompilationStatusListener — message bus should be used instead
2017-05-08 18:11:11 +02:00
Dmitry Batkovich
04f1b67a05
javac ast indices: fix possible deadlock
2017-05-05 14:47:06 +03:00
Dmitry Batkovich
0b791b6dfc
javac ast indices: fix possible deadlock
2017-05-05 14:46:23 +03:00
Dmitry Batkovich
0a95b473b1
frequently used inheritor inspection: choose base class ref as element to highlight if class is anonymous
2017-05-05 14:46:23 +03:00
Dmitry Batkovich
cb63ec79f4
javac ast indices: change condition ordering for a vfs event processing. move faster condition first (IDEA-172399)
2017-05-05 14:46:22 +03:00
Dmitry Batkovich
36d4344ad3
frequently used inheritor inspection: use smart pointer to class instead descriptor element
2017-05-04 18:53:43 +03:00
Dmitry Batkovich
6466f66af2
method chains completion: fix tests
2017-05-04 18:40:04 +03:00
Vladimir Krivosheev
1006e1c2f0
IDEA-CR-20757 change default separator to .
...
default separator changed to . because only CMakeWorkspace uses -. - "conflicts" with - dash in the project name, so, current implicit default is restored.
2017-05-04 17:33:11 +02:00
Vladimir Krivosheev
60b88fd3ab
cleanup — no need to use URLS_COMPARATOR (equal to natural comparator)
2017-05-04 17:33:10 +02:00
Vladimir Krivosheev
60877cd63e
move getProjectCachePath to ProjectUtil
2017-05-04 16:17:20 +02:00
Dmitry Batkovich
453854132a
method chains completion: remove yet another very old class
2017-05-04 15:21:04 +03:00
Dmitry Batkovich
922ee8a71e
frequently used super class inspection: do not highlight whole class, just target element to replace
2017-05-04 15:21:04 +03:00
Dmitry Batkovich
cab490750c
method chain completion remove condition for unit test mode
2017-05-04 14:43:39 +03:00
Dmitry Batkovich
f699ac47ee
javac ast indices: do not catch control flow exceptions
2017-05-04 14:43:38 +03:00
Dmitry Batkovich
519892efe9
javac ast indices: do not catch control flow exceptions
2017-05-04 13:40:08 +03:00
Dmitry Batkovich
8c37b0814e
frequently used super class inspection: do not show something like "make A extends A"
2017-05-04 13:40:08 +03:00
Vladimir Krivosheev
382e61ef1a
move getPresentableName to ProjectUtil
2017-05-04 11:50:36 +02:00
Dmitry Batkovich
4ccdacaa4f
javac ast indices: fix npe when class hierarchy is ambiguous
2017-05-04 11:35:38 +03:00
Dmitry Batkovich
e7608eb304
method chains completion: merge overloads before chain search
2017-05-03 16:13:17 +03:00
Dmitry Batkovich
244e3e214c
method chains completion: use common const
2017-05-03 16:13:17 +03:00
Dmitry Batkovich
f6474dc4fc
method chains completion: do not create chains for interfaces annotated as functional interface
2017-05-03 16:13:17 +03:00
Dmitry Batkovich
7c7ffb2825
javac ast indices: fix indices state if new project is created
2017-05-03 14:52:05 +03:00
Dmitry Batkovich
3b9d7f32a6
frequently used super class inspection: delete selected methods in quick fix; update description; set enabled by default
2017-05-03 14:19:23 +03:00
Dmitry Batkovich
fda5deea5a
fix javadoc
2017-05-03 10:26:03 +03:00
nik
8de507aa70
project model: distinguish artifacts imported from external models
...
This information can be used to show a warning if user tries to manually change an artifact imported from an external model in the Project Structure dialog (IDEA-171948). This information won't be saved in artifact configuration files until we implement functionality to store such artifacts separately (and enable 'store.imported.project.elements.separately' registry key), because otherwise it would lead to massive changes in files under .idea/artifacts.
2017-05-03 10:21:20 +03:00
Dmitry Batkovich
283dfa0957
implement SuperClassHasFrequentlyUsedInheritors inspection over compiler indices
2017-05-02 18:26:19 +03:00
Vladimir Krivosheev
4a7f75c4d3
do not use project name to compute system cache file name, base dir name is enough
2017-05-02 14:41:02 +02:00
Dmitry Batkovich
a82a3842bb
method chains search: check assignability; use name suggester; use JavaChainLookupElement
2017-04-28 18:20:11 +03:00
Dmitry Batkovich
1fc4e42986
method chains search: fix context extraction for assignment expression
2017-04-28 12:44:25 +03:00