Dmitry Jemerov
be1022db2b
Fix compilation NewKotlinActivityAction, gradle sync classes moved
2017-08-10 22:05:45 +03:00
Vyacheslav Gerasimov
c07096c9d7
Fix compilation AbstractParameterInfoTest
2017-08-10 22:05:45 +03:00
Vyacheslav Gerasimov
768305adc8
Fix compilation KotlinModuleBuilder
2017-08-10 22:05:44 +03:00
Dmitry Jemerov
7fffb7b553
Remove UAST services registration from Kotlin plugin
2017-08-10 22:05:44 +03:00
Alexey Tsvetkov
46a3a59b81
Fix missing lookups from deserialized JS descriptors
2017-08-10 21:19:42 +03:00
Dmitry Jemerov
022430cb59
Set correct library kind for transitive dependencies
2017-08-10 11:43:35 +02:00
Vyacheslav Gerasimov
adfc481c7a
Add ProjectImportProvider for *.gradle.kts file to import it as module
...
#KT-19466 Fixed
2017-08-09 15:34:19 +03:00
Vyacheslav Gerasimov
4405021f85
Add ProjectOpenProcessor for *.gradle.kts file to open it as project
...
#KT-19024 Fixed
2017-08-09 15:34:11 +03:00
Dmitry Jemerov
73a4da6c56
Cache list of dependent modules in modification tracker
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
a7bbf3d1f8
Don't increase OOCB count when a REPL line is modified
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
ac96c31a7d
Retrieve module descriptors for implementing modules on demand
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
0b45d25bb1
Fix compilation after rebase
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
bdbe134b60
Recreate module descriptors for affected modules only on a change
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
dde1f4b8f3
Fix OOCB updates for code fragments
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
36cabf1bfc
Move entire logic for ModuleDescriptor setup into ResolverForProjectImpl
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
d6a9a49968
Disable tracking of Kotlin files by Java OOCB listener
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
aafe7e6f1b
Refactoring: move createResolverForModule() into ResolverForProjectImpl
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
fcc067435e
Refactoring: streamline module resolver setup code
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
194deccd09
Remove one level of indirection from ModuleResolverProvider creation
2017-08-09 13:26:09 +02:00
Alexey Sedunov
cf3615d279
Kotlin Facet: Fix element ordering in compiler arguments XML
...
Do not rely on method list as it's ordered differently
2017-08-09 00:03:28 +03:00
Valentin Kipyatkov
e52c3b4c81
Rewritten KDoc-link resolve and completion to work more reasonably
2017-08-08 22:06:04 +03:00
Valentin Kipyatkov
998814b1a1
Support for import aliases in both resolve and completion in KDoc
2017-08-08 22:06:04 +03:00
Valentin Kipyatkov
9361cd895c
Support for import aliases in code completion
...
#KT-8848 Fixed
2017-08-08 22:06:04 +03:00
Nikolay Krasko
9c37d0a007
Disable building dependencies caches in configure GSK tests
2017-08-08 15:26:16 +03:00
Nikolay Krasko
60e330b6f3
Update configure tests after binding comments and spaces to script body
2017-08-08 15:26:16 +03:00
Valentin Kipyatkov
ca418c727e
KT-19278 Optimize imports on the fly should not remove incomplete import while it's being typed
...
#KT-19278 Fixed
2017-08-08 12:27:16 +03:00
Valentin Kipyatkov
8a17e6c1c9
WIP
2017-08-08 12:27:15 +03:00
Valentin Kipyatkov
e53b1a1e92
KT-19277 Optimize imports on the fly should not work in test data files
...
#KT-19277 Fixed
2017-08-08 12:27:15 +03:00
Mikhail Glukhikh
5904b7f257
Remove ModalityState.any() from J2kPostProcessor #KT-19453 Fixed
2017-08-08 11:33:32 +03:00
Mikhail Zarechenskiy
8f8143d3ed
Fix IAE for wrong use-site @file annotation
...
#EA-100189 Fixed
2017-08-07 18:49:57 +03:00
Mikhail Zarechenskiy
4d4c39939f
Report full package FQ name in compilation errors related to visibility
...
#KT-18966 Fixed
2017-08-07 18:49:55 +03:00
Daniil Vodopian
b24c1bf06c
KT-9669: introduced JoinStatementAddSemicolonHandler; registered the handler in plugin.xml; added test coverage ( #1232 )
2017-08-07 16:20:40 +02:00
Dimach
d624ed4aff
KT-18482: "Move lambda argument to parenthesis" action generate uncompilable code fixed ( #1226 )
...
* KT-18482 fixed
* Moved code to separate method and changed code to cover few more cases.
* Code style fixes.
2017-08-07 15:43:44 +02:00
Toshiaki Kameyama
64eeb479aa
Take nullability annotations into account in QF correcting override
...
So Java NotNull annotated is converted to `Type`
and Java Nullable annotated to `Type?` accordingly
So #KT-19299 Fixed
2017-08-07 13:52:25 +03:00
Andrius Semionovas
666c241479
KT-19126 Add convert property initializer to getter in interfaces ( #1224 )
2017-08-07 11:53:37 +02:00
Kirill Rakhman
2536615e0e
detect valid extension main functions ( #1227 )
...
Fixes #KT-18083
2017-08-07 11:39:34 +02:00
Nikolay Krasko
8d226594ff
Put comments and whitespaces under body in script files
...
It's more consistent to normal function body for IDE.
Doc comments in file beginning are now sticks to declarations
correctly.
Moving declarations at the end of scripts is fixed
2017-08-07 12:17:17 +03:00
Nikolay Krasko
6194bc10f8
Move statement out of top-level lambda in scripts (KT-19322)
...
#KT-19322 Fixed
2017-08-07 12:12:41 +03:00
Toshiaki Kameyama
dbaec43e4d
Make abstract both member and class while applying "Make abstract"
...
So #KT-12613 Fixed
2017-08-04 21:34:21 +03:00
Toshiaki Kameyama
0a9e0ddba9
Use back-ticks correctly in "Add remaining branches" action
...
So #KT-13985 Fixed
2017-08-04 20:58:46 +03:00
Alexey Sedunov
97a3d343f7
Create Class from Usage: Support nested classes
...
This covers the case when original expression doesn't contains qualifier
Also for local or inner containing classes:
- forbid nested objects
- add 'inner' to nested class declaration
#KT-16404 Fixed
2017-08-04 16:48:36 +03:00
Alexey Sedunov
d30461afc6
Create Class from Usage: Support multiple containers
2017-08-04 16:48:35 +03:00
Alexey Sedunov
78117b3e7b
Create from Usage: Infer expected type from base declarations
...
#KT-17480 Fixed
2017-08-04 16:48:35 +03:00
Alexey Sedunov
3b4891279e
Configuration: Update default settings for Kotlin/JS compiler
2017-08-04 16:48:35 +03:00
Kirill Rakhman
41e5840298
Implement inspection for redundant lambda arrow
...
Fixes #KT-11991
2017-08-03 15:37:04 +02:00
Kirill Rakhman
9ac1a0140c
Add inspection for when with only else ( #1206 )
...
Fixes #KT-12523
2017-08-03 15:30:28 +02:00
Nikolay Krasko
61b10ac330
Make class prepare request pattern more precise (KT-19429)
...
Do not bother with check for irrelevant classes.
#KT-19429 Fixed
2017-08-03 13:11:06 +03:00
Nikolay Krasko
1ef5362edc
Fix breakpoints from Kotlin file placed in irrelevant class (KT-19429)
...
State that there're no locations in given file, if all locations for
line were filtered out because of wrong file name. Need this because
if we throw exception, other positions managers may return locations
without explicit check for file type or file name.
See PositionManagerImpl.java
#KT-19429 Fixed
2017-08-03 13:11:06 +03:00
Nikolay Krasko
3ea4a7fb47
Drop support for JVM 1.4 in debugger
...
Kotlin can't run on such JVM anyway.
2017-08-03 13:11:06 +03:00
Alexey Sedunov
e38cf54dac
Minor: Fix facet/project settings editor
2017-08-03 01:55:44 +03:00