Commit Graph

19490 Commits

Author SHA1 Message Date
Andrey Breslav 830e4dfd98 Pointless annotations removed 2014-12-23 15:07:45 +03:00
Andrey Breslav 0880c20614 Rename ONLY_CLASSES -> ONLY_CLASSES_AND_PACKAGES 2014-12-23 15:07:45 +03:00
Andrey Breslav e86b412a61 Merge pull request #537 from JetBrains/rr/nik
fixed typo in file name
2014-12-23 15:03:18 +03:00
Valentin Kipyatkov db6bf787fc Fixed NPEs 2014-12-23 14:52:46 +03:00
nik 2a60c6d759 fixed typo in file name 2014-12-23 14:41:00 +03:00
Natalia Ukhorskaya 9283daccb6 Debugger: fix evaluate expression for traits 2014-12-23 14:40:28 +03:00
Natalia Ukhorskaya 704f8d1446 Debugger: use intellij method to invoke method (should mute breakpoint during invocation) 2014-12-23 14:40:28 +03:00
Natalia Ukhorskaya 8896aa93b4 Fix NPE in ReferenceVariantsHelper
#KT-6500 Fixed
2014-12-23 14:40:27 +03:00
Natalia Ukhorskaya e35b960eb5 Stepping: do not write line numbers for call arguments
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya c66af565f6 Make LineNumberTest auto-generated 2014-12-23 14:40:25 +03:00
Natalia Ukhorskaya 449ebc35ef Debugger: add ability to evaluate expressions on closing bracket 2014-12-23 14:40:25 +03:00
Natalia Ukhorskaya 261ced59c5 Correct labels for local variables 2014-12-23 14:40:24 +03:00
Natalia Ukhorskaya 1422cc4794 Minor: replace deprecated function call 2014-12-23 14:40:23 +03:00
Natalia Ukhorskaya 0dcb5b05b6 Local variables should be visible on return statement in debugger
#KT-6248 Fixed
2014-12-23 14:40:23 +03:00
Valentin Kipyatkov 311a3a75c8 Code completion: do not list instance members from context with no instance
#KT-6388 Fixed
 #KT-4422 Fixed
 #KT-5516 Fixed
