Valentin Kipyatkov
6d06436c34
KT-6376 Smart completion should work after "in" and "!in"
...
#KT-6376 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
eae244c308
Grouped test data for smart completion by folders
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
a32029f1fc
Smart completion for for loop range to use loop variable type if defined
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
f057445f6e
KT-5035 Smart completion should work after "in" keyword in for loop
...
#KT-5035 Fixed
2015-02-10 16:13:50 +03:00
Andrey Breslav
0e972acf8c
== turned into a safe-call
2015-02-10 06:55:46 +01:00
Dmitry Jemerov
7827bbf64b
Standard library documentation updates.
2015-02-09 19:19:29 +01:00
Valentin Kipyatkov
c915d2b0cd
Auto-import popup uses new algorithm for import insertion
2015-02-09 13:02:04 +03:00
Valentin Kipyatkov
033b626a08
Fixed test data
2015-02-09 13:02:04 +03:00
Valentin Kipyatkov
952c64f947
Rewritten shortening references algorithm to work correctly with new smart import insertion
2015-02-09 12:56:01 +03:00
Valentin Kipyatkov
3bc2f89a1b
Corrected test data after changes in import insertion + added when more test which fails with the current reference shortening algorithm
2015-02-09 12:56:00 +03:00
Valentin Kipyatkov
5d516a5f72
No need to shorten non-affected references in quickfixes
2015-02-09 12:56:00 +03:00
Valentin Kipyatkov
22d805aede
Fixed a bug in import insertion algorithm
2015-02-09 12:55:59 +03:00
Valentin Kipyatkov
ef8be9560a
Import insertion helper is not confused by inaccessible classes + check visibility of imported declarations through PackageViewDescriptor instead of PackageFragmentDescriptor
2015-02-09 12:55:59 +03:00
Valentin Kipyatkov
dfe71ef7ae
Import insertion algorithm
2015-02-09 12:55:59 +03:00
Valentin Kipyatkov
ca2a46e42f
Auto-import popup to work for ambiguous class name
2015-02-09 12:55:22 +03:00
Dmitry Jemerov
c366da95ac
move KDocFinder to plugin because it's not used in compiler; wrap it in an object to avoid package facade conflicts; add test to findKDoc() and fix it so that it actually works
2015-02-06 18:13:35 +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
cc5edc332d
inherit documentation for properties as well as functions
2015-02-06 16:32:41 +01:00
Natalia Ukhorskaya
2f931f36c8
Implement extra variables for debugger
2015-02-06 11:21:17 +03:00
Alexey Sedunov
03e076aba3
Intentions: function <-> property conversion
2015-02-05 23:12:38 +03:00
Dmitry Jemerov
49cecc35fd
completion in kdoc
2015-02-05 18:30:02 +01:00
Dmitry Jemerov
f450ff8ece
quick test for unresolved reference inspection
2015-02-05 16:28:34 +01:00
Evgeny Gerashchenko
6eead1b1a1
Merge pull request #559 from JetBrains/rr/yole/template-context-comments
...
live template context type for comments in Kotlin; disable other context...
2015-02-05 12:32:45 +04:00
Alexey Sedunov
57763e10e0
Create from usage: make new member function/property private by default
...
#KT-6689 Fixed
2015-02-04 23:38:16 +03:00
Alexey Sedunov
eac735e91a
Change parameter type: Make parameter type nullable (instead of Nothing?) if null is passed as an argument
...
#KT-6634 Fixed
2015-02-04 23:38:14 +03:00
Dmitry Jemerov
26dd9a8c6a
test for live template context type; fix a couple of bugs in existing context types
2015-02-04 19:57:58 +01:00
Dmitry Jemerov
3253754395
code review
2015-02-04 17:26:48 +01:00
Dmitry Jemerov
c0e7d1faf2
add references to kdoc; support resolve and rename
2015-02-04 17:26:47 +01:00
Evgeny Gerashchenko
0d0222e1aa
Expanded workaround for EA-64030 (IDEA doesn't allow keywords in cls annotations).
2015-02-03 17:31:25 +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
Andrey Breslav
0f0f205248
Serializing information about star projections
2015-02-02 19:52:02 +03:00
Andrey Breslav
fecf6f9fdf
Star projection information preserved in substitutions
...
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Alexey Sedunov
2dbfd1fc4c
Move Statement: Fix comma placement for class parameter
...
#KT-6672 Fixed
2015-01-30 21:16:27 +03:00
Evgeny Gerashchenko
a492e248fe
Added workaround for the problem that IDEA doesn't allow keywords in cls annotations.
2015-01-30 17:50:55 +03:00
Valentin Kipyatkov
0cffdeb973
Added 2 failing tests for bugs in resolve
2015-01-30 13:33:36 +03:00
Svetlana Isakova
6cac6350a6
Fixed rendering of error message for 'cannot capture type' error
...
Type variable should be chosen correctly
2015-01-30 13:33:35 +03:00
Andrey Breslav
da238cffaf
Visibility of local classes is LOCAL
2015-01-29 16:07:29 +03:00
Alexander Udalov
3ea59117ac
Simplify code in module script/xml generation
...
Pass classpath and annotation roots explicitly instead of wrapped in a callback
2015-01-28 19:58:32 +03:00
Alexander Udalov
fa2116040e
Modules.xml: add Java sources right after Kotlin sources
...
Java sources should appear before classpath dependencies because they should
have higher priority if the same symbol is located in the module source and in
the classpath. This is so because by default module source has the highest
priority in IDEA except the JDK. Ideally this will be handled later by full
support of modules in the compiler
2015-01-28 19:58:31 +03:00
Evgeny Gerashchenko
897854b3dc
KT-6671 Report unused constructor parameters
...
#KT-6671 fixed
2015-01-27 22:38:27 +03:00
Evgeny Gerashchenko
6ffe49f1d2
KT-6582 "Expand selection" in string literal should select word in string
...
#KT-6582 fixed
2015-01-22 19:10:01 +03:00
Dmitry Jemerov
dbba0b769b
include TEXT_OR_LINK in the list of content tokens; fix incorrect testdata
2015-01-22 14:05:03 +01:00
Evgeny Gerashchenko
386854d73f
Unused object.
...
unusedButEntryPointMain for class was actually a wrong test: it didn't check anything, because objects are were not checked for unusedness before.
2015-01-22 15:26:49 +03:00
Evgeny Gerashchenko
378d00bbad
Quick fix for unused symbol inspection.
2015-01-22 15:26:45 +03:00
Evgeny Gerashchenko
71bcce6410
Highlighting unused type parameter.
2015-01-22 15:20:32 +03:00
Evgeny Gerashchenko
aff2547ff8
Searching for properties declared in class constructor signature.
2015-01-22 15:20:31 +03:00
Evgeny Gerashchenko
b0e2afc8cb
Searching for property accessors, too.
2015-01-22 15:20:30 +03:00
Evgeny Gerashchenko
8fd5e72632
Finding unused properties.
2015-01-22 15:20:29 +03:00
Evgeny Gerashchenko
9ba86501ec
Not marking enum entries as unused.
2015-01-22 15:20:28 +03:00