Dmitry Jemerov
165ac97c4b
SortModifiersInspection detects modifiers before annotations
...
#KT-22013 Fixed
2018-01-09 13:54:56 +01:00
Dmitry Jemerov
408c753837
Check that a file with .kt extension is actually a KtFile
...
#KT-22111 Fixed
2018-01-09 13:54:56 +01:00
Dmitry Jemerov
69c8da7403
Cleanup: apply all inspection quickfixes
2018-01-09 13:54:56 +01:00
Dmitry Jemerov
6f722d647f
Reformat
2018-01-09 13:54:56 +01:00
Dmitry Jemerov
6299e0e941
Check correct element to determine if 'if' rbrace needs wrapping
...
#KT-22093 Fixed
2018-01-09 13:54:56 +01:00
Dmitry Jemerov
e9ca6a6038
Call arguments should not affect parameter names returned in MethodInfo
...
The parameter names are only used for blacklist filtering, and should
correspond only to the function being called; the order and number of
actually provided arguments does not matter.
2018-01-09 13:49:03 +01:00
Dmitry Jemerov
599bb878f1
Rename test to correspond to the name of code under test
2018-01-09 13:49:02 +01:00
Dmitry Jemerov
78682ac493
Respect imports when rendering class names in type hints
...
#KT-19524 Fixed
2018-01-09 13:49:01 +01:00
Dmitry Jemerov
45282af38b
Prototype of inlay hints for suspending calls (KT-20187)
2018-01-09 13:48:31 +01:00
Dmitry Jemerov
d060203896
Don't show type hints for SAM constructors
...
#KT-22050 Fixed
2018-01-09 13:34:11 +01:00
Dmitry Jemerov
0991dba626
Better position of argument name hint for multiline varargs
...
#KT-20614 Fixed
2018-01-09 13:34:10 +01:00
Dmitry Jemerov
6c23d3a220
Show inlay hints for implicit parameters and receivers of lambdas
...
#KT-20533 Fixed
2018-01-09 13:34:09 +01:00
Dmitry Jemerov
da157fafdc
Add inlay hints for values returned from lambdas
...
#KT-20067 Fixed
2018-01-09 13:34:01 +01:00
Dmitry Jemerov
e558837214
Cleanup: better function name
2018-01-08 14:41:49 +01:00
Toshiaki Kameyama
3b212558e2
KT-21949 Please add a separate Color Scheme settings for properties synthesized from Java accessors ( #1458 )
2018-01-08 13:04:43 +01:00
Toshiaki Kameyama
19c35ef48c
KT-21213 multiline kdoc - intellij joins lines together without space ( #1459 )
...
* KT-21213 multiline kdoc - intellij joins lines together without space
* Use \n directly as a line separator #KT-21213
* Remove unused import #KT-21213
2018-01-05 15:29:11 +01:00
Dmitry Jemerov
d51dd97156
Avoid exception from DocumentImpl.setInBulkUpdate in reformat inspection
...
#KT-21036 Fixed
2018-01-04 19:03:55 +01:00
Toshiaki Kameyama
266b40b654
KT-21974 Editor color scheme option for Kotlin typealias names ( #1457 )
2018-01-04 17:39:39 +01:00
Toshiaki Kameyama
6b2c22aff1
Add intention to specify all types explicitly in destructuring assignment
...
#KT-16260 Fixed
2018-01-03 17:23:31 +01:00
Toshiaki Kameyama
eb12cfd444
KT-18674 Join Lines should join strings ( #1305 )
...
* Join Lines should join strings #KT-18674 Fixed
* #KT-18674 Fixed
2018-01-03 11:27:16 +01:00
Toshiaki Kameyama
16695c1af5
KT-21929 Inappropriate quick fix for a sealed class instantiation ( #1444 )
2018-01-03 11:20:58 +01:00
Toshiaki Kameyama
de185b79d0
KT-21780 Wrong redundant setter inspection ( #1453 )
2018-01-03 11:14:23 +01:00
Toshiaki Kameyama
640c28ceaf
KT-14670 Support kotlinPackageName() macro in live templates ( #1455 )
...
* KT-14670 Support kotlinPackageName() macro in live templates
* Use context.psiElementAtStartOffset.containingFile #KT-14670
2018-01-03 10:41:28 +01:00
Dmitry Jemerov
84d63051f9
Add a rule for invalid characters in names
2018-01-02 13:17:31 +01:00
Dmitry Jemerov
f83c5344d7
Apply same style for top-level and object properties
...
#KT-20437 Fixed
2018-01-02 12:46:03 +01:00
Dmitry Jemerov
1c7d97289b
Naming convention inspection for test functions
...
#KT-21547 Fixed
2018-01-02 12:46:02 +01:00
Dmitry Jemerov
37d2ff2d4d
Report more friendly messages from naming conventions inspection
...
#KT-19736 Fixed
2018-01-02 12:46:01 +01:00
Dmitry Jemerov
429bf5bb98
Reformat
2018-01-02 12:46:00 +01:00
Toshiaki Kameyama
79ff36592d
KT-15320 Live templates: please add function which returns the "outer" class name
2018-01-02 12:35:20 +01:00
Pavel V. Talanov
03a8ce63b2
Scripts: fix any file deletion potentially leading to reindex
2017-12-29 20:14:59 +03:00
Dmitry Jemerov
25ea53457e
Send source code in exceptions as attachments, not text (common cases)
...
#KT-17678 In Progress
2017-12-29 15:35:53 +01:00
Toshiaki Kameyama
817dadc120
Specify type: do not suggest nullable type if not null is overridden
...
So #KT-12814 Fixed
2017-12-29 17:28:44 +03:00
Mikhail Glukhikh
50eaca1ac4
Add modifier fix: improve style a bit
2017-12-29 17:17:38 +03:00
Toshiaki Kameyama
184651d366
Do not suggest "add inner" quick fix for interfaces etc. #KT-18396 Fixed
2017-12-29 16:43:47 +03:00
Toshiaki Kameyama
84a6ef6ac4
Add inspection to detect is checks for object types #KT-21741 Fixed
2017-12-29 16:24:18 +03:00
Mikhail Glukhikh
0df3ffbe36
Build fix: convert reference to lambda
...
Related to KT-19283 (fixes mistake in 3f005924 )
2017-12-29 14:36:10 +03:00
Dmitry Jemerov
d0e8e176c4
Catch exceptions from decompiler service
...
EA-108937 - RE: InvocationExprent.toJava
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
9a61abfb9f
Don't add null module info to list
...
EA-113650 - TCE: LazyModuleDependencies.getModulesWhoseInternalsAreVisible
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
2c4180222a
Check if containing file is KtFile
...
EA-109460 - CCE: KtElementImplStub.getContainingKtFile
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
cde84a7923
Handle I/O exceptions when updating library jars
...
EA-101940 - FNFE: FileUtil.openOutputStream
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
254f766aaf
Take longer read action in forEachKotlinOverride()
...
EA-114124 - assert: CompositeElement.getChildrenAsPsiElements
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
768fce4722
Check for project disposed when reporting outdated libraries
...
EA-106858 - assert: ComponentManagerImpl.getPicoContainer
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
cc2faa67f9
Don't pass null element to RefactoringFactory.createRename()
...
EA-114286 - IAE: RenameProcessor.$$$reportNull$$$
2017-12-29 10:19:50 +01:00
Dmitry Jemerov
9a156541c1
Don't try to read attribute for files with no ID
...
(EA-114351 - CCE: PersistentFSImpl.getFileId)
2017-12-29 10:19:50 +01:00
Toshiaki Kameyama
5e765c525e
Do not suggest quickfix 'Specify type explicitly' with existing type
...
So #KT-15180 Fixed
2017-12-28 21:06:48 +03:00
Mikhail Glukhikh
5475f99cec
Elvis -> if-then: handle case with safe cast separately #KT-17816 Fixed
2017-12-28 20:31:55 +03:00
Mikhail Glukhikh
ec60c92fe9
Lambda -> reference: build bound reference for complex qualified
...
So #KT-19073 Fixed
2017-12-28 20:31:53 +03:00
Mikhail Glukhikh
73bca21f94
Allow using add modifier quick-fixes in batch mode #KT-21950 Fixed
2017-12-28 20:31:47 +03:00
Mikhail Glukhikh
2e71691ab2
Fix potential leak in "unused lambda expression body" fix
2017-12-28 20:31:45 +03:00
Toshiaki Kameyama
a65304556c
CFG: provide "used as expression" in enum constant constructor
...
This allows to avoid
"unused return value of a function with lambda expression body"
for such a situation
So #KT-20429 Fixed
2017-12-28 20:31:42 +03:00