Toshiaki Kameyama
fd262bcd8d
Smart completion: fix anonymous object code style (KT-29572)
...
#KT-29572 Fixed
2019-03-14 15:35:44 +03:00
Toshiaki Kameyama
6acf3ad629
Add "arg" postfix template (KT-29398)
...
#KT-29398 Fixed
2019-03-14 15:35:44 +03:00
Dmitriy Dolovov
5af2cbeacd
Fix MPP wizard tests
...
Issue #KT-30003 fixed
2019-03-14 18:11:25 +07:00
Nicolay Mitropolsky
69ea0175a2
KotlinElementActionsFactory.createAddAnnotationActions: adding @field annotation target for targetless annotations (KT-18459)
2019-03-14 10:59:00 +03:00
Dmitry Gridin
3bf0fb8957
Intention “Introduce import alias” shouldn't modify other files
...
#KT-30412 Fixed
2019-03-14 12:09:41 +07:00
Dmitry Gridin
179dfce3a8
Fix false positive for type error in intentions AddReturnTo...
...
Relates to #KT-25272
2019-03-14 10:52:59 +07:00
Dmitry Gridin
479e812bbc
Fix false positive "Redundant lambda arrow" inspection
...
#KT-29590 Fixed
#KT-19462 Fixed
#KT-29124 Fixed
2019-03-13 20:57:30 +07:00
Nikolay Krasko
491fb40dd3
Fix INRE from find usages activated with Ctrl + Click (EA-137655)
...
Only Ctrl + Click is affected as find usages from Alt + F7 is a different
action (`GotoDeclarationAction` is `DumbAware`, but `ShowUsagesAction` is not).
2019-03-13 15:30:06 +03:00
Dmitriy Dolovov
40474bee3f
Update Kotlin/Native project templates
...
Use modern "binaries" DSL
2019-03-13 18:53:47 +07:00
Dereck Bridie
a02ad76b16
KT-25272: Unused expression as last expression of normal function should have quickfix to add "return" Fixed
2019-03-13 17:53:48 +07:00
Burak Eregar
e02877d1dc
Disable WhenWithOnlyElse by default.
2019-03-13 13:25:00 +03:00
Nikolay Krasko
76d4a2fd17
Minor: cleanup org.jetbrains.kotlin.idea package
2019-03-13 12:55:02 +03:00
Toshiaki Kameyama
bee7736baf
Find Java usage of @JvmField declared in primary constructor (KT-18322)
...
#KT-18322 Fixed
2019-03-13 12:54:55 +03:00
Max Medvedev
1040665471
add missing &&
2019-03-13 09:09:19 +03:00
Dmitry Gridin
8f9c536a82
Change priority of the quick fixes
...
#KT-30233 Fixed
2019-03-13 11:07:05 +07:00
Dmitry Gridin
3d66147685
Minor: fix warnings & refactoring
2019-03-13 11:07:05 +07:00
Nikolay Krasko
1bfd6705cc
Minor: fix junit.framework.Assert deprecation warnings
2019-03-12 14:28:31 +03:00
Nikolay Krasko
213b98fefe
Review changes: revert compiler behaviour, add test, remove inner classes
2019-03-12 14:28:31 +03:00
Nikolay Krasko
7886095327
Prevent constant reporting from released plugin versions in EA (KT-30388)
...
Apply a compromise strategy between "no report" and "always report".
Report only for several days after release and don't bother users afterwards.
#KT-30388 Fixed
All exceptions still can be found in Idea Log.
2019-03-12 12:13:24 +03:00
Nikolay Krasko
7f07782095
Allow to throw plugin exception when plugin version is patched
2019-03-12 12:05:21 +03:00
Nikolay Krasko
ddc9d0eba1
Allow to override plugin version with system property
...
Need this during testing and development.
2019-03-12 12:05:21 +03:00
Alexander Udalov
76aff56b04
Remove unneded parameter of ResolverForProjectImpl
2019-03-11 18:31:59 +01:00
Alexander Udalov
0ccf7345e3
Move JsAnalyzerFacade from ide-common to js.frontend
...
To be used in diagnostic tests now, and as a replacement for
TopDownAnalyzerFacadeForJS in the future
2019-03-11 18:31:59 +01:00
Dmitry Gridin
6b8547f57b
Fix "Specify type explicitly" intention with generic type
...
#KT-27641 Fixed
#KT-30252 Fixed
2019-03-11 23:38:19 +07:00
Dmitry Gridin
57040f6f9d
Minor: refactoring & fix warnings
2019-03-11 23:38:19 +07:00
Toshiaki Kameyama
f1e66d0654
Add "Replace 'associate' with 'associateBy' or 'associateWith'" inspection
...
#KT-26269 Fixed
2019-03-11 19:33:17 +03:00
Toshiaki Kameyama
0f45e3d238
Fix false positive for HasPlatformType with member extension on 'dynamic'
...
#KT-29812 Fixed
2019-03-11 19:28:08 +03:00
Dmitriy Dolovov
77ab15ec65
Add a hint to the message about not found Kotlin Gradle plugin version
...
Issue #KT-19788
2019-03-11 18:15:05 +07:00
Dmitry Gridin
6ba0a182bb
Fix false positive "Insert explicit type arguments" intention
...
#KT-16139 Fixed
2019-03-09 14:01:04 +07:00
Dmitry Gridin
212e573c26
Minor: refactoring InsertExplicitTypeArgumentIntention
2019-03-09 14:01:04 +07:00
Nikolay Krasko
8977d0e26d
Setup Missing API inspection
2019-03-08 19:13:07 +03:00
Kirill Shmakov
fe9236f91e
Add key 'module' into interop definitions file
2019-03-07 19:42:32 +03:00
Alexander Udalov
c7c377e1b1
Use JvmTarget.DEFAULT instead of JVM_1_6 where applicable
2019-03-07 11:42:31 +01:00
Anton Yalyshev
b3cbd7d5bd
update names for Kotlin Gradle DSL wizards as well
2019-03-07 10:44:58 +03:00
Nikolay Krasko
878e56f2ab
Minor: clean deprecated warnings in KotlinTestFinder.kt
2019-03-06 18:16:29 +03:00
Nikolay Krasko
606a7766af
Make colours for lambda return hints similar to other hints (KT-30203)
...
Works for IntlliJ and Darcula themes but doesn't work with High Contrast
2019-03-06 18:16:29 +03:00
Nikolay Krasko
06dbe1ec09
Avoid adding DYNAMIC_PROPERTY_CALL highlighting twice
...
Tested in idea/testData/highlighter/Dynamic.kt
2019-03-06 18:16:29 +03:00
Nikolay Krasko
1cc59f4b18
Mute false positive duplicate warnings in highlighting in 191
2019-03-06 18:16:28 +03:00
Natalia Selezneva
f98429c509
Preprocess script dependencies before running UnusedSymbolInspection
...
^KT-29474
2019-03-06 15:42:50 +03:00
Natalia Selezneva
47a4500eaa
Show notification that script dependencies are not ready yet
2019-03-06 15:42:49 +03:00
Natalia Selezneva
1d56f44093
Show progress for loading script dependencies even show notification is true when there are more than 3 scripts in queue
...
We are trying to update script dependencies silently when 'Reload script dependencies on file change' is off,
but in case when the queue for update is too long we need to make process visible to user and make it cancelable.
2019-03-06 15:42:49 +03:00
Natalia Selezneva
8331d9789e
Fire one 'roots changed' event after all scripts dependencies loaded
...
^KT-29474
2019-03-06 15:42:49 +03:00
Natalia Selezneva
6bc6dea916
Check project.isDisposed before attaching script reports
2019-03-06 15:42:48 +03:00
Natalia Selezneva
c2dd365158
Do not search for text occurrences if this option is switched off
2019-03-06 15:40:59 +03:00
Natalia Selezneva
4a0574dc5f
Scratch can be modified during execution (KT-30200)
...
^KT-30200 Fixed
2019-03-06 15:40:46 +03:00
Natalia Selezneva
0dbbd8e08c
Introduce ScratchPanelListener to set module in the created panel (KT-30049)
...
^KT-30049 Fixed
2019-03-06 15:40:30 +03:00
Toshiaki Kameyama
6b35c06d50
Add intention to replace '!isNotEmpty()' to 'isEmpty()'
...
#KT-30123 Fixed
2019-03-06 11:06:40 +03:00
Yan Zhulanow
3315c1c35b
Debugger: Call invokeMethod() safely, through the execution context (KT-30268, EA-131589)
2019-03-06 03:30:56 +03:00
Yan Zhulanow
9d176917e6
Fix EA-138393: Calculate async stack traces only on breakpoints
2019-03-06 03:30:55 +03:00
Yan Zhulanow
bab1c63126
Fix EA-135863: Access allLineLocations() safely
2019-03-06 03:30:54 +03:00