Anton Yalyshev
1bc35b1b0c
updated TipsOfTheDay pics, as New Project Wizards got new names
2019-03-20 11:23:18 +03:00
Toshiaki Kameyama
e06514c945
Smart completing anonymous object: follow code style settings (KT-29572)
...
#KT-29572 Fixed
2019-03-19 16:09:07 +03:00
kenji tomita
e1f26ffc74
Remove spaces between accessor and its parameter list in formatter (KT-30393)
...
#KT-30393 Fixed
2019-03-19 16:09:07 +03:00
Toshiaki Kameyama
0acecb4936
Minor: fix caret behaviour in arg template test
...
#KT-29398 Fixed
2019-03-19 16:09:07 +03:00
Dmitry Gridin
43be01bbc8
Fix false positive 'Introduce import alias' on this/super
2019-03-19 16:42:41 +07:00
Dmitry Gridin
1626bc4751
Optimize "Introduce import alias"
...
Relates to #KT-30462
2019-03-19 16:42:41 +07:00
Dmitry Gridin
ccb1ae13ea
Fix local conflicts in 'Introduce import alias'
2019-03-19 16:42:41 +07:00
Dmitry Gridin
9659453351
Improve: intention "Introduce Import Alias" should suggest new names for the new alias
...
#KT-30456 Fixed
2019-03-19 16:42:41 +07:00
Dmitry Gridin
ff34788eb3
Minor: refactoring KotlinNameSuggester
2019-03-19 16:42:41 +07:00
Toshiaki Kameyama
a2adfd0cc0
Nested lambda has shadowed implicit parameter: do not report when lambda is in scope function
...
#KT-30173 Fixed
2019-03-19 10:37:47 +03:00
Dmitry Gridin
daf8df9e4b
Fix flaky test AddReturnToUnusedLastExpressionInFunction/Nothing
2019-03-19 11:29:53 +07:00
Mikhail Glukhikh
16f9eecb29
Fix "/ by zero" in FirResolveBench & switch progress OFF in smoke tests
2019-03-18 17:12:02 +03:00
Mikhail Glukhikh
741bdccca5
Enhance progress logging in FIR total resolve tests
2019-03-18 14:49:11 +03:00
Mikhail Glukhikh
a334ca6224
Move FIR total kotlin resolve in IDE test into performance group
2019-03-18 14:48:50 +03:00
Anton Yalyshev
71eb540eaf
improved english in wizard's descriptions. also now user knows about project's build system from its name
2019-03-18 14:15:35 +03:00
Burak Eregar
db4144426a
Fix SimplifiableCallChain inspection quick fix removes comments for intermediate operations
2019-03-18 11:35:32 +03:00
Toshiaki Kameyama
8728bc0820
Convert to scope function: also convert binary expression
...
#KT-30228 Fixed
2019-03-18 11:18:23 +03:00
Toshiaki Kameyama
e340af51df
Add "Rename class to containing file name" intention
...
#KT-25262 Fixed
2019-03-18 11:09:09 +03:00
Toshiaki Kameyama
39016594b1
Replace return with 'if'/'when': don't drop return label
...
#KT-30414 Fixed
2019-03-18 09:46:10 +03:00
Dmitry Gridin
d333a0ad4e
Allow "Create class" action in return statement
...
#KT-22137 Fixed
2019-03-15 17:33:14 +07:00
Dmitry Gridin
41cfb4e2ed
Minor: refactoring createClassUtils.kt
2019-03-15 17:33:14 +07:00
Dmitry Gridin
220cb95b85
Move caret to class name after creating it from "CreateFromUsage" action
...
Relates to #KT-24631
2019-03-15 17:27:06 +07:00
Mikhail Glukhikh
e6bb920a1d
FIR Java: support Kotlin extension overriding: at last, #KT-29937 Fixed
2019-03-14 18:18:40 +03:00
Mikhail Glukhikh
d00d078b4f
FIR Java: implement "appendErasedType" thus adding predefined signatures
...
Related to KT-29937
2019-03-14 18:18:20 +03:00
Mikhail Glukhikh
f5e2cd2ac4
No override check in FirClassUseSiteScope, fix nasty substitution bug
...
This fixes MPP override test
(see mppFakeOverride in FirMultiModuleResolveTestGenerated)
2019-03-14 18:17:44 +03:00
Mikhail Glukhikh
6c12fabf74
FIR: make JavaClassEnhancementScope use-site, get rid of scope providers
...
Related to KT-29937
2019-03-14 18:09:41 +03:00
Mikhail Glukhikh
be412baf9f
FIR type enhancement: fold flexible types when it's possible
...
Related to KT-29937
2019-03-14 18:08:01 +03:00
Mikhail Glukhikh
6c8aba8039
FIR: support callable symbols in dependencies provider
...
This breaks mppFakeOverrides test because of bug in FIR fake overrides
2019-03-14 18:07:32 +03:00
Mikhail Glukhikh
fb788dc4c0
Fix null Java type argument problem & add relevant test
2019-03-14 17:56:23 +03:00
Mikhail Glukhikh
6c79b184c0
FIR Java types: add Kotlin/Java mapping & mutability enhancements
...
Related to KT-29937
2019-03-14 17:55:10 +03:00
Mikhail Glukhikh
f31faafd72
Introduce initial version of FIR Java type enhancement
...
Java type enhancement is performed by a special scope kind
Java FIR dump was added for multiplatform tests to look at enhancements
Overrides, J2K mapping, special cases does not work yet
Related to KT-29937
2019-03-14 17:51:00 +03:00
Denis Zharkov
92defc2ae3
Extract supertypes resolution into a separate FIR phase
2019-03-14 17:06:45 +03:00
Toshiaki Kameyama
dfd3947856
Keyword completion: add 'fun' after 'suspend' (KT-29038)
...
#KT-29038 Fixed
2019-03-14 15:35:45 +03:00
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