Nikolay Krasko
3ffd63a17c
Attempt for fix flaky debugger tests - wait for the resume before exit
2017-06-21 17:49:03 +03:00
Mikhail Zarechenskiy
1e020644e1
Fix getting right bracket element for collection literal
2017-06-21 01:22:08 +03:00
Mikhail Zarechenskiy
837df66c19
Register reference contributor for collection literals
...
#KT-18551 Fixed
2017-06-21 00:16:28 +03:00
Nikolay Krasko
44d3b8fb1a
Ignore sub-queries for other operators with the same receiver (KT-18566)
...
ExpressionsOfTypeProcessor searches for all occurence of expression
with given type. It start from usages of the class, searches for sub-classes,
declarations that return those classes, usages of these declarations,
and so on.
During this search, find usages for all operators that return the
subject type is executed as sub-queries. Full search for such queries
can't give addition types. And it also shouldn't give additional scopes
for search, because same scopes should be located by operands. In other
words, if sub-query can spot the scope of usage starting from the same
type, the original query should also process same scope.
#KT-18566 Fixed
2017-06-20 16:53:05 +03:00
Mikhail Zarechenskiy
2a4cac024b
Add test for obsolete issue
...
#KT-13813 Obsolete
2017-06-19 17:36:10 +03:00
Mikhail Zarechenskiy
aeac2ea384
Fix 'add not-null asserted call' quick fix for operation in
...
#KT-18529 Fixed
2017-06-19 17:36:09 +03:00
Mikhail Zarechenskiy
b53a3b324f
Fix 'infix call' diagnostic for in operation
...
#KT-8845 Fixed
2017-06-19 17:36:08 +03:00
fitermay
0dced8d29c
Do not suggest "Make overridden member open" for already open ones
...
So #KT-18148 Fixed
2017-06-16 15:04:10 +03:00
shiraji
cbccf932a7
Add inspection removing redundant spread operator for arrayOf call
...
So #KT-17920 Fixed
2017-06-16 15:04:04 +03:00
Toshiaki Kameyama
b9fb7cc3a5
Add quick fix to generate equals / hashcode in data class with arrays
...
So #KT-15893 Fixed
2017-06-16 15:03:52 +03:00
Dmitry Neverov
5df5a001a1
Support implicit receiver in if-then intentions #KT-16069 Fixed
2017-06-16 15:02:44 +03:00
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
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
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
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
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
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
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
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
fc2a1fce8b
Remove line break between ) and : if there's a line break before )
2017-06-14 14:33:42 +02:00
Dmitry Jemerov
a0b5a3a8a2
Implement parenthesis wrapping options
2017-06-14 14:33:41 +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
Nikolay Krasko
6d22e06359
Move all test data for single test to one directory
2017-06-13 19:14:48 +03:00
Mikhail Glukhikh
44e727b75c
Redundant toString() in string template: highlight selector only
...
And not the receiver. So #KT-18253 Fixed
2017-06-13 15:17:42 +03:00
Toshiaki Kameyama
2afe8989df
Make <modifier> intention handle sealed correctly #KT-18425 Fixed
2017-06-13 15:02:36 +03:00
Dmitry Jemerov
a6d80b78de
Fix tests
2017-06-13 13:04:11 +02:00
Vasily Kirichenko
6829c5ef8f
add a test
2017-06-13 13:04:10 +02:00
Toshiaki Kameyama
ac03c91dcc
Make <modifier> intention inserts modifier between annotation and class keywords #KT-14092 Fixed
2017-06-12 18:32:35 +02:00
Alexey Sedunov
ff5a52b445
Analyze Data Flow: Respect member hierarchies
...
#KT-11994 In Progress
2017-06-09 17:19:22 +03:00
Alexey Sedunov
49da81f681
Analyze Data Flow: Support val/var parameters
...
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov
ea7d535ae7
Analyze Data Flow: Support properties with custom accessors
...
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov
d61ddaccb6
Analyze Data Flow: Support callable references
...
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov
3f411fc93b
Analyze Data Flow: Support lambdas/anonymous functions
...
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov
0f44dd6ab0
Analyze Data Flow: Support dereference processing
...
#KT-11994 In Progress
2017-06-09 17:19:16 +03:00
Alexey Sedunov
858b454138
Analyze Data Flow: Initial implementation
...
#KT-11994 In Progress
2017-06-09 17:19:15 +03:00
Valentin Kipyatkov
ca7a0da10f
Fixed one more case of redundant type arguments
2017-06-08 23:26:39 +03:00
Valentin Kipyatkov
c08d862e9e
More correct algorithm for redundant type arguments detection
2017-06-08 23:26:38 +03:00
Valentin Kipyatkov
cfa442a42a
Move refactoring available on cut/paste declarations from an object to top-level
2017-06-08 23:26:12 +03:00