Evgeny Gerashchenko
0488229a61
KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
...
#KT-7693 fixed
2015-05-25 18:33:08 +03:00
Natalia Ukhorskaya
1cfed000c4
Fix exception during step into inline function in library
2015-05-25 16:19:03 +03:00
Natalia Ukhorskaya
5d9daf3890
Refactor stepping tests
2015-05-25 16:19:00 +03:00
Alexey Sedunov
b2201026d1
Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
...
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Evgeny Gerashchenko
24c533df32
KT-6285 Rename refactoring doesn't rename named arguments when rename function parameters or private val/var constructor parameters
...
Just added test. Works automatically since rename parameter now delegates to change signature.
#KT-6285 fixed
2015-05-22 17:18:08 +03:00
Evgeny Gerashchenko
2568fc92cb
Supported Kotlin in Java's automatic parameter renamer.
2015-05-22 17:18:07 +03:00
Evgeny Gerashchenko
1e46469bb1
Automatic renaming parameter in hierarchy.
2015-05-22 17:18:06 +03:00
Evgeny Gerashchenko
e50de5d94d
KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
...
KT-7623 Renaming val constructor parameter of a data class is very slow
#KT-7730 fixed
#KT-7730 fixed
2015-05-22 14:33:11 +03:00
Natalia Ukhorskaya
52fe6310a0
Fix breakpoints in inline functions in libraries
2015-05-22 11:05:06 +03:00
Alexey Sedunov
14d1d8e1dc
Inspections: Create single diagnostic for inspections based on multiple intentions
...
#KT-7784 Fixed
2015-05-21 19:29:47 +03:00
Alexey Sedunov
5166cdbc96
Introduce...: Allow semicolon extraction
...
#KT-7583 Fixed
2015-05-21 19:29:46 +03:00
Natalia Ukhorskaya
2b015ae09a
Debugger: support field watchpoints for kotlin
2015-05-21 19:17:35 +03:00
Natalia Ukhorskaya
95b9c05138
Tests for step out command
2015-05-21 19:17:32 +03:00
Natalia Ukhorskaya
5edc25d2ba
Debugger: step into default property getter/setter
...
#KT-7287 Fixed
2015-05-21 19:17:31 +03:00
Natalia Ukhorskaya
f742188df9
Minor: do not use property in twoLambdasOnOneLineSecond test
2015-05-21 19:17:30 +03:00
Ilya Gorbunov
fb342de451
Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator.
2015-05-21 19:07:19 +03:00
Sergey Mashkov
9b24a9b73b
Maven: fix test data for project configurator
2015-05-20 13:45:14 +03:00
Denis Zharkov
87be626848
Add quickfix for deprecated labels syntax
2015-05-20 09:24:57 +03:00
Denis Zharkov
5b1f3080d3
Add quickfix removing names of function expressions
2015-05-20 09:24:57 +03:00
Denis Zharkov
b650753643
Change formatting of function expressions without names
...
No spaces between 'fun' and value parameter list
2015-05-20 09:24:56 +03:00
Denis Zharkov
5297b4974f
Adjust descriptor renderer to latest parsing changes
...
- `constructor` keyword expected in primary constructor with non-empty modifier list
- annotation list should be preceeded by '@'
2015-05-20 09:24:56 +03:00
Denis Zharkov
89337ff51e
Change deprecation rules for annotations in brackets
...
Also adjust quickfix for deprecated syntax
2015-05-20 09:24:56 +03:00
Denis Zharkov
a9c1c3edb6
Add quickfix for missing 'constructor' inside primary ctor
2015-05-20 09:24:55 +03:00
Denis Zharkov
46a6cab671
Formatter: no spaces after 'constructor' inside primary ctor
2015-05-20 09:24:55 +03:00
Valentin Kipyatkov
7edff172a2
KT-1273 Unused assignment - should highlight assignment instead of expression
...
#KT-1273 Fixed
2015-05-19 23:45:59 +03:00
Alexander Udalov
e1b367bd65
Delete test case for navigation to 'invoke' of functional type
...
Classes for functional types will not have any physical source representation
anymore, so navigation to them in the IDE will not be possible
2015-05-19 18:47:00 +03:00
Pavel V. Talanov
5b14d5be28
ClsStubBuilder: fix stub builder in case of java types annotated with special annotations
2015-05-19 16:01:40 +03:00
Mikhail Glukhikh
1edce76d01
Fix for EA-68569 with a test. #EA-68569 Fixed
2015-05-19 13:55:28 +03:00
Mikhail Glukhikh
3585c45f70
Fixed a quick fix for enum entry delimiters: situation with following comments. Three new tests. isAvailable().
2015-05-19 11:22:57 +03:00
Mikhail Glukhikh
6342b98592
Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable().
2015-05-19 11:22:34 +03:00
Natalia Ukhorskaya
62e9c31987
Do not step into package facade class if SKIP_SYNTHETIC_METHODS flag is true
2015-05-19 10:39:09 +03:00
Alexey Sedunov
7bc5ec04c7
Move: Suggest deleting file when all declarations are moved
2015-05-18 21:18:53 +03:00
Alexey Sedunov
da6b8b75ea
Move File/Change Package: Change package directive prior to processing of internal usages (otherwise some necessary imports are not added)
2015-05-18 21:18:51 +03:00
Alexey Sedunov
38ae9349fc
Move: Move entire file if all declarations are selected ("Move to Package" mode)
2015-05-18 21:18:48 +03:00
Alexey Sedunov
d88d7a0ac5
Move: Do not use existing file name when moving its top-level declaration(s)
...
#KT-7697 Fixed
2015-05-18 21:18:44 +03:00
Andrey Breslav
df6c20efa4
KT-7689 Wrong error message format for type of ... doesn't match to the type of overridden var-property
...
#KT-7689 Fixed
2015-05-18 19:26:29 +03:00
Valentin Kipyatkov
c4b881c458
Fixed test data
2015-05-17 12:32:11 +03:00
Valentin Kipyatkov
e4cf12f93e
Corrected test data to not use obsolete syntax
2015-05-16 17:15:15 +03:00
Valentin Kipyatkov
60b0236101
Corrected parser: incomplete code should never cause brace disbalance
...
Fixed KT-7539 fq name inserted when completing nested traits name
#KT-7539
2015-05-16 17:15:12 +03:00
Dmitry Jemerov
dc9523016a
report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface'
2015-05-15 18:20:39 +02:00
Mikhail Glukhikh
983339e1c9
Detection of semicolon between enum entries together with the correct delimiter quick fix for this case.
...
Error message reported directly on semicolon.
2015-05-15 16:13:41 +03:00
Mikhail Glukhikh
edd269f5ff
Quick fix for enum entry delimiter syntax fix, together with a set of tests.
...
Possible NPE in getNextSiblingIgnoringWhitespace fixed. Some warnings also removed.
Last comma is replaced by semicolon. Comments are taken into account.
2015-05-15 16:13:39 +03:00
Mikhail Glukhikh
da3d083dc0
Quick fix for enum entry super constructor syntax fix, together with a set of tests
2015-05-15 16:13:36 +03:00
Mikhail Glukhikh
147bca3d22
Enum deprecated syntax detection implemented and integrated into DeclarationsChecker.
...
A lot of tests was changed to refactor deprecated syntax. Six new tests were added to check deprecated syntax detection.
Diagnostic for "enum entry uses deprecated super constructor": constructor is highlighted
Diagnostic for "enum entry uses deprecated or no delimiter".
One warning removed.
2015-05-15 16:13:34 +03:00
Mikhail Glukhikh
1a312140e9
New enum syntax: Short constructor syntax introduced for entries, optional commas between entries, semicolon after entries. #KT-7605 Fixed.
...
Grammar changed accordingly.
Semicolons prohibited after an entry except the last one.
Only one initializer is allowed per entry.
EnumReferenceExpression AST node introduced.
Some tests fixed, a pair of new tests written. Kotlin code inside project fixed.
Formatter and intendation tests fixed accordingly.
Stub version is incremented.
2015-05-15 16:13:32 +03:00
Mikhail Glukhikh
67cce57aeb
Decompiler & stub builder fixed accordingly with new enum syntax.
...
Companion object now directly follows enum entries to avoid having them at the middle.
Some decompiler & stub builder tests fixed accordingly.
2015-05-15 16:13:29 +03:00
Mikhail Glukhikh
cf741cb868
Enum parsing changed: first entries, then members. Grammar fixed accordingly.
...
A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
2015-05-15 16:13:27 +03:00
Nikolay Krasko
6b64ae77f3
Test light classes from sources have priority over decompiled light classes
2015-05-15 15:29:31 +03:00
Evgeny Gerashchenko
533935f2c0
KT-7472 function of anonymous class is never used
...
#KT-7472 fixed
2015-05-14 21:51:07 +03:00
Alexander Udalov
62d0d5c77f
Minor, fix error message when renaming package facade
2015-05-14 18:40:49 +03:00