Commit Graph

2752 Commits

Author SHA1 Message Date
Dmitry Jemerov 5370073c05 parameters in KDoc take precedence over other identifiers 2015-03-24 16:05:40 +01:00
Alexey Sedunov a57be6dcab Change Signature: Do not report conflict when parameter name clashes with suggested name of the receiver 2015-03-24 16:41:08 +03:00
Alexey Sedunov 0eda6c88b9 Quick-Fixes: Fix signature configuration for extension functions
#KT-7019 Fixed
2015-03-24 16:41:07 +03:00
Alexey Sedunov 93f00db871 Extraction Engine: Consider declarations when comparing descriptors
#KT-6960 Fixed
2015-03-24 16:41:05 +03:00
Alexey Sedunov 16a4dbd692 Quick-Fixes: Do not add 'abstract' modifier to anonymous objects
#KT-6656 Fixed
2015-03-24 16:41:03 +03:00
Alexey Sedunov 1ed2c82008 Quick-Fixes: Approximate non-denotable type with nearest denotable supertype
#KT-5915 Fixed
2015-03-24 16:41:01 +03:00
Alexey Sedunov a2162810ff Quick-Fixes: Drop unnecessary parentheses when simplifying cast expressions
#KT-6501 Fixed
2015-03-24 16:40:59 +03:00
Alexey Sedunov 71a5e09a0b Quick-Fixes: Support USELESS_CAST diagnostic in "Remove cast" quick-fix
#KT-6422 Fixed
2015-03-24 16:40:58 +03:00
Alexey Sedunov f5107be315 Quick-Fixes: Support "Change function return type" quick-fix for non-local returns
#KT-6910 Fixed
2015-03-24 16:40:57 +03:00
Dmitry Jemerov 408f7da0c5 correct indentation after pressing Enter in KDoc tag
#KT-7044 Fixed
2015-03-23 15:06:59 +01:00
Alexander Udalov 3335752462 Do not report "no reflection" inspection where reflection is not used
#KT-7059 Fixed
2015-03-23 15:54:33 +03:00
Alexey Sedunov d19e6337a3 Find Usages: Support of secondary constructors and delegation calls 2015-03-21 03:29:03 +03:00
Alexey Sedunov 312a1db273 Call Hierarchy: Support secondary constructors 2015-03-21 03:29:01 +03:00
Alexey Sedunov b45965b290 Safe Delete: Support secondary constructors 2015-03-21 03:28:58 +03:00
Alexey Sedunov cefd8b43a0 Safe Delete: Add test for primary constructor with usages in delegation calls 2015-03-21 03:28:57 +03:00
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
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
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
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
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
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
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
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
Michael Bogdanov 5c6b9b1bc6 New smap test 2015-03-16 18:52:04 +03:00
Natalia Ukhorskaya 50c535de85 Debugger: Alt + click on variable name in declaration should open a popup with it's value
#KT-6875 Fixed
2015-03-16 14:45:47 +03:00
Evgeny Gerashchenko 5a262b976e Fixed overridden/implemented line markers in abstract classes. 2015-03-16 14:11:42 +03:00
Evgeny Gerashchenko 22a41e8012 Introduced category for default object usages. 2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko 510974e07c Supported renaming default objects with default names. 2015-03-16 14:11:41 +03:00