Commit Graph

67 Commits

Author SHA1 Message Date
Nikolay Krasko a03470d151 Fix test data for JavaMethodUsedInKotlin.kt test after 173.3.4 update
- Ignore empty lines in actual test data
- Don't generate additional //INFO: in final file diff
2018-03-01 15:41:10 +03:00
Toshiaki Kameyama 19c35ef48c KT-21213 multiline kdoc - intellij joins lines together without space (#1459)
* KT-21213 multiline kdoc - intellij joins lines together without space

* Use \n directly as a line separator #KT-21213

* Remove unused import #KT-21213
2018-01-05 15:29:11 +01:00
Alexander Udalov 472959aca1 Improve rendering of modifiers in DescriptorRenderer
* Use bold font to render all modifiers
* Render 'external' according to the style guide, right after modality
2017-08-25 15:35:05 +03:00
Nikolay Krasko 2cf4da8564 Fix test behaviour in branch 172 2017-08-10 22:05:49 +03:00
Knize 389c7d03b7 KT-6676 Show enum ordinal in quickdoc (#1165)
KT-6676: Show enum ordinal in quickdoc

 #KT-6676 fixed
2017-07-14 22:28:16 +03:00
Simon Ogorodnik ab919886ae Fix rendering of local anonymous object types for quick doc
#KT-8893 fixed
2017-07-01 15:04:29 +03:00
Dmitry Petrov c83b764c73 Update testData after changes in diagnostics 2017-05-26 13:58:46 +03:00
Nikolay Krasko b4ebd6074c Restore quick doc for it parameter and this of extension function 2017-04-03 19:05:22 +03:00
Dmitry Jemerov a539939388 Fix testdata according to contract inference changes in 2017.1 2017-03-20 18:45:46 +01:00
Simon Ogorodnik d0cf1b0c5f Fix for KT-14819 Quick documentation for special Enum functions doesn't work
#KT-14819 fixed
2017-01-10 16:04:18 +03:00
Simon Ogorodnik fa01a4efad Fix for KT-12872 Don't show "defined in <very long qualifier here>" in quick doc for local variables
#KT-12872 fixed
2017-01-10 16:03:30 +03:00
Simon Ogorodnik e4a383f3e2 Fix for KT-10665, now only signature + deprecation info shown in quick navigation tooltip
Fix tests, to use full documentation mode instead of quick navigate
2016-11-29 14:08:10 +03:00
Simon Ogorodnik 1c75c02dfe Fix for KT-13699 Quick documentation doesn't show supertype docs for overridden Java 2016-11-29 14:08:09 +03:00
Simon Ogorodnik 2824c8d4cd Fix for KT-11032 Samples not rendered in Quick Doc
Now samples included as code blocks into quick doc
2016-11-29 14:07:47 +03:00
Simon Ogorodnik 94770f8447 Fix for KT-13197 Markdown indented code blocks are not recognized by quick doc
Expanded code blocks lexer test, to cover indented code blocks
2016-11-29 14:07:34 +03:00
Simon Ogorodnik 3376dbb10d Fix for KT-7995 Quick doc should show deprecation info and ReplaceWith 2016-11-29 14:07:32 +03:00
Simon Ogorodnik c93e47febf Feature KT-7739 Type names in Quick Documentation should be clickable and navigate to their documentation
Filter out 'boring builtin classifiers' (kotlin.Int for ex) from signature hyperlinks
2016-11-29 14:06:37 +03:00
Simon Ogorodnik b007d9b60f Fix for KT-13038 Quick doc should escape HTML entities in code blocks 2016-11-29 14:06:35 +03:00
Dmitry Jemerov 5d6f1cf3fa Fix handling of underscores in Markdown links (KT-14452) 2016-10-28 16:40:27 +02:00
Dmitry Jemerov 216d548e98 fix rendering of code blocks escaped with multiple backticks or containing backslashes
#KT-12998 Fixed
 #KT-12999 Fixed
2016-07-07 18:01:38 +02:00
Dmitry Jemerov 801a128547 don't lose ! when rendering markdown
#KT-13000 Fixed
2016-07-07 18:01:37 +02:00
Kirill Rakhman 79fff4aa3c Show quick doc for implicit lambda parameter 'it' (#889)
* Show quick doc for implicit lambda parameter 'it'
Fixes #KT-9271

* Remove useless code
2016-07-05 14:51:56 +03:00
Dmitry Jemerov b5e5c6f4d0 generate correct HTML for code blocks 2016-05-06 22:11:53 +02:00
Dmitry Jemerov 94c241443b support @receiver KDoc tag; somewhat more precise tag name completion 2016-05-06 22:11:50 +02:00
Dmitry Jemerov 992817e70c don't trim whitespace when converting whitespace to HTML
#KT-10998 Fixed
2016-05-06 22:11:46 +02:00
Dmitry Jemerov d7b1526cd5 preserve leading indentation in KDoc code blocks
#KT-9933 Fixed
2016-05-06 22:11:38 +02:00
Dmitry Jemerov 721629f8e0 integrate Ingo Kegel's Dokka fix for rendering standalone * and _ characters 2016-05-06 22:11:34 +02:00
Dmitry Jemerov 6cbf1de170 render markdown inside link texts
#KT-11791 Fixed
2016-05-06 22:11:32 +02:00
Dmitry Jemerov c967cc8a23 resolve references from @param to type parameters of functions
#KT-12001 Fixed
2016-05-06 22:11:31 +02:00
Valentin Kipyatkov 4cd7193047 KT-11018 Ctrl + Mouse Hover shows a var as val
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00
Ilya Gorbunov 59a9e2549c Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes 2015-12-14 04:29:25 +03:00
Ilya Gorbunov f105329fb4 Fix test dependent on exact documentation wording in stdlib. 2015-11-11 04:05:07 +03:00
Alexey Tsvetkov 5e90bafe18 Build stubs for modifiers 2015-10-19 20:45:02 +03:00
Pavel V. Talanov 5cf1417511 Fix test data for quick doc test
(cherry picked from commit 57589e3)
2015-10-19 16:03:17 +03:00
Alexander Udalov baaa3ef50a Remove KotlinSignature annotations from project code 2015-10-13 20:29:16 +03:00
Svetlana Isakova c531c5a0af KDoc. Don't ignore links in @see
Such link was totally ignored:
/**
 * @see <a href="http://kotl.in">http://kotl.in</a>
 */
2015-10-12 16:28:48 +03:00
Denis Zharkov 7ea7e3cc7c Render '@' before each annotation 2015-09-18 10:14:38 +03:00
Michael Nedzelsky fa97b8f91e fix tests in org.jetbrains.kotlin.idea.editor.quickDoc 2015-09-08 02:05:34 +03:00
Denis Zharkov 6b92f67eac Load raw types as platform with specific bounds
Raw(A<T_i>) = (A<UP(T_i)>..A<*>)
Raw types have specific scopes that behaves like JVM signature erasure
2015-07-31 17:33:21 +03:00
Dmitry Jemerov 6d1ccc22ab reduce vertical whitespace in rendered KDoc comments 2015-07-30 10:38:16 +02:00
Dmitry Jemerov b483713f2c Render code blocks in KDoc 2015-07-30 10:38:15 +02:00
Dmitry Jemerov 909d094896 Fixed rendering of line breaks and apostrophes in KDoc
#KT-8531 Fixed
 #KT-8392 Fixed
2015-07-30 10:38:14 +02:00
Pavel V. Talanov 54b1859aa7 KotlinQuickDocumentationProvider: fix quick doc for elements from type hierarchy
Fix quick doc for light classes

 #KT-7964 Fixed
2015-06-08 18:46:44 +03:00
Ilya Gorbunov 851007cc6c Fix output of test that relied on the documentation wording. 2015-05-28 00:36:00 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Dmitry Jemerov eeb2728b7e show "defined in" for declarations in quick doc popup
#KT-7320 Fixed
2015-04-21 15:36:37 +02:00
Nikolay Krasko ca98b19aba Wrong package light file with package class 2015-04-01 02:02:07 +03:00
Nikolay Krasko a109223a07 Minor: fix compile errors in java test data 2015-04-01 02:01:51 +03:00
Dmitry Jemerov 853fce4b71 render Markdown and support link navigation in KDoc comments 2015-03-17 19:55:49 +01:00
Dmitry Jemerov 7827bbf64b Standard library documentation updates. 2015-02-09 19:19:29 +01:00