2014-12-22 18:26:03 +03:00
Pavel V. Talanov d33e60b876 Reintroduce change erroneously reverted in 2fec18ffa7 2014-12-22 16:05:15 +03:00
Pavel V. Talanov 69ec789013 Support PRIVATE_TO_THIS in cls stub builder 2014-12-22 16:05:15 +03:00
Svetlana Isakova 6489ff2cb6 Ignore constraint from implicit 'in Nothing'
From Array<T> <: Array<out Int> we may generate T >: Nothing (implicit) and T <: Int (explicit).
Without ignoring we'll infer 'Nothing' for T too often
2014-12-22 12:04:42 +03:00
Pavel V. Talanov 70f6fcadc9 Increase stub version 2014-12-21 14:23:43 +03:00
Pavel V. Talanov 15add4bd64 Remove no longer meaningful utils from JavaResolverUtils 2014-12-21 14:23:42 +03:00
Pavel V. Talanov 24f1635d2c Filter out duplicate navigation targets for references in library source 2014-12-21 14:23:42 +03:00
Pavel V. Talanov 7684e08000 Update TypeInstantiationItems
To maintain old behaviour
2014-12-21 14:23:41 +03:00
Pavel V. Talanov e7e3ac1318 ProjectRootsUtil: fix check for library class and source file for js projects
Update JetSourceFilterScope
Extract JsProjectDetector
2014-12-21 14:23:40 +03:00
Pavel V. Talanov fbefd08de3 Structure view for compiled kotlin files 2014-12-21 14:23:39 +03:00
Pavel V. Talanov 01804a8853 Use module file index in getModuleInfo to determine source/test module info
Do not include files that are in content of module but are not in source content
Do not log error in case there is compiled kotlin file in source content
2014-12-21 14:23:39 +03:00
Pavel V. Talanov 2fec18ffa7 Limit search scope in DecompiledNavigationUtils
To avoid finding classes that are not under relevant roots
2014-12-21 14:23:38 +03:00
Pavel V. Talanov 08241f508e KotlinDirectInheritorsSearcher: exclude library source from search 2014-12-21 14:23:37 +03:00
Pavel V. Talanov 063870d4de Enable DeclarationHintSupport for decompiled kotlin files 2014-12-21 14:23:36 +03:00
Pavel V. Talanov 14649337ae Enable basic highlighting in decompiled kotlin files 2014-12-21 14:23:36 +03:00
Pavel V. Talanov 256e9a6b86 Refactor ProjectRootsUtil
Account for cases when there library source files under classes root
2014-12-21 14:23:35 +03:00
Pavel V. Talanov ba22c3d790 Remove all usages of JetFromJavaDescriptorHelper
Rewrite some utilities in KotlinIndicesHelper
ResolutionFacade#resolveToDescriptor() should be avoided on psi from compiled kotlin for now
2014-12-21 14:23:35 +03:00
Pavel V. Talanov dbdf3c0e98 Update JetQuickDocumentationProvider 2014-12-21 14:23:34 +03:00
Pavel V. Talanov 5573887c29 Minor: Add TODO 2014-12-21 14:23:33 +03:00
Pavel V. Talanov 571e71606c getModuleInfo for KotlinLightClassForDecompiledDeclaration 2014-12-21 14:23:33 +03:00
Pavel V. Talanov f72f67ed97 Update NavigateToDecompiledLibraryTest 2014-12-21 14:23:32 +03:00
Pavel V. Talanov 55589a32da NavigateFromLibrarySourcesTest: update test for library source light classs 2014-12-21 14:23:32 +03:00
Pavel V. Talanov 8d01c433f0 Build light classes for compiled kotlin files
This is needed for kotlin binaries to be resolved from java code
2014-12-21 14:23:31 +03:00
Pavel V. Talanov ec4f506f8f Minor: move some code to super class in Kotlin light classes 2014-12-21 14:23:31 +03:00
Pavel V. Talanov eb1feeb480 Tests for kotlin nested class members completion from java 2014-12-21 14:23:30 +03:00
Pavel V. Talanov 56e3983dc9 Move and rename JavaElementFinderMultiFileTest
It is now relevant for IDE only
2014-12-21 14:23:30 +03:00
Pavel V. Talanov 64549b5dd3 Update DecompiledTextForWrongAbiVersionTest 2014-12-21 14:23:29 +03:00
Pavel V. Talanov 15b2977b85 Refactor: refine API of LightClassGenerationSupport
Move some specific code to IDELightClassGenerationSupport
2014-12-21 14:23:28 +03:00
Pavel V. Talanov 33fc241158 Rework go to symbol/class and getNavigationElement() for kotlin declarations
Based on work by geevee
2014-12-21 14:23:28 +03:00
Pavel V. Talanov 5676b0bf7c Minor: add another mode to JetSourceFilterScope 2014-12-21 14:23:27 +03:00
Pavel V. Talanov 79ce7135a4 Update AbstractDecompiledTextTest 2014-12-21 14:23:27 +03:00
Pavel V. Talanov 6cf14f5500 Update JetClassFileViewProvider: JetClsFile is Kotlin compiled file 2014-12-21 14:23:26 +03:00
Pavel V. Talanov 6362336208 Test stubs for compiled Kotlin files 2014-12-21 14:23:26 +03:00
Pavel V. Talanov afc6ba5e16 Build kotlin stubs for compiled Kotlin files
This means that JetPsi would be built for compiled kotlin files
2014-12-21 14:23:25 +03:00
Pavel V. Talanov e9fa9bac47 Minor: Extract LoggingErrorReporter 2014-12-21 14:23:24 +03:00
Pavel V. Talanov e20dd42aa4 Refactor stubs:
Convert all interface classes to kotlin and move them into one file
Convert some of Impl classes
Fix typo: hasValOrValNode
Extract ModifierMaskUtils
Minors
2014-12-21 14:23:24 +03:00