Commit Graph

927 Commits

Author SHA1 Message Date
Alexey Sedunov b2eb53e4b2 Move/Change Package: Package name validation
#EA-70631 Fixed
2015-09-03 22:06:06 +03:00
Dmitry Jemerov 2ae126e994 more understandable name for the stepping filter 2015-09-03 16:48:54 +02:00
Alexander Udalov c90bcb41f3 Refactor and fix buildDecompiledText#appendDescriptor
Make it clear that first we render all enum entries, then the companion if it
exists, then anything else. Previously the companion wasn't rendered in the
case when the scope did not contain anything else (which was the case for the
scope of a class not found in the decompiler)
2015-09-01 15:06:45 +03:00
Nikolay Krasko 142ab96a5a Run/Debug editor gutter drop down does not work in Kotlin files (KT-8720)
#KT-8720 Fixed
2015-08-31 21:38:46 +03:00
Yan Zhulanow e7703df0b6 Use a single AnnotatedCallableKind enum item for property 2015-08-31 15:33:14 +03:00
Yan Zhulanow 499d5e1103 Support property and field annotations in CallableClsStubBuilder 2015-08-31 15:33:07 +03:00
Yan Zhulanow 1b9dab47ec Deserialize property and field annotations 2015-08-31 15:33:03 +03:00
Yan Zhulanow 08c678ef46 Deserialize receiver parameter annotations for extension functions 2015-08-31 15:32:55 +03:00
Dmitry Jemerov 1f170e48e7 use references search for unused symbol inspection 2015-08-31 12:08:02 +02:00
Stanislav Erokhin 4c7bafce45 Global replace JetScope to LexicalScope 2015-08-29 01:45:56 +03:00
Denis Zharkov 4a3fbcc16e Make project compilable after fixes about generic nullability 2015-08-28 18:50:26 +03:00
Valentin Kipyatkov 2de5229098 Additional item inserting lambda provided by completion when all parameters before the last are optional 2015-08-28 16:22:47 +03:00
Dmitry Jemerov 19eea4bf4e store cached Java file stub in the userdata of a JetFile (project specific), not of VirtualFile (app global) 2015-08-28 15:16:22 +02:00
Nikolay Krasko 1a47d6754d Allow to search marker classes in dumb mode (EA-67309) 2015-08-28 13:44:02 +03:00
Dmitry Jemerov 63d477e355 fix broken merge; support for renaming primary constructor parameter which declares an overridden property 2015-08-27 21:15:47 +02:00
Dmitry Jemerov ef4b32db0d fix find usages and rename for primary constructor properties
#KT-8807 Fixed
2015-08-27 21:15:46 +02:00
Dmitry Jemerov 18223dfaaa update backing field references when renaming Kotlin property
#KT-7905 Fixed
2015-08-27 14:31:17 +02:00
Stanislav Erokhin d92e71861e Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider 2015-08-27 12:01:13 +03:00
Dmitry Jemerov ca20d9c1b3 use custom exception class to represent the "no descriptor for declaration" case 2015-08-26 17:33:57 +02:00
Natalia Ukhorskaya 06b13f1292 Debugger: get topmost element at offset as contextElement 2015-08-26 12:16:06 +03:00
Zalim Bashorov 0ba18ca8cd Track the top level declarations, note not usages
It'll be useful for more accurate tracking dependencies inside package.
2015-08-24 19:50:03 +03:00
Dmitry Jemerov 704e72eee1 correcty find Java usages of static methods generated for companion object members annotated as jvmStatic
#KT-8902 Fixed
2015-08-24 18:12:13 +02:00
Dmitry Jemerov 24f45a382e ReferencesSearch finds references of data class component functions in Java code
#KT-8808 Fixed
2015-08-24 18:12:05 +02:00
Dmitry Jemerov 056d8dfd9f correcty index escaped identifiers
#KT-8846 Fixed
2015-08-24 15:47:28 +02:00
Pavel V. Talanov 608345df7b Improve ResolutionFacade api: it stores moduleInfo and provides moduleDescriptor
Remove some redundant parameters passed along with ResolutionFacade
2015-08-21 21:11:59 +03:00
Dmitry Jemerov c00fbb236f don't perform full resolve and stub building for isInheritor() checks
#KT-8656 Fixed
2015-08-21 12:08:53 +02:00
Dmitry Jemerov f2ff752dd1 KotlinLightClassForExplicitDeclaration: J2K 2015-08-21 12:08:51 +02:00
Nikolay Krasko e13d1d3e44 Workaround for exception from analyze (KT-8749) 2015-08-21 13:00:49 +03:00
Nikolay Krasko ffb9cb0ce0 Cache information about library in file user data (KT-8537)
KT-8537 Kotlin plugin is causing Intellij to freeze during Indexing

 #Fix KT-8537
