Nikolay Krasko
552408e887
Minor: update test data for quick doc with deprecated annotation
2019-09-30 13:38:27 +03:00
Mikhail Zarechenskiy
78affdd2b4
Fix old testdata: add missing operator modifier
...
This testdata was written when there was no "operator" modifier.
After a83225218f rules for operators become stricter and now functions without operators are not considered as such
2019-09-25 01:52:55 +03:00
Dmitry Gridin
9316f45a5c
Optimize Imports: improve tooltip information
...
#KT-21374 Fixed
2019-07-02 11:54:38 +07:00
Toshiaki Kameyama
49d6bbbd6b
Quick doc: fix missing line break for enum constant (KT-30985)
...
#KT-30985 Fixed
2019-06-29 20:36:54 +03:00
Dmitry Gridin
eee8d0263d
Fix "Unused import" for 'provideDelegate'
...
#KT-31319 Fixed
2019-05-14 21:01:21 +07:00
Dmitry Gridin
3914530fa8
Don't delete import from stdlib if alias exists and used
...
#KT-31414 Fixed
2019-05-14 21:01:21 +07:00
Dmitry Gridin
32298522dd
Optimize Imports shouldn't delete imports with unresolved parts
...
#KT-10512 Fixed
2019-05-14 21:01:20 +07:00
Dmitry Gridin
e857425b35
Fix 'optimizeImports' tests
2019-05-06 18:12:39 +07:00
Dmitry Gridin
ff26acacf9
Optimize Imports shouldn't delete imports with unresolved parts
...
#KT-10512 Fixed
2019-05-06 18:12:39 +07:00
Dmitry Gridin
96ed33e357
Optimize Imports should remove unused import alias
...
#KT-17375 Fixed
2019-05-06 18:10:52 +07:00
Dmitry Gridin
9062a2fe72
Fix false positive "Unused import directive" for imports under several alias
...
#KT-30949 Fixed
2019-05-06 18:10:51 +07:00
Vyacheslav Gerasimov
952d2b6287
Remove 181 bunch files
2019-04-23 17:28:41 +03:00
Toshiaki Kameyama
e082522cdf
Strip trailing spaces on Save: do not strip trailing spaces inside raw String
...
#KT-13048 Fixed
2019-04-02 15:27:08 +03:00
Yaroslav Russkih
028a311949
Use https everywhere - tests and test data
2019-02-19 21:35:36 +01:00
shiraji
d3895c519c
Display Quick Documentation for reserved words
...
#KT-9934 Fixed
2019-02-06 03:17:24 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Nikolay Krasko
5a40fc8679
Add UI options for comments generation (KT-5590)
...
#KT-5590 Fixed
2018-12-26 21:10:03 +03:00
Marcin Moskala
686cfa6fd2
Fix common misspellings
2018-12-21 16:13:42 +03:00
Simon Ogorodnik
7f5f6ad76f
Update QuickDoc testData due to platform changes
2018-11-12 20:56:26 +03:00
Natalia Selezneva
8f8c431524
Fix Optimize import for scripts not under source roots
...
KT-17231 Fixed
KT-21981 Fixed
2018-09-21 22:58:14 +03:00
Simon Ogorodnik
b58e35a3e5
173: Revert changes for IDEA < 181
2018-07-20 18:41:24 +03:00
Simon Ogorodnik
9ec0ce6ec8
KT-22815: Show documentation for function value/type params
2018-07-20 18:41:08 +03:00
Simon Ogorodnik
e4d76382b8
KT-22815: Update testData for quick documentation
2018-07-20 18:41:04 +03:00
Simon Ogorodnik
33a6721270
KT-22815: Update quick-doc testData
2018-07-20 18:40:21 +03:00
Dmitry Savvinov
76c651421b
Deprecate visibility of static members inherited from Java
...
Now they are not visible by short name through companion objects, just
like classifiers in KT-21515
^KT-25333 In progress
2018-07-19 13:32:38 +03:00
Alexander Udalov
f766b2c473
Improve "optimize imports" behavior on default imports
...
Optimize imports to classes when there's an import of a type alias to
that class with the same name. This results in "java.lang.*" imports
being optimized in favor of the corresponding type aliases in "kotlin.*"
which are imported by default
2018-07-16 13:45:11 +02:00
Nikolay Krasko
af930b8364
Review and fix raw string quotes inserting and remove (KT-2582)
...
- Add more tests
- Fix inserting close quotes after multiline string in file end
- Use parent instead of parentOfType where possible
- Add bunch files
#KT-2582 Fixed
2018-04-28 22:27:34 +03:00
Steven Spungin
8252b35ed5
Add support for closing and deleting raw strings (KT-2582)
...
#KT-2582 Fixed
2018-04-28 22:27:34 +03:00
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
Dmitry Savvinov
d570b863ce
Introduce deprecation of companion objects nested classes
...
Introdude deprecation as per KT-21515. Warning is reported on type
usage, that soon will became invisible. Quickfix by adding explicit
import is added.
Idea behind implementation is to mark scopes that are deprecated (see
ClassResolutionScopesSupport).
Then, during walk along hierarchy of scopes, look at deprecation status
of the scope that has provided this classifier.
Note that we also have to check if there are *some* non-deprecated
visibility paths (because we can see classifier by two paths, e.g. if
we've added explicit import) -- then this type reference shouldn't be
treated as deprecated.
2018-02-21 16:04:49 +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
Simon Ogorodnik
7ed1669050
KT-19011: Fix import optimizing when extension functional type is used
...
It should check is extension functional type imported from companion
is actually called on companion instance
#KT-19011 fixed
2017-07-21 03:08:06 +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
14c343de35
Enable auto-indent in multiline strings when caret is before interpolation
...
#KT-17849 Fixed
2017-05-18 20:00:18 +03:00
Nikolay Krasko
251a0270a4
Make auto-indent work for multiline string with injection (KT-17942)
...
#KT-17942 Fixed
2017-05-18 20:00:18 +03:00
Nikolay Krasko
0551659281
Don't indent to unrelated closing quote (KT-17894)
...
#KT-17894 Fixed
2017-05-18 20:00:18 +03:00
Nikolay Krasko
861cac5b52
Better indent in multi-line strings (KT-17849)
...
Inspired by MultilineStringEnterHandler from https://github.com/JetBrains/intellij-scala
https://github.com/JetBrains/intellij-scala/blob/edb741f344afff063197b406ca0c7c266a26c436/src/org/jetbrains/plugins/scala/editor/enterHandler/MultilineStringEnterHandler.scala
#KT-17849 Fixed
2017-05-12 17:34:05 +03:00
Simon Ogorodnik
9ca65fcf99
Fix addition of wrong java.lang imports on optimize imports
...
Add check to star importer, to not import already imported fqNames
#KT-15273 fixed
2017-04-18 17:45:45 +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
Ilya Gorbunov
38b79a51d5
Fix tests after introducing exlcusions to default imports of kotlin.js package.
2017-01-30 19:44:51 +03:00
Simon Ogorodnik
f1c4230a68
KT-14680 import statement to typealias reported as unused when using only TA constructor
...
#KT-14680 fixed
2017-01-26 21:18:20 +03: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