Commit Graph

31376 Commits

Author SHA1 Message Date
Sergey Mashkov aa156c08c6 Maven: versions inspection: kotlin plugin and library should have the same version 2016-04-27 19:40:56 +03:00
Sergey Mashkov 6caef7716f Maven: kotlin-maven-plugin configuration source dirs completion 2016-04-27 19:40:55 +03:00
Sergey Mashkov d097c3e9f1 KT-11743 Intention to replace kotlin-test with kotlin-test-junit 2016-04-27 19:40:55 +03:00
Sergey Mashkov b8327f19b8 Maven: never generate JUnit (but keep code so we will be able to introduce checkbox in configurator to optionally add junit and chose version) 2016-04-27 19:40:55 +03:00
Sergey Mashkov c30fc78f8e KT-11731 Default maven integration doesn't include documentation
trigger sources download for stdlib/runtime/test at project import
2016-04-27 19:40:54 +03:00
Sergey Mashkov fc197cd616 Maven: extract maven support to the separate module 2016-04-27 19:40:54 +03:00
Sergey Mashkov dfaba1d0aa KT-11556 "Kotlin not configured" in Kotlin/JS project 2016-04-27 19:40:54 +03:00
Sergey Mashkov 64a63476f7 KT-11701 Add Maven Dependency quick fix could be supported in Kotlin sources
~ initial draft
2016-04-27 19:40:53 +03:00
Sergey Mashkov 01fa6d5718 KT-11436 "Choose Configurator" control opens dialogs with inconsistent modality (linux) 2016-04-27 19:40:53 +03:00
Sergey Mashkov addc73dba5 KT-11643 Inspections and intentions to fix misconfigured Maven pom
make misconfigured maven project configurable
2016-04-27 19:40:52 +03:00
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 5c9d6fd460 UAST: unnecessary 'val' removed from constructor 2016-04-27 18:42:08 +03:00
Mikhail Glukhikh a4be89e5fd JS: unnecessary 'val' removed from constructor 2016-04-27 18:42:04 +03:00
Mikhail Glukhikh ee46c34a5e Android: unnecessary 'val's removed from constructors 2016-04-27 18:42:00 +03:00
Mikhail Glukhikh 5a66ef2126 Core & compiler: unnecessary 'val's removed from constructors 2016-04-27 18:41:56 +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
Ilya Gorbunov ae2e3f1811 kotlin-test: add assertFails overload with message. 2016-04-27 18:22:20 +03:00
Ilya Gorbunov 4b533b297e reified assertFailsWith available in kotlin-test for JS
#KT-11346
2016-04-27 18:22:20 +03:00
Ilya Gorbunov 409094f0f7 Make stdlib functions dependent on reified is checks available in JS.
#KT-11346 Fixed
2016-04-27 18:22:20 +03:00
Ilya Gorbunov a5fd95c7d9 JS: Make AbstractList.size pure abstract.
#KT-7228 Fixed
2016-04-27 18:22:20 +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 c6cb5175a4 Minor. Use capability instead of capabilities. 2016-04-27 14:13:59 +03:00
Stanislav Erokhin 926da77abe Refactoring. Remove getSubstitution from KotlinType. 2016-04-27 14:13:59 +03:00
Stanislav Erokhin 5fe48313e9 Refactoring. Merge CustomSubstitutionCapability, CustomFlexibleRendering and RawTypeTag into RawTypeCapability. 2016-04-27 14:13:58 +03:00
Alexander Udalov 922f133d75 Perform version override earlier and only on teamcity 2016-04-27 10:55:33 +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 dbdea86d78 Add note about fixing deadlock in debugger (KT-12067) 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 Andreev 76cfe8cabc KT-11100 Fix generation of name of FakeCallableDescriptorForObject that is presumably used to express invoke operator on (companion) objects 2016-04-26 17:04:09 +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