Denis Zharkov
6f60bfad84
Fix "Make supertype open" quickfix in case of using secondary ctor
...
#KT-7002 Fixed
2015-03-18 19:59:25 +03:00
Denis Zharkov
3e0c6fc6a2
Add quickfix "Add 'init' keyword in whole project"
2015-03-18 19:59:25 +03:00
Denis Zharkov
df23ff3473
Improve AddInitKeyword quickfix
...
- Extract quickfix method
- Delete redundant semicolon
- Do not replace initializer PSI element
2015-03-18 19:59:25 +03:00
Denis Zharkov
13f933693f
Setup spacing rules for anonymous initializers
2015-03-18 19:59:25 +03:00
Michael Bogdanov
ed62e4972f
Temporary disable smap generation
2015-03-18 19:00:24 +03:00
Stanislav Erokhin
0b76dbb492
Create DeprecatedLambdaSyntaxFix
2015-03-18 17:10:12 +03:00
Pavel V. Talanov
a5a6ecd1ec
Fix NPE from RenameOnSecondaryConstructorHandler
2015-03-18 16:34:03 +03:00
Stanislav Erokhin
43e24f6b0d
Fixed test data for new lambda syntax
2015-03-18 16:06:44 +03:00
Stanislav Erokhin
c24c3daf54
Allowed shorthand parameter list with type reference in lambda.
2015-03-18 16:06:44 +03:00
Nikolay Krasko
e80e033a1c
Fixes after review: better code in splitting bundled runtime version
2015-03-18 15:38:19 +03:00
Evgeny Gerashchenko
2fcee37b58
Temporarily disabled "Unused symbol" for companion objects.
2015-03-18 15:20:45 +03:00
Pavel V. Talanov
41b65205b0
default -> companion: fix message for quick fix
2015-03-18 14:35:53 +03:00
Natalia Ukhorskaya
5cea6cfb45
Extra variables: check range before create
2015-03-18 11:03:36 +03:00
Alexey Sedunov
429a50ab87
Safe Delete: Support secondary constructors and delegation calls
2015-03-18 10:56:37 +03:00
Denis Zharkov
e05cbf5e9f
Support secondary constructors and delegation calls in Change Signature.
...
Initial support of Find Usages
2015-03-18 10:56:36 +03:00
Denis Zharkov
488754de7d
Move declarationsSearch package from idea to idea-analysis
...
It will be used in later commits by idea-analysis code
2015-03-18 10:56:35 +03:00
Denis Zharkov
0debd1ce6f
Make IDE parts using light methods work with JetFunction
2015-03-18 10:56:34 +03:00
Denis Zharkov
c0c1273388
Prohibit rename refactoring on secondary ctor
...
Make custom handler that runs when caret is on secondary ctor
but do nothing because constructors don't have name.
It's neccessary because otherwise default handler will be ran
with proposition to rename class.
Also note, that we do not run this handler when
caret is on constructor's body or argument's list to allow renaming
inner declarations.
2015-03-18 10:56:32 +03:00
Denis Zharkov
25de64c6ab
Support class rename in place of secondary ctor call
2015-03-18 10:56:31 +03:00
Denis Zharkov
4b564fcc51
Do not show "Convert to extension" intention for secondary constructors
...
#KT-6969 Fixed
2015-03-18 10:56:30 +03:00
Denis Zharkov
d1308ebf84
Don't report unused symbol if secondary constructor used
...
#KT-6997 Fixed
2015-03-18 10:56:29 +03:00
Dmitry Jemerov
615258877a
Merge pull request #595 from JetBrains/rr/yole/render-markdown
...
render Markdown and support link navigation in KDoc comments
2015-03-18 08:39:35 +01:00
Michael Nedzelsky
e3bd99d510
JS: fix clash between sources and metadata in one library
2015-03-18 09:39:34 +03:00
Michael Nedzelsky
577921d4f7
add JsHeaderLibraryDetectionUtils.isJsHeaderLibraryWithSources
2015-03-18 09:39:31 +03:00
Michael Nedzelsky
6f0ee2ed94
JetSourceNavigationHelper: support for Kotlin/Javascript navigation to sources
2015-03-18 09:39:29 +03:00
Michael Nedzelsky
19950fcc60
DecompiledNavigationUtils: support navigation for Kotlin/Javascript
2015-03-18 09:39:27 +03:00
Michael Nedzelsky
803e95364c
add KotlinJavascriptMetaFileDecompiler and support for .meta files
2015-03-18 09:39:25 +03:00
Michael Nedzelsky
5b6849225c
DecompiledTextFactory: add buildDecompiledTextFromJSMetadata
2015-03-18 09:39:22 +03:00
Michael Nedzelsky
6b94962f77
add JsMetaFileUtils
2015-03-18 09:39:20 +03:00
Michael Nedzelsky
daaa99989b
IdeaModuleInfos: add LIBRARY_PREFIX constant
2015-03-18 09:39:18 +03:00
Michael Nedzelsky
7a00c3cddd
KotlinClsStubBuilder class: final -> open
2015-03-18 09:39:15 +03:00
Michael Nedzelsky
21ef6d5771
temporary solution for all classes completion for Kotlin/Javascript libraries
2015-03-18 09:39:11 +03:00
Michael Nedzelsky
094bd1da4b
JsAnalyzerFacade: support for metadata
2015-03-18 09:39:09 +03:00
Denis Zharkov
6c46606f2b
Fix constructors redeclaration message
...
#KT-6966 Fixed
2015-03-17 23:18:34 +03:00
Denis Zharkov
22425de5cb
Setup spacing rules for secondary constructors
...
#KT-6968 Fixed
2015-03-17 23:18:34 +03:00
Denis Zharkov
9e5192e0e3
Prohibit val/vars/modifiers on secondary constructor parameter
...
#KT-6962 Fixed
2015-03-17 23:18:33 +03:00
Dmitry Jemerov
853fce4b71
render Markdown and support link navigation in KDoc comments
2015-03-17 19:55:49 +01:00
Nikolay Krasko
99fb75c943
Consider bundled library version to be plugin version without identifier parts
2015-03-17 20:44:18 +03:00
Yan Zhulanow
15f8ba811b
Return moduleInfo UserDataProperty if it was explicitly set
2015-03-17 17:35:24 +03:00
Pavel V. Talanov
a50b218c6a
default -> companion: Replace some missed usages of "isDefault"
2015-03-17 17:10:53 +03:00
Evgeny Gerashchenko
3ec6ffc906
KT-7007 Go to declaration doesn't work inside enum class
...
#KT-7007 fixed
2015-03-17 16:10:51 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
2a6facaef6
default -> companion: default object -> class object in project code, builtins and libs code
2015-03-17 15:46:48 +03:00
Dmitry Jemerov
9ea0c999fc
quick doc: use check instead of assertion when getting descriptor for declaration (EA-62592)
2015-03-17 12:48:58 +01:00
Alexander Udalov
4b4f6a713a
Implement "reflection not found" inspection and quick fix
2015-03-16 20:54:10 +03:00
Nikolay Krasko
48ce8d5270
Add additional logging for context and element (EA-64785)
2015-03-16 20:16:26 +03:00
Michael Bogdanov
ac8e98572e
Clean code
2015-03-16 18:52:04 +03:00
Michael Bogdanov
5c6b9b1bc6
New smap test
2015-03-16 18:52:04 +03:00
Michael Bogdanov
b58cdae0c5
Added extra stepping filter
2015-03-16 18:52:03 +03:00
Michael Bogdanov
126de2ce27
Fixed container class name detection
2015-03-16 18:52:02 +03:00