Dmitry Savvinov
00df562a2b
Allow specific native targets to depend on unspecified native target
...
^KT-38769 Fixed
2020-05-25 16:13:10 +03:00
Vladimir Dolzhenko
55dc308688
Projects HL perf test
2020-05-25 13:11:10 +00:00
Vladimir Dolzhenko
1ae7f693c5
Nicer performance tests suite dsl
2020-05-25 13:11:09 +00:00
Vladimir Ilmov
de69962e9d
(UnusedSymbolInspection) alternative accessor names for searching references
...
relates to #KT-38653
2020-05-25 14:49:16 +02:00
Vladimir Ilmov
17df7ade59
(UnusedSymbolInspection) Optimize second call to isCheapEnoughToSearchUsages
...
relates to #KT-38653
2020-05-25 14:49:16 +02:00
Vladimir Ilmov
9e807ebb89
(CoroutineDebugger) Prevent navigation to internalCompiledFiles
...
#KT-39143 fixed
2020-05-25 14:36:22 +02:00
Vladimir Ilmov
545fdb96d5
(CoroutineDebugger) 201 compatibility fix
...
#KT-39143 fixed
2020-05-25 14:36:22 +02:00
Vladimir Ilmov
7a70f8d29e
(CoroutineDebugger) executionContext added to ContinuationVariableValueDescriptor
2020-05-25 14:36:21 +02:00
gcx11
50fc9d3692
KT-10974 - code review changes
2020-05-25 10:40:24 +03:00
gcx11
2382629209
KT-10974 - code review changes
2020-05-25 10:40:24 +03:00
gcx11
a2dc2fe5bb
KT-10974 - small fixes
2020-05-25 10:40:24 +03:00
gcx11
8849a66c00
KT-10974 - add import layout configuration table
2020-05-25 10:40:24 +03:00
Dmitriy Novozhilov
d49c198a7f
[FIR] Correctly initialize extensions in all sessions
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
8d686226c7
[FIR] Introduce FirResolveProcessors
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
3de12f9b09
[FIR] Completely remove old extensions service
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
594a854b4e
[FIR] Reimplement FirExtensionService
...
- Get rid of old FirExtensionsService
- Implement new FirExtensionService
- Remove duplicating code in FirExtensionRegistrar
2020-05-24 18:04:45 +03:00
Dmitriy Novozhilov
0b00015424
[FIR] Deprecate FirExtensionsService
2020-05-24 18:04:44 +03:00
Dmitriy Novozhilov
6d6ed1e755
[FIR] Create session component with registered checkers
2020-05-24 18:04:43 +03:00
Ilya Chernikov
d92e4d28f5
Provide a method to update script definitions after loading into IDE
...
also documenting ScriptDefinitionsProvider
2020-05-21 16:49:56 +02:00
Dmitry Gridin
b808d5f381
TrailingCommaInspection: cleanup code
2020-05-21 13:42:30 +00:00
Dmitry Gridin
ee141ae57b
TrailingCommaInspection: add dependency to settings
...
* Change severity to `INFO`
* Mark useless comma as unused symbol
* Add dependency on `Use trailing comma`
#KT-39069 Fixed
#KT-38568 Fixed
2020-05-21 13:42:29 +00:00
Roman Golyshev
a83b0bef96
KT-38841 Do not call preparePsiElementForWrite if not needed
...
- This call breaks Intention Preview for all intentions that extend
`SelfTargetingIntention`
- This check is actually already performed by the platform before the
intention invocation (but only if `startInWriteAction` returns `true`)
- There are many other intentions which redundantly use this call, but
most of them implement `LocalQuickFix`, which means that they are
inspection based. Currently Intention Preview does not seem to support
this kind of intentions
2020-05-21 11:45:48 +00:00
Roman Golyshev
3903814c9c
Revert "KT-38841 Remove redundant preparePsiElementForWrite call"
...
This reverts commit 165b62da
Something went wrong with the AS40 build
2020-05-20 22:58:49 +03:00
Roman Golyshev
165b62da63
KT-38841 Remove redundant preparePsiElementForWrite call
...
- This call breaks Intention Preview for all intentions that extend
`SelfTargetingIntention`
- This check is actually already performed by the platform before the
intention invocation
- There are many other intentions which redundantly use this call, but
most of them implement `LocalQuickFix`, which means that they are
inspection based. Currently Intention Preview does not seem to support
this kind of intentions
2020-05-20 14:33:21 +00:00
Vladimir Dolzhenko
2d0445ebaa
Add klib extension to ARCHIVE fileType
...
Fixed to #KT-38767
Relates to #KT-38571
2020-05-20 13:24:11 +00:00
Vladimir Dolzhenko
88efac00b3
Disable klib fileType in lue of KLibFileTypeFactory
...
Relates to #KT-38767
Relates to #KT-38571
2020-05-20 10:07:03 +00:00
Toshiaki Kameyama
081d6c1dff
Useless call on collection: propose 'Replace with toList()' instead of 'Remove useless call' if receiver is array type
...
#KT-38961 Fixed
2020-05-20 12:46:23 +03:00
Ilya Kirillov
d825428718
New J2K : move resolve resolve out of EDT in shorten references processing
...
relates to #KT-31812
2020-05-20 11:11:46 +03:00
Dmitriy Novozhilov
24c8a659ee
[FIR] Add FirSession as parameter for FirTotalResolveTransformer
2020-05-20 10:40:55 +03:00
Dmitry Gridin
9beb36ca2b
Code style: add option for blank lines before declarations
...
#KT-39024 Fixed
#KT-37420 Fixed
#KT-37891 Fixed
2020-05-20 02:22:53 +00:00
Dmitry Gridin
499a02ebe3
AddThrowsAnnotationIntention: improve for mpp
...
#KT-38391 Fixed
2020-05-20 02:19:10 +00:00
Dmitry Gridin
8b4660031f
multiPlatformSetup: cleanup code
2020-05-20 02:19:09 +00:00
Dmitry Gridin
7b079a5f1c
Deprecated symbol usages: fix test
2020-05-20 09:04:46 +07:00
Vyacheslav Karpukhin
2c5e42a765
Merge branch 'rr/slava/rename-foreign-usages'
2020-05-19 18:45:59 +02:00
pyos
73e91af792
IDEA: test the plugin's ability to parse correct JSR-045 data
2020-05-19 18:33:27 +02:00
pyos
5feadd56ef
JVM: parse KotlinDebug when regenerating anonymous objects
2020-05-19 18:33:27 +02:00
Natalia Selezneva
98d3855fd8
KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart
...
For example when project is created from sources
2020-05-19 15:04:15 +03:00
Natalia Selezneva
879fe9b493
Fix order of ExternalSystemListeners
...
in 201 the order of ExternalSystemListener.EP isn't guaranteed.
But we need to update script definitions and only then we can store script models,
because they need to know script definitions additional classpath
2020-05-19 15:04:14 +03:00
Natalia Selezneva
1a1bcefb2a
Add debug logger to ScriptTemplatesFromDependenciesProvider
...
This will help with investigation of problems with script definition discovery
2020-05-19 15:04:14 +03:00
Natalia Selezneva
16b7232b4f
Minor: do not associate with the same extensions multiple times in ScriptDefinitionsManager
2020-05-19 15:04:14 +03:00
Natalia Selezneva
8d22429abc
Do not show notification before all definitions are loaded
2020-05-19 15:04:14 +03:00
Natalia Selezneva
1513429613
Load script definitions in IDE on project opening
...
This will speed up first script opening,
will avoid unexpected indexing because of new definitions
Script definitions are also needed for Kotlin scripting settings
2020-05-19 15:04:14 +03:00
Natalia Selezneva
942c8aaafc
Introduce index for folders with script definitions templates
...
Replace it with nonBlockingReadAction meaning that if update was canceled then loading will be restarted after all write events happen
Also scanning is now started after indexing
^KT-36378 Fixed
^KT-34138 Fixed
^KT-37863 Fixed
2020-05-19 15:04:14 +03:00
Ilya Matveev
5287ffb4a5
[Native] Don't use konan.home to determine a path to the K/N dist
...
A fix for KT-37550 requires us to stop using system properties when
the compiler is started from Gradle. This patch stops reading the
konan.home property to determine a path to the compiler and requires
this path to be explicitly specified in a constructor of the
Distribution class.
Issue #KT-37550
2020-05-19 18:57:39 +07:00
Dmitry Gridin
0df5d5158d
Add resources-en for idea
...
#KT-38297 Fixed
2020-05-19 16:22:06 +07:00
Dmitry Gridin
12217ef2ab
Add regression test for ReplaceWith
...
#KT-35015 Fixed
2020-05-19 16:15:13 +07:00
Toshiaki Kameyama
02c17378b1
Replace deprecated symbol usage: replace imported object function correctly
...
#KT-33951 Fixed
2020-05-19 15:40:59 +07:00
Dmitry Gridin
b2be1a53cf
SpecifyTypeExplicitlyIntention: remove annotations from result type
...
#KT-36930 Fixed
2020-05-19 01:17:39 +00:00
Toshiaki Kameyama
23c4eac45b
Introduce "Logger initialized with foreign class" inspection
...
^KT-38982 Fixed
2020-05-18 18:16:52 +03:00
Dmitry Gridin
19f878f5cd
update searchableOptions.xml
2020-05-18 21:20:46 +07:00