Commit Graph

92 Commits

Author SHA1 Message Date
Alexey Kudravtsev
89ad465541 notnull 2018-03-20 13:59:45 +03:00
peter
daa8b4484d searchers: get project in read action (IDEA-CR-29813) 2018-02-28 17:05:06 +01:00
Daniil Ovchinnikov
ec06718364 update PsiSearchHelper.SERVICE#getInstance usages 2018-02-28 12:59:48 +03:00
peter
989651d698 implementation searches: let getProject work without read action (EA-116923 - assert: SharedImplUtil.findFileElement) 2018-02-24 15:15:10 +01:00
nik
c9620ce099 IDEA project configuration: the great module rename
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.

Update *.iml files.
2018-01-25 12:59:02 +03:00
nik
16410c2321 IDEA project configuration: the great module rename
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.

Rename iml files.
2018-01-25 12:59:02 +03:00
peter
7ad81e7906 migrate more usages of deprecated com.intellij.util.containers.HashMap/Set to java.util 2018-01-24 09:48:09 +01:00
peter
bd9b75c49f restore Kotlin plugin compatibility 2018-01-22 11:40:42 +01:00
peter
315b7969c1 migrate most usages of deprecated com.intellij.util.containers.HashMap/Set to java.util 2018-01-19 22:26:30 +01:00
peter
9e94f0f4a7 provide an API to avoid running searchers after target invalidation (EA-111759 - PIEAE: PsiUtilCore.ensureValid) 2017-11-23 17:50:54 +01:00
Bas Leijdekkers
f3bab7a749 Fix PsiUtil typo and cleanup of usages 2017-09-09 21:26:55 +02:00
peter
34ba16dcd3 don't search for functional expressions in strange places (EA-104386 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-08-08 19:15:48 +02:00
Roman Shevchenko
c7d9371ec4 Cleanup (formatting) 2017-06-06 16:02:54 +03:00
Anna.Kozlova
e018f574e4 anonymous -> lambda 2017-04-28 10:04:05 +02:00
Anna.Kozlova
583a728f89 cleanup redundant type arguments 2017-04-27 12:37:01 +02:00
Alexey Kudravtsev
2f9ac87d26 some methods returning arrays marked notnull 2017-03-15 13:36:23 +03:00
peter
7b262689ff find class inheritors outside its direct use scope (IDEA-167877) 2017-02-08 19:18:03 +01:00
Anna Kozlova
d3a11a0b0d AppManager.getApplication().runReadAction() -> ReadAction.compute 2017-01-27 20:26:16 +03:00
Alexey Kudravtsev
677a5280eb annotate varargs methods with SafeVarargs or add corresponding external annotation to get rid of yellow callsites 2016-10-24 15:11:30 +03:00
peter
45a73ae1f3 AnnotatedElementsSearch.Parameters.isApproximate false by default (IDEA-161355) 2016-09-16 16:01:00 +02:00
peter
e9790ebb6a IDEA-161355 InjectionCache.getAnnoIndex should be faster 2016-09-16 15:54:58 +02:00
peter
fa2142d2ea cache effective reference search scopes 2016-08-24 17:53:02 +02:00
Anna.Kozlova
78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Anna Kozlova
250c77b260 remove unused (wrong named) EP declaration 2016-07-01 11:02:40 +03:00
Alexey Kudravtsev
7c86c5d7b1 removed confusing checkInheritance parameter 2016-05-27 15:48:07 +03:00
Anna.Kozlova
36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Alexey Kudravtsev
3b521f997c dangling javadocs removed 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev
9859f39e8c notnull, cleanup 2016-04-04 14:02:59 +03:00
Alexey Kudravtsev
ab23f498d1 take nameCondition into account for direct subclass search, deprecations 2016-04-01 14:37:47 +03:00
Alexey Kudravtsev
639aea8f13 deprecate dangerous and useless search(checkInheritance) method 2016-03-31 12:33:55 +03:00
Alexey Kudravtsev
14e866598a cache repeated requests for class inheritors and method overriders to speedup highlighting of heavily subclassed library classes to fix IDEA-152346 Syntax highlighting takes 45 seconds 2016-03-28 14:59:27 +03:00
Alexey Kudravtsev
3425838d56 typo 2016-03-28 14:59:27 +03:00
Alexey Kudravtsev
6215f811c2 inline parameter, cleanup 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev
cf996c91f0 lambdify 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev
f6c1a56465 optimisation: use DirectClassInheritorSearcher when deep=false 2016-03-23 13:56:51 +03:00
Alexey Kudravtsev
b63f4f58d9 notnull 2016-03-22 19:13:45 +03:00
Alexey Kudravtsev
046b65d3c5 lamdify 2016-03-22 15:40:56 +03:00
Alexey Kudravtsev
6ca5d96d55 notnull 2016-03-18 12:06:16 +03:00
Alexey Kudravtsev
0714e7a97a notnull 2016-03-09 16:29:19 +03:00
peter
7774c07d85 correct typo in PsiShortNamesCache.processAllMethodNames 2015-10-21 11:03:42 +02:00
peter
51f0d89314 add read action to ClassInheritorsSearch mapper (EA-73277 - assert: SmartPointerManagerImpl.createSmartPsiElementPointer) 2015-09-18 19:08:48 +02:00
Dmitry Jemerov
d811626884 fix broken code formatting 2015-09-01 21:04:26 +02:00
Dmitry Jemerov
ca0abe3b24 pass search parameters to ScopedQueryExecutor.getScope() (IDEA-CR-4486) 2015-08-20 20:12:42 +02:00
Dmitry Jemerov
0f00d84755 API for more efficient search of test classes (KT-8557) 2015-08-20 18:59:59 +02:00
peter
e4489cbfba hold no references to PSI (and possibly AST) during long ClassInheritorsSearch (https://youtrack.jetbrains.com/issue/IDEA-144136#comment=27-1096458) 2015-08-20 17:39:33 +02:00
peter
3af3676154 make com.intellij.psi.search.searches.AllClassesSearch.EP_NAME final 2015-08-12 17:07:47 +02:00
peter
5611369cc1 move java class inheritor searcher to a separate class in impl 2015-07-22 15:47:39 +02:00
peter
1cd157c449 ClassInheritorsSearch: remove API not used by kotlin plugin 2015-07-22 15:47:39 +02:00
peter
b0d813f26d introduce DumbAwareSearchParameters and delay reference search executors until smart mode by default 2015-03-12 17:36:47 +01:00
peter
4ddd214f43 don't do psi.getProject each time a searcher needs it to run a read action via dumb mode, because getProject itself requires a read action 2015-03-11 14:49:37 +01:00