Nikolay Krasko
585c8eea0b
Warn about using different versions of Kotlin plugin and standard library in Gradle (KT-12730)
...
#KT-12730 Fixed
2016-07-12 12:16:35 +03:00
Nikolay Krasko
5246b8a926
Fix getting external path for retrieving gradle model
2016-07-12 12:14:25 +03:00
Nikolay Krasko
9b1eb0931f
Refactoring: extract method for getting Kotlin plugin version and remove findAllRecursively usage
2016-07-12 12:14:24 +03:00
Nikolay Krasko
8852c8812b
Use internalName for compare with module name
2016-07-12 12:14:23 +03:00
Pavel V. Talanov
254ab72eb5
Put all stub versions into one place, explain their meaning
2016-07-11 19:07:16 +03:00
Nikolay Krasko
0b5786b9e8
Fix LocalVarShadowingMemberProperty test by renaming test files
2016-07-11 13:52:37 +03:00
Nikolay Krasko
b0226fd91c
Fix bad refactoring
2016-07-11 13:52:15 +03:00
Nikolay Krasko
74877d2fa9
Minor: add some comments after review
2016-07-11 13:52:14 +03:00
Nikolay Krasko
6fbcb6448d
Support multi-module environment in DifferentKotlinGradleVersionInspection
2016-07-11 13:52:13 +03:00
Nikolay Krasko
e6c05aa92d
Make DifferentKotlinGradleVersionInspection inpection work for classpath call with braces
2016-07-11 13:52:12 +03:00
Nikolay Krasko
b04ed12ee1
Update description in DifferentKotlinMavenVersionInspection
2016-07-11 13:52:11 +03:00
Nikolay Krasko
feea1f554a
Refactoring: extract strings
2016-07-11 13:52:11 +03:00
Nikolay Krasko
8acb96fb4d
Fallback to properly resolved version if heuristic doesn't work in DifferentKotlinGradleVersionInspection
2016-07-11 13:52:10 +03:00
Nikolay Krasko
620ddcd63a
Add inspection that warns if Gradle plugin version differs from the one in IDE (KT-12730)
...
#KT-12730 Fixed
2016-07-11 13:52:06 +03:00
Dmitry Jemerov
dec2f982ee
add test for resolving links to library classes from KDoc comments
2016-07-07 19:28:59 +02:00
Dmitry Jemerov
80e10c6928
use navigation element to resolve KDoc links, so that we have correct context when resolving links in the documentation of library elements
...
#KT-10654 Fixed
2016-07-07 19:28:31 +02:00
Dmitry Jemerov
fac1b85d26
use a better API for locating target element when navigating by documentation link, to ensure we find the source for descriptors belonging to library classes
...
#KT-12932 Fixed
2016-07-07 19:27:53 +02:00
Dmitry Jemerov
88fe6680fa
use QualifiedNameResolver for resolving links in KDoc
...
#KT-10398 Fixed
2016-07-07 19:27:45 +02:00
Dmitry Jemerov
60523fb93f
avoid NPE when trying to create a file that already exists
...
#KT-12655 FIxed
2016-07-07 18:01:43 +02:00
Dmitry Jemerov
193a404c07
to restore pre-1.0.3 highlighting behavior, inherit "extension function" and "extension property" colors from "static method" and "static field"
...
#KT-12937 Fixed
2016-07-07 18:01:39 +02:00
Dmitry Jemerov
216d548e98
fix rendering of code blocks escaped with multiple backticks or containing backslashes
...
#KT-12998 Fixed
#KT-12999 Fixed
2016-07-07 18:01:38 +02:00
Dmitry Jemerov
801a128547
don't lose ! when rendering markdown
...
#KT-13000 Fixed
2016-07-07 18:01:37 +02:00
Nikolay Krasko
54da3e73c0
Add description for Kotlin gradle plugin
2016-07-07 02:54:38 +03:00
Nikolay Krasko
c051bd2d2c
Refactoring: better name for SameVersionInspection
...
It now has better suppression string
2016-07-07 02:54:37 +03:00
Nikolay Krasko
8450921b58
Refactoring: rename SameVersionIDEPluginInspection
...
It now has better suppression string
2016-07-07 02:54:36 +03:00
Nikolay Krasko
16b8f3fd57
Show versions that are reported different in SameVersionIDEPluginInspection
2016-07-07 02:54:28 +03:00
Nikolay Krasko
5cfebe4120
Avoid "loader constraint violation: when resolving method "ActionsKt.runReadAction()"
2016-07-07 02:51:26 +03:00
Nikolay Krasko
9f0e8ca6b0
Read test files with \r removed on Windows
2016-07-07 02:51:26 +03:00
Nikolay Krasko
dcfb5f1554
Minor: mark folder as resources not a source root
2016-07-07 02:51:24 +03:00
Denis Zharkov
2cc09f928e
Allow suspend extensions for specially annotated controllers
2016-07-06 15:25:19 +03:00
Dmitry Jemerov
58378c074d
fix compilation
2016-07-05 13:56:12 +02:00
Kirill Rakhman
79fff4aa3c
Show quick doc for implicit lambda parameter 'it' ( #889 )
...
* Show quick doc for implicit lambda parameter 'it'
Fixes #KT-9271
* Remove useless code
2016-07-05 14:51:56 +03:00
Dmitry Jemerov
a770fe2ec8
fix test
2016-07-05 13:43:19 +02:00
Kirill Rakhman
b50176fa2e
Implement quickfix for wrong primitive literal ( #885 )
...
* Implement quickfix for wrong primitive literal
Fixes: KT-12251
* fix style issue
2016-07-05 14:34:14 +03:00
Kirill Rakhman
3b290ce3dd
Add quickfix for "Illegal usage of inline parameter" that adds noinline ( #888 )
...
Fixes #KT-12838
2016-07-05 13:13:14 +03:00
Valentin Kipyatkov
5e48b7349e
KT-12803 Unused import when class is used in method reference
...
#KT-12803 Fixed
2016-07-04 20:49:40 +03:00
Valentin Kipyatkov
1941572717
KT-10433 Copy-pasting reference to companion object member causes import dialog in specific case
...
#KT-10433 Fixed
2016-07-04 20:49:40 +03:00
Valentin Kipyatkov
9463880c4e
KT-12646 ConvertToBlockBody intention should use BodyResolveMode.PARTIAL
...
#KT-12646 Fixed
2016-07-04 20:49:40 +03:00
Alexander Udalov
24682bf1ec
Fix AssertionError on property generation in multi-file classes
...
See 4a533168d9 for the original change which
introduced the problem
Note that the added test case _was not failing_ before the change. It's added
because there were no tests on multi-file class behavior in light classes mode
at all. The actual repro for the problem is difficult to make a test from
#KT-12755 Fixed
2016-07-04 15:42:35 +03:00
Dmitry Petrov
c8a5ccb1d0
"Go to class / symbol / super" & type aliases
2016-07-04 08:30:18 +03:00
Dmitry Petrov
0033cf85c4
Shorten references tests for typealias.
2016-07-04 08:30:18 +03:00
Dmitry Petrov
075195a3e4
Provide base icon for type alias descriptor.
...
Use platform icon for a class (as we do for type parameters).
2016-07-04 08:30:18 +03:00
Ilya Chernikov
d345d2bc95
Reduce GradleScriptTemplateProvider dependency from gradle plugin, add missing pieses to it's environment
...
Fixes #KT-12913
2016-06-30 21:32:41 +02:00
Ilya Chernikov
2ca4d635ea
Support backward compatibility with gradle-script-kotlin 0.2.0, some refactoring
2016-06-30 21:32:37 +02:00
Alexander Udalov
95291cdc18
Minor, move some checkers to more appropriate places
2016-06-29 22:03:35 +03:00
Alexander Udalov
70a994b135
Drop resolution of deprecated plus/minus/get/set conventions
...
Also remove the corresponding quick fix
2016-06-29 19:21:05 +03:00
Nikolay Krasko
eee45e91ce
Add more tests for PropertyAccessorDescriptor.isDeafult() usages
2016-06-29 16:16:31 +03:00
Nikolay Krasko
c936b3f3e0
Don't fail in setup because of access restricted exception
2016-06-29 16:16:30 +03:00
Kirill Rakhman
0320bd8184
Formatter: Remove spaces before question mark in nullable types (KT-12830)
...
#KT-12830 Fixed
2016-06-29 16:15:59 +03:00
Alexey Andreev
9a50e91cd8
KT-12893: fix another potential issue (could not reproduce)
2016-06-29 14:44:44 +03:00