Kirill Rakhman
13a2612e20
Add inspection for ranges with start > endInclusive #KT-18438 Fixed
2017-06-16 15:02:31 +03:00
shiraji
647558c98a
Add inspection for potentially wrongly placed unary operators
...
So #KT-18236 Fixed
2017-06-16 15:02:24 +03:00
Alexey Sedunov
eaea160f0e
Kotlin Facet: Fix detection of source set name by Gradle compile task
...
#KT-17492 Fixed
2017-06-15 17:26:40 +03:00
Alexey Sedunov
1544467725
Presentation: Fix NPE on star projection rendering
...
EA-100480 Fixed
2017-06-15 17:26:39 +03:00
shiraji
ab4eb1dd20
Add better quickfix for scope functions #KT-13676 Fixed
2017-06-15 15:01:42 +03:00
Mikhail Glukhikh
09d8c31433
Change highlight type of many inspections to GENERIC_ERROR_OR_WARNING
...
This way they will use highlight type depending on their level.
Otherwise highlight type is enforced and changing level in IDE
actually changes nothing.
2017-06-15 15:01:41 +03:00
Dimach
d369fa094a
Add Boolean? == const to elvis conversion and vice versa #KT-15368 Fixed
...
Convert elvis to equality check implemented as inspection due
code style guide
2017-06-15 15:01:39 +03:00
Nikolay Krasko
6e9c0a0fda
Move test logging processing in find usages to single place
2017-06-15 14:00:43 +03:00
Nikolay Krasko
60c8d5dcc0
Fix search usages for invoke() with vararg parameter (KT-18479)
...
#KT-18479 Fixed
2017-06-15 14:00:42 +03:00
Nikolay Krasko
018d4653e8
Fix search usages for invoke() extension operator (KT-18269)
...
#KT-18269 Fixed
2017-06-15 14:00:41 +03:00
Pavel V. Talanov
46512f34e4
Fix 'Find symbol' and 'Go to declaration' when jar is used in many libs
...
SourceNavigationHelper takes into account all the module infos
that given virtual file is a part of
#KT-15093 Fixed
2017-06-15 13:35:40 +03:00
Pavel V. Talanov
6eb4addb6e
Test 'find symbol' when same jar is shared by libs(some without sources)
2017-06-15 13:35:40 +03:00
Pavel V. Talanov
8cfd6ffae0
Test navigation from source when same jar is in different libraries
...
One library can have sources attached and the other doesn't
#KT-15093 In progress
2017-06-15 13:35:39 +03:00
Pavel V. Talanov
b12de14482
Refactor, extract some 'goto' related testing utils
2017-06-15 13:35:38 +03:00
Pavel V. Talanov
4356795324
Refactor, extract util in test code
2017-06-15 13:35:37 +03:00
Pavel V. Talanov
7949d3209b
Minor, untangle Multi(Module)HighlightingTest hierarchy a bit
2017-06-15 13:35:36 +03:00
Nikolay Krasko
850568b8e9
Support "Force Step Over" action over suspended calls (KT-18453)
...
#KT-18453 Fixed
2017-06-15 13:29:28 +03:00
Nikolay Krasko
0e8e8ef546
Step over for suspended calls (KT-18453)
...
Debugger do the normal step over action and checks if function is
going to suspend. In this case the "run-to-cursor" breakpoint is
installed on function enter to intercept re-enter into function
after suspension.
#KT-18453 In Progress
2017-06-15 13:29:27 +03:00
Nikolay Krasko
6d7ce6cec1
Prevent debugger to stop twice on breakpoints after suspension point
...
#KT-18453 In Progress
2017-06-15 13:29:26 +03:00
Nikolay Krasko
49baba017a
Allow to stop in suspend funciton on enter and before suspended return
...
This commit is needed to implement "step over" action over suspended
call. Debugger have to understand when function is going to be
suspended and be able to set a breakpoint on function re-enter.
#KT-18453 In Progress
2017-06-15 13:29:25 +03:00
Dmitry Jemerov
a2427c64a1
Reset library caches on file types change and dumb mode enter/exit
...
Ref: https://github.com/JetBrains/intellij-community/commit/50df476199043bde25b8220c8a8ff2f3545bd325
2017-06-14 18:08:52 +02:00
Mikhail Glukhikh
94dcadbec7
filterNotInSource: retains only files in contentScope
...
So #KT-18221 Fixed
2017-06-14 18:22:52 +03:00
Mikhail Glukhikh
81a1f26b1d
Rename: findSyntheticFiles -> filterNotInSource
2017-06-14 18:22:46 +03:00
Mikhail Glukhikh
7734ec3bd5
Do not highlight semantics in files not under module content
...
Related to KT-18221
2017-06-14 18:22:40 +03:00
Mikhail Glukhikh
2a1c101350
Use NotUnderContentRootModuleInfo only from PsiElement.getModuleInfo()
...
This makes getModuleInfoByVirtualFile nullable
Fixes a variant of EA-75803 (from moveConflictUtils)
2017-06-14 18:22:24 +03:00
Dmitry Jemerov
0e2bdb8e66
Support CONFIGURE_LIBRARY directive in intention tests
...
Also restore tests for ConvertCamelCaseTestFunctionToSpaced
and apply fix for KT-18375
2017-06-14 16:17:01 +02:00
Dmitry Jemerov
4fa75256b7
Options for wrapping parentheseses in calls (KT-18113)
2017-06-14 14:37:30 +02:00
Dmitry Jemerov
72e8cd7e78
Consistent names for spacing options
2017-06-14 14:37:30 +02:00
Dmitry Jemerov
2e9a3e6d12
Option to use continuation indent in expression bodies (KT-9818)
2017-06-14 14:37:22 +02:00
Dmitry Jemerov
f4c75e61ad
Option to use continuation indent in parameter lists
2017-06-14 14:33:52 +02:00
Dmitry Jemerov
a4916a3c00
NodeIndentStrategy: J2K and cleanup
2017-06-14 14:33:51 +02:00
Dmitry Jemerov
14edd7e357
NodeIndentStrategy: rename to .kt
2017-06-14 14:33:51 +02:00
Dmitry Jemerov
6c954d7e04
Refactor custom options registration for more type-safe API
2017-06-14 14:33:44 +02:00
Dmitry Jemerov
fc2a1fce8b
Remove line break between ) and : if there's a line break before )
2017-06-14 14:33:42 +02:00
Dmitry Jemerov
2ce430d608
Refactor spacing rules representation for easier debugging
2017-06-14 14:33:41 +02:00
Dmitry Jemerov
a0b5a3a8a2
Implement parenthesis wrapping options
2017-06-14 14:33:41 +02:00
Dmitry Jemerov
487d948ad3
KotlinLanguageCodeStyleSettingsProvider: J2K and cleanup
2017-06-14 14:33:40 +02:00
Dmitry Jemerov
1da3c7f577
KotlinLanguageCodeStyleSettingsProvider: rename to .kt
2017-06-14 14:18:59 +02:00
Dmitry Jemerov
f32dc9e84e
Put lambda parameters on the same line as opening curly brace
2017-06-14 14:18:58 +02:00
Toshiaki Kameyama
af941bfdf5
KT-18158 Expand selection should select the comment after expression getter on the same line ( #1122 )
...
* Expand selection should select the comment after expression getter on the same line #KT-18158 Fixed
* Fixed expand selection behavior for the declaration with comment #KT-18158
* Remove redundant code #KT-18158
2017-06-14 12:28:56 +02:00
Dmitry Jemerov
b1f84676d1
Update tests according to new formatter behavior
2017-06-14 11:40:41 +02:00
Andrius Semionovas
8c6f93b899
Add tests for KEEP_LINE_BREAKS
2017-06-14 11:28:57 +02:00
Andrius Semionovas
839141e4f6
Stop formatting line breaks between keywords and parentheses
2017-06-14 11:28:57 +02:00
Andrius Semionovas
c6acc4c5be
KT-16558 Add space before parentheses config
2017-06-14 11:28:57 +02:00
Mikhael Bogdanov
c4fc0f3808
Review fixes
2017-06-14 10:34:25 +02:00
Mikhael Bogdanov
724ac3cf59
Convert text util methods to extension properties
2017-06-14 10:34:24 +02:00
Mikhael Bogdanov
e96d2212da
Workaround for LightClass generation problem KT-18419
2017-06-14 10:34:24 +02:00
Mikhael Bogdanov
c8d3553a31
Rename InlineCodegenUtil.kt to inlineCodegenUtils.kt
2017-06-14 10:34:23 +02:00
Mikhael Bogdanov
bbb2b36794
Merge InlineCodegeUtil and InlineCodegeUtils
2017-06-14 10:34:22 +02:00
Mikhael Bogdanov
172a9c7e1e
Code clean after convertion
2017-06-14 10:34:21 +02:00