Alexey Sedunov
5c7debbf88
Change Signature: Support refactoring of primary/secondary constructor by delegation call reference
2015-03-21 03:28:54 +03:00
Alexey Sedunov
173a28a25e
Change Signature: Add tests for secondary constructors and delegation calls
2015-03-21 03:28:53 +03:00
Michael Nedzelsky
d01cc8ac55
fix navigation is Kotlin/Java with Kotlin/Javascript modules
2015-03-21 03:19:46 +03:00
Evgeny Gerashchenko
1d703c39ef
Enabled "Invert if condition" intention. It was erroneously disabled one year ago.
2015-03-20 19:34:19 +03:00
Evgeny Gerashchenko
c652cc16dc
Classified usages as type parameters correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
51fb4910a1
Classified usages in up casts correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
e752dd0a80
Classified usages in "is" of when entry correctly.
...
#KT-7047 fixed
2015-03-20 19:34:17 +03:00
Evgeny Gerashchenko
f7883fb1df
Added quick fix for "Unused receiver parameter".
2015-03-20 19:34:16 +03:00
Evgeny Gerashchenko
1946360a80
Introduced "Unused receiver parameter" inspection.
2015-03-20 19:34:16 +03:00
Evgeny Gerashchenko
edd51908ec
KT-7021 Don't mark companion object as unused if some stuff from it is used
...
#KT-7021 fixed
2015-03-20 19:34:15 +03:00
Evgeny Gerashchenko
efccde2c0b
Finding implicit usages of companion object in containing class.
2015-03-20 19:34:15 +03:00
Nikolay Krasko
d7b150752c
Cover only one idea branch in plugin compatible check
2015-03-20 17:19:22 +03:00
Nikolay Krasko
2e657d0d34
Use lazy initialization for built-ins in tests
2015-03-20 14:11:30 +03:00
Nikolay Krasko
126f38d79c
Initialize builtins with ResolveSession to avoid counting bodies in LazyTopDownAnalyzer
2015-03-20 14:11:29 +03:00
Natalia Ukhorskaya
8bcc638bec
Do not analyze all files in package in JetPositionManager
2015-03-20 09:41:32 +03:00
Denis Zharkov
eefea26d54
Recovery for initializer if no LBRACE
...
- If no LBRACE after 'init' keyword parse initializer without body
- Made getBody() nullable, appropriate checks added
2015-03-18 19:59:25 +03:00
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