Sergey Mashkov
0834435248
KT-11643 Inspections and intentions to fix misconfigured Maven pom
2016-04-27 19:40:52 +03:00
Sergey Mashkov
7d649b4327
KT-9492 Configuring multiple Maven Modules
...
- kotlin mavne configurator shouldn't configure child modules but parents as children inherit everything
2016-04-27 19:40:52 +03:00
Sergey Mashkov
7da92872a8
KT-11642 Kotlin Maven configurator tags order
2016-04-27 19:40:51 +03:00
Mikhail Glukhikh
918f843cd0
Correct handling of empty super type list while adding an entry #KT-12011 Fixed
2016-04-27 18:44:42 +03:00
Mikhail Glukhikh
ee46c34a5e
Android: unnecessary 'val's removed from constructors
2016-04-27 18:42:00 +03:00
Mikhail Glukhikh
84a3f729ca
IDEA: unnecessary 'val's removed from constructors
2016-04-27 18:41:52 +03:00
Mikhail Glukhikh
1744897561
Can be parameter inspection: use inside object literals is now handled as "property use"
2016-04-27 18:41:48 +03:00
Mikhail Glukhikh
64ae9af3a4
Can be parameter inspection: use in selector position is now always handled as "property use"
2016-04-27 18:41:45 +03:00
Mikhail Glukhikh
795b92461e
Can be parameter inspection: use inside function literals is now handled as "property use" #KT-11949 Fixed
2016-04-27 18:41:41 +03:00
Mikhail Glukhikh
6b945ba103
Regular checkType() is now called during condition analysis, TYPE_MISMATCH_IN_CONDITION removed #KT-11998 Fixed
2016-04-27 18:12:28 +03:00
Alexey Sedunov
e6ab2f1c2d
Change Signature: Do not use local declaration as a context for a type code fragment
2016-04-27 15:48:42 +03:00
Stanislav Erokhin
926da77abe
Refactoring. Remove getSubstitution from KotlinType.
2016-04-27 14:13:59 +03:00
Mikhail Zarechenskiy
69b4837830
Move part of code that related to 'Optimize imports' action to ide-common module
2016-04-26 20:46:06 +03:00
Mikhail Zarechenskiy
b677e9d2ea
Get rid of guava's collections and dependency on Idea's settings from util function
...
This commit prepares 'prepareOptimizedImports' function to
move to the ide-common module to reuse it in the Eclipse plugin
2016-04-26 20:46:06 +03:00
Nikolay Krasko
09af830476
Do no analyze for annotation search if no annotation entries present
2016-04-26 20:43:26 +03:00
Nikolay Krasko
2b51b526ba
Enable injection in injection tests
2016-04-26 20:43:26 +03:00
Nikolay Krasko
64c46a33c4
Make parameter injection work for Java methods
2016-04-26 20:43:26 +03:00
Nikolay Krasko
3e35c60406
First version of injection with annotation on parameter
2016-04-26 20:43:26 +03:00
Nikolay Krasko
6ca9ba9e30
Implement withAnnotation() pattern for parameter pattern
2016-04-26 20:43:26 +03:00
Nikolay Krasko
8eda5e0ea5
Refactoring replace trimMargin() with trimIndent(). This is preparation for injection bootstrapping in tests.
2016-04-26 20:43:26 +03:00
Nikolay Krasko
a6d129b006
Add write action for shorten references in finish template after building call (KT-12056)
...
Write action was removed in idea 146
#KT-12056 Fixed
2016-04-26 20:43:26 +03:00
Nikolay Krasko
30e8c67d01
Add write action for shortening references in templates (KT-11418)
...
Write action was removed in idea 146.
#KT-11418 Fixed
2016-04-26 20:43:26 +03:00
Nikolay Krasko
cae366f97e
Revert write actions in utility code (EA-81892)
...
Revert commits:
ab0fe0a900
97a97614b5
2016-04-26 20:43:26 +03:00
Nikolay Krasko
7327275bf4
Auto-test running intention isApplicable() from pooled thread
2016-04-26 20:43:26 +03:00
Alexey Sedunov
9858b178c0
Change Signature: Fix context element for type code fragments to avoid bogus "Type can not be resolved" warnings
...
#KT-11862 Fixed
2016-04-26 20:11:59 +03:00
Zalim Bashorov
3048c293d0
Minor: fix tests
2016-04-26 19:11:05 +03:00
Alexey Sedunov
12987de156
Spring Support: Replace accessor name with property name when processing usages in Kotlin files
...
#KT-11880 Fixed
2016-04-26 16:15:32 +03:00
Kirill
6e08f06bfd
Format spaces in infix call (KT-12018)
...
#KT-12018 Fixed
2016-04-26 15:21:33 +03:00
Kirill
01b754b318
Format spaces in cast expression (KT-12035)
...
#KT-12035 Fixed
2016-04-26 15:21:33 +03:00
Alexey Sedunov
a00c524074
Move: Optimize imports after applying "Move declaration to separate file" intention
...
#KT-10174 Fixed
2016-04-26 13:59:11 +03:00
Alexey Sedunov
676000cdf7
Move: Keep original file package name when moving top-level declarations to separate file (provided it's not ambiguous)
...
#KT-10950 Fixed
2016-04-26 13:59:10 +03:00
Alexey Sedunov
332fe29e94
Move: Allow choosing source root in "Move file to directory" intention
...
#KT-11512 Fixed
2016-04-26 13:59:08 +03:00
Alexey Sedunov
aaa873f227
Move: Convert implicit receiver to this when moving class member to companion object
...
#KT-11483 Fixed
2016-04-26 13:59:07 +03:00
Alexey Sedunov
6faedc1adc
Move: Add missing write action
...
#KT-11482 Fixed
2016-04-26 13:59:05 +03:00
Nikolay Krasko
6b7aa98980
Test data modification: Don't compute compiled bytecode for same expression twice
...
Result of dc9fa6d9ac commit.
Previously computation were saved into the map that were invalidated by the computation. Now map is recreated after computation and result is saved into it.
2016-04-25 19:50:22 +03:00
Zalim Bashorov
658eac2d12
Add Unit to compiled part of Kotlin JS stdlib and don't show "Kotlin not configured" for Kotlin JS projects
...
#KT-11556 Fixed
2016-04-25 17:58:51 +03:00
Denis Zharkov
3bda613317
Minor. Rename BuiltInClassesAreSerializableOnJvm -> JvmBuiltInsAdditionalClassPartsProvider
2016-04-25 17:41:08 +03:00
Denis Zharkov
193dd06f50
Use different names for mockJDK and fullJDK
...
It's needed because they both used in one project in some tests,
while IDEA model relies on assumption that JDK's names are unique
2016-04-25 17:41:08 +03:00
Denis Zharkov
de228da077
Add library invalidation in IDE tests setUp
2016-04-25 17:41:08 +03:00
Denis Zharkov
8d697395cd
Minor. Replace for-loop with 'single' call
2016-04-25 17:41:08 +03:00
Denis Zharkov
7960561c4b
Minor. Use SAM-constructor to overcome overload ambiguity
...
There is an ambiguity since 'forEach' method appeared at Iterable,
that is supertype of Query
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bc5722051
Load additional JDK functions into built-ins member scope
...
#KT-5990 Fixed
#KT-7127 Fixed
#KT-10370 Fixed
2016-04-25 17:41:08 +03:00
Denis Zharkov
7fe5a9db8d
Remove JavaToKotlinClassMap dependency on built-ins instance
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bf39689e9
Replace irrelevant usages of JvmBuiltIns.Instance with DefaultBuiltIns.Instance
2016-04-25 17:41:08 +03:00
Denis Zharkov
c667f50741
Delete TargetPlatform.builtins
...
Replace it's usages with relevant singleton reference
2016-04-25 17:41:08 +03:00
Denis Zharkov
ef18d64931
Parametrize module creation by platform with built-ins
2016-04-25 17:41:08 +03:00
Denis Zharkov
7f860fa051
Manually set up built-ins for decompiler
2016-04-25 17:41:08 +03:00
Denis Zharkov
c4a899d9a4
Get rid of some targetPlatform.builtIns usages
...
Retrieve builtIns from module itself when adding dependencies on them
2016-04-25 17:41:08 +03:00
Denis Zharkov
e97fa929ea
Minor. Replace '== JvmPlatform' with 'is JvmPlatform'
2016-04-25 17:41:08 +03:00
Denis Zharkov
e2db5d9a01
Get rid of TargetPlatform.builtIns usages in IDE
...
Retrieve them through resolution facade instead of platform
2016-04-25 17:41:08 +03:00