Dmitry Jemerov
009e3f9cd7
rename PSI classes according to current terminology:
...
KtMultiDeclaration(Entry) -> KtDestructuringDeclaration(Entry)
KtFunctionLiteralExpression -> KtLambdaExpression
KtFunctionLiteralArgument -> KtLambdaArgument
KtDelegationSpecifierList -> KtSuperTypeList
KtDelegationSpecifier -> KtSuperTypeListEntry
KtDelegatorToSuperClass -> KtSuperTypeEntry
KtDelegatorToSuperCall -> KtSuperTypeCallEntry
KtDelegationByExpressionSpecifier ->KtDelegatedSuperTypeEntry
2015-12-10 16:15:13 +01:00
Denis Zharkov
cf4b1ab7cd
Drop obsolete annotations syntax
2015-06-12 09:55:00 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Dmitry Jemerov
c3a496b9a2
introduce the concept of sections
2015-01-20 18:00:17 +01:00
Valentin Kipyatkov
377df47e29
Fixed doc-comment not attached to the first declaration with no package directive + incorrect placement of comments for enum entry
2014-10-31 21:07:50 +03:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Evgeny Gerashchenko
e338cda06d
Changed extension in parsing test data (jet -> kt)
2013-09-17 18:10:00 +04:00
Sergey Rostov
12e20378a2
KDoc lexer refactored (got rid of hacks and separate tokens for words). Fixed bug with isInComment(element) detection.
2013-05-28 13:05:28 +04:00
Sergey Rostov
5ff1f746d4
KT-1545, KT-3161 KDoc lexer & parser
2013-05-28 13:05:28 +04:00
Andrey Breslav
6aafaa1851
JetNamespace eliminated
2011-12-27 20:23:58 +04:00
Andrey Breslav
49c29dd323
KT-691 Allow to create nested namespaces with dot delimiter
2011-11-30 15:06:55 +03:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00