Commit Graph

23 Commits

Author SHA1 Message Date
Alexander Udalov baaa3ef50a Remove KotlinSignature annotations from project code 2015-10-13 20:29:16 +03:00
Valentin Kipyatkov c2d37805be Converted code to Kotlin 2014-12-18 19:02:15 +03:00
Valentin Kipyatkov a84b32af98 KT-5492 J2K: convert field with getter/setter to property
#KT-5492 Fixed
2014-10-14 21:23:24 +04:00
Pavel V. Talanov 1e9718f55b Do not try to copy references in dumb mode
#KT-4766 Fixed
2014-10-07 16:43:32 +04:00
Pavel V. Talanov 691068c0c2 Implement LibraryDependenciesCache 2014-09-30 21:58:59 +04:00
Pavel V. Talanov fe136b500a Libraries cache drops only on roots change 2014-09-23 15:56:34 +04:00
Pavel V. Talanov 88b262faf1 Make test source module a friend of production source module 2014-09-12 13:08:31 +04:00
Pavel V. Talanov 10666d777d Split ModuleSourceInfo into ModuleProductionSourceInfo and ModuleTestSourceInfo 2014-09-12 13:08:29 +04:00
Evgeny Gerashchenko 75ffc0f5ff Converted KotlinBuilder from Java to Kotlin 2014-08-27 16:35:06 +04:00
Pavel V. Talanov db5303c019 Implement modules in IDE
IDE:
Rewrite AnalyzerFacade and implementations for JS and JVM to support creating separate analyzers for each module
Introduce ModuleInfo which is an intermediate entity between configuration (tests or idea modules) and ModuleDescriptor
Implement IdeaModuleInfos which represent IDEA modules, sdks and libraries
Add (somewhat thin) test checking their behaviour
Implement getModuleInfo() - utility to obtain IdeaModuleInfo for PsiElement
Drop Project.getLazyResolveSession() - not possible to obtain resolve session for the whole project any more
Adjust JavaResolveExtension accordingly
KotlinSignature Intention/Marker - make sure that analyzed element is cls element (he's not in resolve scope otherwise)

LightClasses:
Create separate package light classes for each module
Java code can only reference light class from the first module among it's dependencies
Duplicate jvm signature is only reported on package declarations inside one module

Injectors:
Receive GlobalSearchScope as paramer for VirtualFileFinder and JavaClassFinder
which allows to narrow analyzer scope

JDR:
Introduce ModuleClassResolver resolves java classes in correct java descriptor resolver (corresponding ModuleDescriptor)
Add test checking that java classes belong to correct module

Debugger:
Provide context to analyze files created by debugger in

Converter:
Postprocessor now needs a context to analyze resulting code in

JetPsiFactory:
Add verification that files created by psi factory are not analyzed without context (that is almost never a good idea)

Other:
Use new API in various tests, utilities, run configuration producers and builtin serializers
Various "TODO: (module refactoring)" which mark the unfinished parts
2014-08-22 22:58:54 +04:00
Alexey Sedunov d226a11c8e Find Usages: Add support of naming conventions
#KT-1356 Fixed
2014-08-08 18:59:47 +04:00
Valentin Kipyatkov 3f62a96028 Converting completion code to Kotlin 2014-08-07 21:55:13 +04:00
Alexey Sedunov f1445ba635 Extract Function: Improve container selection UI 2014-07-11 19:13:43 +04:00
Evgeny Gerashchenko ca1ee69e4c Loading descriptors from incremental cache instead of package classes. 2014-06-18 22:56:33 +04:00
Valentin Kipyatkov 4968377969 Smart completion: lambda item uses template to allow change parameter names 2014-04-21 22:06:15 +04:00
Valentin Kipyatkov f984dbc5b6 Smart completion to insert comma when in argument list 2014-04-17 14:39:28 +04:00
Nikolay Krasko 8ddbdab8c8 Support library create with relative paths
#KT-4644 In Progress
2014-03-18 16:16:22 +04:00
Nikolay Krasko 0dfbe08255 Test for KT-4482
#KT-4482 Fixed
2014-03-03 19:24:26 +04:00
Alexey Sedunov 7f74ea5081 Translate KotlinSafeDeleteProcessor to Kotlin 2014-02-03 13:47:02 +04:00
Alexey Sedunov 786e59bbfa Implement "Override hierarchy" view 2014-01-15 16:49:39 +04:00
Nikolay Krasko ced0a90573 Fix memory leak by removing storing analyze result from annotators 2013-10-22 22:45:27 +04:00
Andrey Breslav e829ef8304 JetPsiPrecedences rewritten in Kotlin 2013-09-24 07:05:20 -07:00
Nikolay Krasko ba0c9892d6 Rewrite JetFunctionInsertHandler at kotlin
JetFunctionInsertHandler.kt is a replacement for
JetFunctionInsertHandler.java
2013-09-04 20:45:17 +04:00