Commit Graph

43 Commits

Author SHA1 Message Date
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Denis Zharkov 849b8acbf8 Replace annotations with brackets in testData
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00
Denis Zharkov 1d77f50903 Refine highlighting of '@'
- Do not highlight '@' as separate token.

- Highlight '@' the same way as element where it's located: annotation, label or modifier.

- Extend text range when positioning unresolved reference in annotation with '@'.

Note that currently '@' is collapsed with modifiers tokens
2015-05-07 22:36:16 +03:00
Dmitry Jemerov f0b7830521 use new API for indexing identifiers and TODO items in Kotlin files that allows reusing the lexer for building both indices; index TODO items in KDoc comments
#KT-5677 Fixed
2015-04-29 18:38:10 +03:00
Ilya Ryzhenkov 79388d0dbf Update test data for highlighter tests on deprecations. 2015-04-24 15:44:43 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko c6352ec699 KT-6920 Reference this marked as deprecated if extension function is deprecated
#KT-6920 fixed
2015-03-06 13:43:03 +03:00
Pavel V. Talanov 640d2de5b9 Fix incorrect reference target for class literals in some cases 2015-03-03 13:04:27 +03:00
Pavel V. Talanov 2b0e823695 Improve test for deprecated class object 2015-02-16 15:38:38 +03:00
Pavel V. Talanov 75f55dd99a Update test data that mentioned old <class-object-for-..> name 2015-02-16 15:38:35 +03:00
Dmitry Jemerov 71dbe671fa rename tag value to link 2015-02-03 13:24:58 +01:00
Dmitry Jemerov 31d6ca8731 highlight links in KDoc; correctly highlight first word following tag name 2015-02-03 13:24:58 +01:00
Evgeny Gerashchenko 897854b3dc KT-6671 Report unused constructor parameters
#KT-6671 fixed
2015-01-27 22:38:27 +03:00
Andrey Breslav 7f0df032b4 Highlight dynamic calls in the editor 2014-12-01 20:43:41 +03:00
Zalim Bashorov c85ec97589 Minor: revert dc68d78 (Minor: revert changes in StackValue and fix tes data. another fixes) 2014-07-25 17:16:40 +04:00
Zalim Bashorov dc68d78d9d Minor: revert changes in StackValue and fix tes data.
(this commit should be reverted after make Unit object)
2014-07-11 20:28:57 +04:00
Zalim Bashorov 2947963e67 IDEA plugin: fixed highlighting for objects. 2014-07-10 17:25:43 +04:00
Alexander Udalov c56f397f71 Don't fail when "deprecated" doesn't have a message
EA-57345
2014-06-26 22:03:00 +04:00
Alexander Udalov f7b6457139 Replace "jet" package name with "kotlin" in testData 2014-03-02 19:55:26 +04:00
Alexander Udalov 11cc7f46f4 Remove "Iterator.iterator()" intrinsic, add stdlib function 2014-03-02 19:55:24 +04:00
Alexander Udalov ec30d52978 Delete Hashable, pull up its members to Any
Extensions on nullable types remain in Library.kt

 #KT-1741 Obsolete
 #KT-2805 Obsolete
 #KT-1365 Fixed
 #KT-4517 In Progress
2014-03-02 19:54:08 +04:00
Evgeny Gerashchenko 958f7c862d Got rid of "namespace" word in test data. 2014-01-14 18:06:50 +04:00
Alexander Udalov 49f8f0af92 Fix highlighting for objects and enum entries
JetObjectDeclarationName is now highlighted with KOTLIN_CLASS
2013-12-02 19:56:14 +04:00
Nikolay Krasko d0e4245112 Add test for enum highlighting 2013-10-03 23:35:54 +04:00
Nikolay Krasko f09ba64234 Refactoring: Use generators for highlighting tests
- Store options for test in file
- Change default for namesHighlightingTest
- Combine highlighting and deprecated tests
2013-10-03 23:35:53 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Evgeny Gerashchenko 50b2f79b2e Removed tooltip for variable as function(-like) call. 2013-04-04 17:33:59 +04:00
Natalia.Ukhorskaya 9422fea0c4 Mark deprecated as a warning
#KT-3252 Fixed
2013-01-21 16:34:07 +04:00
Evgeny Gerashchenko bbab0eebae Highlighting variable called as function. 2013-01-15 19:41:41 +04:00
Natalia.Ukhorskaya cacb2a6761 Change tooltip message for deprecated items 2012-10-24 11:56:43 +04:00
Natalia.Ukhorskaya 62d8153ada Map java.land.Deprecated to jet.deprecated
Change testData for deprecated annotation
 #KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Natalia.Ukhorskaya 20352b3810 Highlight references to deprecated things accordingly
#KT-2925 Fixed
2012-10-12 15:23:04 +04:00
Evgeny Gerashchenko 7c95c0a617 KT-2333 highlight class fields as method param default value
#KT-2333 fixed
2012-07-21 21:08:29 +04:00
Evgeny Gerashchenko 9b403bfb66 KT-2111 Highlight Java classes/interfaces/etc in Kotlin code
#KT-2111 fixed
2012-05-31 18:12:09 +04:00
Evgeny Gerashchenko 124266ea68 Fixed highlighter tests. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko 646cdefc51 Updated test.
#KT-1896 fixed
2012-05-04 15:46:40 +04:00
Evgeny Gerashchenko 8bece9fb81 Changed highlighting for extension properties and functions, so extension members will be highlighted differently depending on their container (instance or namespace). 2012-04-11 15:53:57 +04:00
Evgeny Gerashchenko ee24554e28 Fixed highlighting of builtin annotations (they were highlighted like keywords). 2012-04-08 22:58:50 +04:00
Evgeny Gerashchenko 33320075d6 Added test checking names highlighting. 2012-04-05 19:24:55 +04:00