Yaroslav Russkih
028a311949
Use https everywhere - tests and test data
2019-02-19 21:35:36 +01:00
Nikolay Krasko
0cd3e4f3a4
Minor: JetFile -> KtFile
2017-05-18 20:00:17 +03:00
Dmitry Jemerov
d7b1526cd5
preserve leading indentation in KDoc code blocks
...
#KT-9933 Fixed
2016-05-06 22:11:38 +02:00
Dmitry Jemerov
01b0cfb552
don't parse lines starting with @ as KDoc tags if they're inside a Markdown code fence
...
#KT-11789 Fixed
2016-04-05 19:48:51 +02:00
Evgeny Gerashchenko
0d79c65d73
KT-8275 Unterminated multi-line comment should be compilation error
...
#KT-8275 fixed
2016-01-29 01:00:47 +03:00
Andrey Breslav
aca355acdc
'...' reserved as a token
...
KT-9708 Ambiguous syntax for Double ranges: `.1...2` (triple dot)
#KT-9708 Fixed
2015-11-30 19:36:33 +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
5bbbadeb37
add a token for inline Markdown links; add test for identifier links with labels
2015-04-15 19:48:46 +02:00
Dmitry Jemerov
28ed30bcb3
change KDoc parsing so that space after parameter/section name is not included in tag content; support @property tag in KDocFinder
2015-03-06 16:13:11 +01:00
Dmitry Jemerov
084470e840
fix NPE in KDocLinkParser
2015-02-09 18:21:50 +01:00
Dmitry Jemerov
70cf3e9c60
KDoc link parsing rewrite.
...
Support qualified names immediately after tag (@see or @param). Detect whether a tag is followed by a reference immediately while lexing, remove TEXT_OR_LINK token type. Remove duplicate nested KDocLink nodes from the PSI structure.
2015-02-06 16:33:55 +01:00
Dmitry Jemerov
56d85c2033
don't parse links which aren't Kotlin identifiers and have an explicitly specified destination
2015-02-05 16:27:37 +01:00
Dmitry Jemerov
3253754395
code review
2015-02-04 17:26:48 +01:00
Dmitry Jemerov
40f459306a
parse qualified names in kdoc
2015-02-04 17:26:46 +01:00
Dmitry Jemerov
223882d292
correctly parse tag in the beginning of doc comment
2015-02-04 17:26:46 +01:00
Dmitry Jemerov
c3a496b9a2
introduce the concept of sections
2015-01-20 18:00:17 +01:00
Dmitry Jemerov
f3763bc2b5
some initial PSI for KDoc; changed syntax of links (Markdown style single brackets instead of Wiki style double brackets)
2015-01-20 18:00:09 +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
bcc2c46e99
KDoc wiki links pair matcher and @tags highlighter
2013-05-28 13:05:29 +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