Alexey Sedunov
735fd6c626
Move: Fix detection of imported declarations and processing of extension usages
...
#KT-5787 Fixed
#KT-4959 Fixed
2014-09-23 12:50:46 +04:00
Alexey Sedunov
741e5f61e9
Extract Function: Implement duplicate search
2014-09-18 13:28:30 +04:00
Alexey Sedunov
a3758f9fa3
PSI Pattern Matching: Implement expression unifier
2014-09-18 13:28:24 +04:00
Natalia Ukhorskaya
3dcfae4a81
Debugger: delegated property should be visible in debugger
...
#KT-4699 In Progress
#KT-3582 Fixed
2014-09-17 13:59:53 +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
Natalia Ukhorskaya
5c0c22d087
Stepping: do not step into kotlin standard library
...
#KT-2076 Fixed
2014-08-29 15:17:13 +04:00
Natalia Ukhorskaya
741f55d89c
Debugger: Add filter for Kotlin specific classes
...
#KT-2076 Fixed
2014-08-29 15:17:12 +04:00
Valentin Kipyatkov
ced2abb860
Converted AutoImportFix to Kotlin
2014-08-27 19:07:38 +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
67606c55e7
Rename: Initial support of naming conventions
2014-08-08 18:59:49 +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
620c018b54
Converted more completion code to Kotlin
2014-08-07 21:55:13 +04:00
Valentin Kipyatkov
7219a521d7
Converted more completion code to Kotlin
2014-08-07 21:55:13 +04:00
Valentin Kipyatkov
3f62a96028
Converting completion code to Kotlin
2014-08-07 21:55:13 +04:00
Valentin Kipyatkov
a2fa5bc536
J2K: more correct set of annotations to drop
2014-07-25 16:54:23 +04:00
Pavel V. Talanov
7269e383cf
Rewrite JetPsiFactory to kotlin, make project a property
...
Instead of passing to every function
All static methods are now member functions
2014-07-15 16:41:12 +04:00
Alexey Sedunov
f1445ba635
Extract Function: Improve container selection UI
2014-07-11 19:13:43 +04:00
Alexey Sedunov
ac17594f67
Extract Function: Capitalize conflict messages
2014-07-11 19:13:33 +04:00
Valentin Kipyatkov
acc58173da
Java to Kotlin converter: added auto-conversion run of Kotlin analyzer. Implemented first fix with it - redundant !! removal
2014-07-10 23:20:39 +04:00
Valentin Kipyatkov
d3a1fa6b9a
KT-5405 J2K: convert for's through indices of some list or array into use of ".indices" + fixed a bug in for-statement conversion
...
#KT-5405 Fixed
2014-07-10 23:20:38 +04:00
Valentin Kipyatkov
a99f6f3774
Java to Kotlin converter: honor external Nullable/NotNull annotations
2014-07-10 23:20:32 +04:00
Nikolay Krasko
a2fdfc714f
Update to idea 138.777
2014-06-26 16:43:13 +04:00
Nikolay Krasko
a0e45e9a12
Merge master into idea14
...
Conflicts:
.idea/runConfigurations/All_Tests.xml
idea/src/org/jetbrains/jet/plugin/conversion/copy/ConvertJavaCopyPastePostProcessor.kt
idea/tests/org/jetbrains/jet/plugin/refactoring/introduce/introduceVariable/AbstractJetExtractionTest.kt
idea/tests/org/jetbrains/jet/shortenRefs/AbstractShortenRefsTest.kt
2014-06-25 16:26:01 +04:00
Nikolay Krasko
693080acfc
Smart enter for if statement
...
#KT-3600 In Progress
2014-06-25 14:22:56 +04:00
Alexey Sedunov
5be7eb8a5c
Shorten References: Do not optimize imports until shortening is finished
...
#KT-5227 Fixed
2014-06-23 19:32:27 +04:00
Nikolay Krasko
90f3996dd3
Idea 138: Add custom kotlin search for kotlin properties
2014-06-20 17:14:44 +04:00
Nikolay Krasko
1e3270a050
Idea 138: Update to Idea 138.515
2014-06-20 17:14:28 +04:00
Alexey Sedunov
a980086b54
Pseudocode: Add explicit type predicates to magic instructions
2014-06-19 22:04:41 +04:00
Alexey Sedunov
eabe2fcc8a
Pseudocode: Translate instruction classes to Kotlin
2014-06-19 22:04:34 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Valentin Kipyatkov
1e39021bd3
Java to Kotlin convertor: making code more "Kolin-like" + numerous micro refactorings
2014-06-03 17:29:00 +04:00
Nikolay Krasko
f1f13d1f2a
Show members from supertypes in file structure view (KT-4448)
...
#KT-4448 Fixed
2014-05-30 00:04:06 +04:00
Nikolay Krasko
dfd66440b4
Tests for file structure
2014-05-30 00:04:03 +04:00
Pavel V. Talanov
9ef700b081
Use HintManager instead of JBPopupFactory to notify of intention failure
2014-05-22 15:48:01 +04:00
Nikolay Krasko
b958e0d6b8
Allow empty blocks for classes and function literals
2014-05-16 17:10:02 +04:00
Natalia Ukhorskaya
9be8501b60
Remove NotNull annotation
2014-05-15 18:02:34 +04:00
Valentin Kipyatkov
9ae59db329
Smart completion: more correct Tab key handling
...
#KT-4954 Fixed
2014-05-07 22:50:20 +04:00
Natalia Ukhorskaya
8bbbe8f0f6
Convert JetCodeFragment to Kotlin
2014-05-05 16:12:32 +04:00
Natalia Ukhorskaya
2ffcc5124e
Debugger: use extract method to get function arguments
2014-04-23 18:09:59 +04:00
Natalia Ukhorskaya
347e6d9058
Debugger: Implement EvaluatorBuilder for evaluate expression for kotlin files
2014-04-23 18:09:53 +04:00
Natalia Ukhorskaya
417ec25fb8
Debugger: implement CodeEditor for evaluate expression action
2014-04-23 18:09:52 +04:00
Natalia Ukhorskaya
a1fa366e8f
Make JetExpressionCodeFragmentImpl implement JavaCodeFragment
2014-04-23 18:09:49 +04:00
Natalia Ukhorskaya
c9fc9aa005
Add annotations from eval4j
2014-04-23 18:09:33 +04:00
Valentin Kipyatkov
134496d182
Smart completion: special items with "!!" and "?:" for nullable members
2014-04-21 22:14:20 +04:00
Valentin Kipyatkov
4968377969
Smart completion: lambda item uses template to allow change parameter names
2014-04-21 22:06:15 +04:00
Alexey Sedunov
24d8557a5a
Translate AbstractJetExtractionTest to Kotlin
2014-04-17 19:01:15 +04:00
Alexey Sedunov
1fe6df268a
Extract Function: UI and refactoring handler
2014-04-17 19:01:04 +04:00
Valentin Kipyatkov
ad791d0480
Smart completion: some code improvements
2014-04-17 14:39:30 +04:00