2015-08-20 15:28:30 +03:00
Nikolay Krasko 0946e1b279 Store on local jar files to have valid timestamp 2015-08-20 15:28:29 +03:00
Nikolay Krasko ee36de9602 Simplify jar-processor framework 2015-08-20 15:28:28 +03:00
Nikolay Krasko 3b14241224 Create background jar-processor that can store meta information for jars 2015-08-20 15:28:27 +03:00
Pavel V. Talanov 6c48c29bf9 Make AnalyzerFacade an abstract class instead of interface
Seems to workaround some compiler bug
2015-08-19 21:18:46 +03:00
Pavel V. Talanov 72710c0318 Fix usages of AnalyzerUtil
Sadly contains some changes that hard to merge into appropriate commits introduced after rebasing repeatedly
2015-08-19 21:18:45 +03:00
Pavel V. Talanov ea8c17adeb Pass ResolutionFacade into ReferenceVariantsHelper and ShadowedDeclarationsFilter 2015-08-19 21:18:43 +03:00
Pavel V. Talanov d7c1798ee6 Move ResolutionFacade to ide-common module 2015-08-19 21:18:42 +03:00
Pavel V. Talanov dd0823010f Refactor: Make ResolutionFacade.getFileTopLevelScope an utility 2015-08-19 21:18:42 +03:00
Pavel V. Talanov 0d78c8acb5 Refactor: Make ResolutionFacade.resolveImportReference an utility 2015-08-19 21:18:41 +03:00
Pavel V. Talanov 06b96c2b12 Drop CacheExtension 2015-08-19 21:18:40 +03:00
Pavel V. Talanov e041042328 Minor: move getResolveScope out of ResolutionFacade 2015-08-19 21:18:40 +03:00
Pavel V. Talanov d09f4a4dbb Merge ResolutionFacadeImpl and KotlinResolveCache, rewrite JavaResolveExtension 2015-08-19 21:18:39 +03:00
Pavel V. Talanov 94431bc3fa Move ResolutionFacadeImpl to a separate file 2015-08-19 21:18:39 +03:00
Pavel V. Talanov e88ea1f807 Improve naming 2015-08-19 21:18:38 +03:00
Pavel V. Talanov 5836fd39e4 Refactor: Move AnalyzerUtil to "idea-analysis" module and rewrite using new api 2015-08-19 21:18:36 +03:00
Pavel V. Talanov 6802973743 Refactor: merge duplicated code for code fragment analysis
Introduce CodeFragmentAnalyzer
2015-08-19 21:18:35 +03:00
Pavel V. Talanov ddbf4c18d3 Minor: inject targetPlatform into ResolveElementCache 2015-08-19 21:18:33 +03:00
Pavel V. Talanov 7cbac51018 Refactor: merge ElementResolver into ResolveElementCache
This is a bit questionable since there are plans to use it in eclipse plugin, but we do it for now
It's possible that we can come up with a better abstraction later
2015-08-19 21:18:32 +03:00
Pavel V. Talanov 0c2650c86c Provide API to get frontend services from plugin code via resoltion facade
API to create ide-side services using frontend services (for now "ide services" cannot be injected into other ide services)
2015-08-19 21:18:31 +03:00
Pavel V. Talanov 52bc84cb5f Introduce LocalDescriptorResolver which handles differences in local declaration resolution between compiler and ide environments 2015-08-19 21:18:28 +03:00
Valentin Kipyatkov b3adf27b81 Don't invoke applicabilityRange twice for each highlighting 2015-08-19 20:46:38 +03:00