Michael Nedzelsky
c4c8f3c3ea
convert IDEVirtualFileFinder to kotlin
2015-05-26 05:04:01 +03:00
Michael Nedzelsky
6e371e61a9
change extension: IDEVirtualFileFinder.java -> IDEVirtualFileFinder.kt
2015-05-26 05:03:57 +03:00
Michael Nedzelsky
618a8622a1
VirtualFileFinderFactory: introduce JvmVirtualFileFinderFactory, JsVirtualFileFinderFactory
2015-05-26 05:03:51 +03:00
Michael Nedzelsky
3d641b17b4
add KotlinJavaScriptMetaFileIndex: support indexing for Kotlin Javascript meta files
2015-05-26 05:03:45 +03:00
Michael Nedzelsky
48e7c8cd60
convert KotlinClassFileIndex to kotlin
2015-05-26 05:03:42 +03:00
Michael Nedzelsky
38674dd3a1
convert KotlinClassFileIndex to kotlin: change extension: KotlinClassFileIndex.java -> KotlinClassFileIndex.kt
2015-05-26 05:03:40 +03:00
Michael Nedzelsky
85e84b8aef
IDELightClassGenerationSupport: do not try to create stub for non java-class files
2015-05-26 05:03:37 +03:00
Michael Nedzelsky
0815eab3a5
add KotlinJavaScriptMetaFileType
2015-05-26 05:03:34 +03:00
Evgeny Gerashchenko
0488229a61
KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
...
#KT-7693 fixed
2015-05-25 18:33:08 +03:00
Pavel V. Talanov
e4c242e66b
Remove direct usages of ModuleDescriptor#getPackageFragmentProvider()
2015-05-25 13:00:16 +03:00
Alexey Sedunov
b7277cd80c
Find Usages: Use isEquivalentTo() instead of identity equality when matching references with PsiCompiledElement
2015-05-22 20:51:28 +03:00
Alexey Sedunov
b2201026d1
Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
...
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Ilya Gorbunov
79a5e0607d
Fix deprecated replaceAll and replaceFirst usages.
2015-05-22 16:13:53 +03:00
Evgeny Gerashchenko
9b28609d57
Optimized matchesTarget for "(" references
2015-05-22 14:33:11 +03:00
Evgeny Gerashchenko
e50de5d94d
KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
...
KT-7623 Renaming val constructor parameter of a data class is very slow
#KT-7730 fixed
#KT-7730 fixed
2015-05-22 14:33:11 +03:00
Alexey Sedunov
b1f1360081
PSI: Make JetPostfixExpression.getBaseExpression() nullable
...
#KT-7761 Fixed
2015-05-21 19:29:49 +03:00
Alexey Sedunov
14d1d8e1dc
Inspections: Create single diagnostic for inspections based on multiple intentions
...
#KT-7784 Fixed
2015-05-21 19:29:47 +03:00
Natalia Ukhorskaya
2b015ae09a
Debugger: support field watchpoints for kotlin
2015-05-21 19:17:35 +03:00
Ilya Gorbunov
fb342de451
Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator.
2015-05-21 19:07:19 +03:00
Pavel V. Talanov
cfdb1f4ec3
Refactor creation of ModuleDescriptor
...
Add storageManager to ModuleDescriptorImpl (to be used later)
Extract ModuleParameters to hold default imports and platform class map
Introduce MutableModuleContext to simplify module creation code
2015-05-20 19:45:50 +03:00
Svetlana Isakova
0e6babc96b
Converted IdeRenderers to kotlin
2015-05-20 15:19:31 +02:00
Svetlana Isakova
61df8c55e4
Rename IdeRenderers to kt file
2015-05-20 15:19:31 +02:00
Valentin Kipyatkov
7edff172a2
KT-1273 Unused assignment - should highlight assignment instead of expression
...
#KT-1273 Fixed
2015-05-19 23:45:59 +03:00
Pavel V. Talanov
5b14d5be28
ClsStubBuilder: fix stub builder in case of java types annotated with special annotations
2015-05-19 16:01:40 +03:00
Nikolay Krasko
9c507ec9cb
Use equality check when looking for java elements in IDE
2015-05-19 13:04:56 +03:00
Nikolay Krasko
edeea5e399
Refactoring: move JavaDescriptorResolver extensions to idea-analysis module
2015-05-19 13:04:55 +03:00
Mikhail Glukhikh
fdf0ea5546
Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
2015-05-18 16:08:16 +03:00
Pavel V. Talanov
268d43d14a
Change ModuleContext#module type to ModuleDescriptor instead of ModuleDescriptorImpl
2015-05-17 18:24:50 +03:00
Pavel V. Talanov
01efbb1502
Introduce ModuleContext, ProjectContext and use it some of the APIs
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
9d22a39924
Refactor: TopDownAnalysisParameters -> TopDownAnalysisMode
...
No longer implements TypeLazinessToken (was unused)
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
d9c70b5927
Drop TopDownAnalysisParameters#isAnalyzingBootstrapLibrary()
2015-05-17 18:24:48 +03:00
Pavel V. Talanov
f9b6c25498
Refactor: TopDownAnalysisParameters doesn't implement GlobalContext
2015-05-17 18:24:47 +03:00
Dmitry Jemerov
dc9523016a
report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface'
2015-05-15 18:20:39 +02:00
Mikhail Glukhikh
67cce57aeb
Decompiler & stub builder fixed accordingly with new enum syntax.
...
Companion object now directly follows enum entries to avoid having them at the middle.
Some decompiler & stub builder tests fixed accordingly.
2015-05-15 16:13:29 +03:00
Nikolay Krasko
6b64ae77f3
Test light classes from sources have priority over decompiled light classes
2015-05-15 15:29:31 +03:00
Evgeny Gerashchenko
a93cc083d6
Don't try to find local descriptors in decompiled classes.
2015-05-14 21:51:08 +03:00
Alexander Udalov
62d0d5c77f
Minor, fix error message when renaming package facade
2015-05-14 18:40:49 +03:00
Alexey Sedunov
7f05b35332
Minor: Fix checkox mnemonic
2015-05-14 15:47:54 +03:00
Valentin Kipyatkov
181af17315
KT-7704 Intention actions on visibility modifier for quick changing it
...
#KT-7704 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov
ad91d2cd9e
Removed unused deprecated constructors
2015-05-14 01:10:10 +03:00
Valentin Kipyatkov
462074df8c
MergeWhenIntention code refactoring + smaller range
2015-05-14 01:10:09 +03:00
Valentin Kipyatkov
fc3609d403
SimplifyNegatedBinaryExpressionIntention - no i18n + code simplification
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
0422cf402d
RemoveExplicitTypeArguments - no i18n + minor
2015-05-14 01:10:07 +03:00
Valentin Kipyatkov
54051c40dc
Moved 2 intentions from idea-analysis to idea
2015-05-14 01:10:07 +03:00
Valentin Kipyatkov
8095aabd42
Refactored intentions to replace special name calls with operators
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov
a23c6a2cdc
Smaller range + refactoring of ConvertMemberToExtension
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov
a3bd6ca017
Introduced shortcut properties + getArrowNode -> getArrow
2015-05-14 01:10:00 +03:00
Valentin Kipyatkov
4488a6719d
Refactored DeclarationUtils
2015-05-14 01:09:59 +03:00
Valentin Kipyatkov
776e653421
Refactored SafeAccessToIfThenIntention
2015-05-14 01:09:58 +03:00
Valentin Kipyatkov
2b77fe2ff1
Refactored IfThenToDoubleBangIntention
2015-05-14 01:09:56 +03:00