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
Alexey Sedunov
e7748e2700
Convert Parameter to Receiver: Replace parameter references with labeled this-expressions (before shortening them). Report conflict when this-label is ambiguous
...
#KT-7681 Fixed
2015-05-14 15:47:56 +03:00
Alexey Sedunov
02006126f5
Introduce Property: Forbid extension properties with initializers and lazy
...
ones
2015-05-14 15:47:51 +03:00
Alexey Sedunov
b69b66feab
Extraction Engine: Do not extract type parameter if it's resolved in the target scope
...
#KT-7246 Fixed
2015-05-14 15:47:50 +03:00
Sergey Mashkov
a11e0a84b5
JS tests for addClass, removeClass, removeFromParent
2015-05-14 09:16:56 +03:00
Valentin Kipyatkov
1ad5ea4f7e
Corrected test data
2015-05-14 01:10:13 +03:00
Valentin Kipyatkov
d09c1e7c5b
"Invert if" - handling some more cases
2015-05-14 01:10:12 +03:00
Valentin Kipyatkov
279b406bca
"Invert if condition" intention works better for non-symmetric if's
...
#KT-5009 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov
181af17315
KT-7704 Intention actions on visibility modifier for quick changing it
...
#KT-7704 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov
38ac420057
Fixed bug in MergeWhenIntention
2015-05-14 01:10:10 +03:00
Valentin Kipyatkov
102aa661ee
Moved intention based inspection classes to their intention classes + some renames
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
9a97818b82
Smaller range for SimplifyNegatedBinaryExpressionIntention
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
addcadeddf
Replace "contains" with "in" intention handles negation
2015-05-14 01:10:06 +03:00
Valentin Kipyatkov
11812a9ece
Renamed some intentions + test data dirs
2015-05-14 01:10:05 +03:00
Valentin Kipyatkov
096df91972
Renamed intentions package
2015-05-14 01:10:05 +03:00
Valentin Kipyatkov
8095aabd42
Refactored intentions to replace special name calls with operators
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov
fbc3fa2b09
KT-7212 Convert member function to extension intenton positions caret improperly
...
#KT-7212 Fixed
2015-05-14 01:10:04 +03:00