Valentin Kipyatkov
93e170325e
KT-11612 Highlight named arguments in the editor somehow
...
#KT-11612 Fixed
2016-03-30 15:58:04 +03:00
Valentin Kipyatkov
f0ef04a6a8
Changed highlighting range for unresolved annotation name to not include '@'
...
#KT-11529 Fixed
2016-03-24 16:44:58 +03:00
Mikhail Glukhikh
89e56093a2
Limit "always null" scope: only for !!, is and dot; senseless comparison rolled back; "smart constant" information for nulls #KT-10029 Fixed
2015-11-25 18:26:08 +03:00
Mikhail Glukhikh
96c303be60
Smart cast of value / implicit receiver: two different colors
2015-11-17 10:26:46 +03:00
Yan Zhulanow
b2470a6aad
Report warning on unary plus()/minus()
2015-10-19 11:51:54 +03:00
Alexander Udalov
34267e436e
Merge two deprecation diagnostics into one DEPRECATION
...
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
2015-10-13 01:44:45 +03:00
Mikhail Glukhikh
6914d09297
Old backing field with dollar is now forbidden
2015-10-09 21:06:26 +03:00
Yan Zhulanow
6db9344659
Fix compiler tests
2015-09-25 19:20:20 +03:00
Mikhail Glukhikh
094c6cebc3
"field": highlighting fix, including color schemes and example
2015-09-21 15:47:55 +03:00
Mikhail Glukhikh
3770e7f49f
Introduction of AnnotationTarget.CLASS as a replacement for CLASSIFIER (first step)
2015-09-11 17:59:40 +03:00
Denis Zharkov
676ca86ea4
Deprecate escaped modifiers and unescaped annotations
2015-09-08 12:11:30 +03:00
Denis Zharkov
fc447e2d2f
Parse some builtin annotations as modifiers
...
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway
Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Valentin Kipyatkov
d308c959ff
Moved soft keyword highlighting and other analysis that do not require keywords into separate pass executed before running any resolve
2015-08-03 17:11:12 +03:00
Mikhail Glukhikh
1309c1f95f
Annotation mapper is introduced to map java annotation targets to kotlin targets + a set of new / fixed tests
2015-07-21 15:20:31 +03:00
Mikhail Glukhikh
0d2a81f098
Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
...
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Mikhail Glukhikh
1eac4d67de
"annotation" is now parsed as an identifier. It is no longer a soft keyword.
...
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped.
A set of annotations and their options tests.
A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files).
STUB_VERSION increased. Some quick fixes slightly changed.
2015-07-14 16:24:55 +03:00
Valentin Kipyatkov
c689af142a
Fixed highlighting for enum and object names in code
...
#KT-8134 Fixed
2015-06-29 19:29:25 +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
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