Mike
7e01ac81ab
Fixed Slack link ( #1140 )
...
http://kotlinslackin.herokuapp.com/ is down, replaced with http://slack.kotlinlang.org/
2017-06-19 08:33:13 +02:00
Mikhail Glukhikh
e8b0d47765
PlainTextPasteImportResolver: use relevant facade for Java classes
...
Fixes EA-75803 for this particular case
2017-06-16 17:17:38 +03:00
Vyacheslav Gerasimov
f51e3ab90c
Fix Android extensions property usage highlighting
...
#KT-10736 Fixed
2017-06-16 17:13:34 +03:00
Mikhail Zarechenskiy
f8617f6676
Adapt collecting synthetic constructors in IDE for completion
2017-06-16 16:44:53 +03:00
Mikhail Zarechenskiy
011231f2ab
Collect sam adapters for constructors in synthetic scope
...
Also place computation of synthetic constructors under one function
2017-06-16 16:44:52 +03:00
Mikhail Zarechenskiy
0adc8d9bfa
Minor: remove val
2017-06-16 16:44:51 +03:00
Mikhail Glukhikh
e9e028f987
Minor: add getName() for three local quick fixes to fix 162 / AS23
2017-06-16 16:20:55 +03:00
Mikhail Glukhikh
4f8db14e5b
Update changelog (1.1.3-eap-85)
...
(cherry picked from commit 61cb598)
2017-06-16 16:04:32 +03:00
Derek Alexander
1f5cc059f9
Fix compiler failure related NO_EXPECTED_TYPE
...
Changes to turn KT-16016 into a compiler diagnostic error rather than a
stack trace
#KT-16016 Fixed
2017-06-16 15:52:09 +03:00
Mikhail Glukhikh
ace3bfbbf9
Fix if -> ?: / ?. highlight type
...
if should be transformed, default level used (weak warning);
if should not be transformed, no highlighting (information) used.
2017-06-16 15:23:48 +03:00
Mikhail Glukhikh
9e85b0c2ba
Has platform type inspection: do not enforce weak warning type
...
So #KT-17954 Fixed
2017-06-16 15:17:50 +03:00
Mikhail Glukhikh
c3f3392f0c
Minor
2017-06-16 15:04:29 +03:00
fitermay
81f5a29526
Make overridden member open: invalidate cached state on PSI modification
...
Before, waiting for inspection rerun was necessary
Also rename: computeState --> computeInfo
Related to KT-17740
2017-06-16 15:04:22 +03:00
fitermay
289286c8cd
Avoid mutating state and do not rely on side effects for proper function
...
So #KT-17740 Fixed
2017-06-16 15:04:16 +03:00
fitermay
0dced8d29c
Do not suggest "Make overridden member open" for already open ones
...
So #KT-18148 Fixed
2017-06-16 15:04:10 +03:00
shiraji
cbccf932a7
Add inspection removing redundant spread operator for arrayOf call
...
So #KT-17920 Fixed
2017-06-16 15:04:04 +03:00
Mikhail Glukhikh
ce55d9e364
Fix of "Replace array of with array literal"
...
Do not apply if module does not support the relevant feature
Related to KT-17164
2017-06-16 15:03:58 +03:00
Toshiaki Kameyama
b9fb7cc3a5
Add quick fix to generate equals / hashcode in data class with arrays
...
So #KT-15893 Fixed
2017-06-16 15:03:52 +03:00
Dmitry Neverov
5df5a001a1
Support implicit receiver in if-then intentions #KT-16069 Fixed
2017-06-16 15:02:44 +03:00
Kirill Rakhman
13a2612e20
Add inspection for ranges with start > endInclusive #KT-18438 Fixed
2017-06-16 15:02:31 +03:00
shiraji
647558c98a
Add inspection for potentially wrongly placed unary operators
...
So #KT-18236 Fixed
2017-06-16 15:02:24 +03:00
Alexey Sedunov
eaea160f0e
Kotlin Facet: Fix detection of source set name by Gradle compile task
...
#KT-17492 Fixed
2017-06-15 17:26:40 +03:00
Alexey Sedunov
1544467725
Presentation: Fix NPE on star projection rendering
...
EA-100480 Fixed
2017-06-15 17:26:39 +03:00
shiraji
ab4eb1dd20
Add better quickfix for scope functions #KT-13676 Fixed
2017-06-15 15:01:42 +03:00
Mikhail Glukhikh
09d8c31433
Change highlight type of many inspections to GENERIC_ERROR_OR_WARNING
...
This way they will use highlight type depending on their level.
Otherwise highlight type is enforced and changing level in IDE
actually changes nothing.
2017-06-15 15:01:41 +03:00
Dimach
d369fa094a
Add Boolean? == const to elvis conversion and vice versa #KT-15368 Fixed
...
Convert elvis to equality check implemented as inspection due
code style guide
2017-06-15 15:01:39 +03:00
Nikolay Krasko
6e9c0a0fda
Move test logging processing in find usages to single place
2017-06-15 14:00:43 +03:00
Nikolay Krasko
60c8d5dcc0
Fix search usages for invoke() with vararg parameter (KT-18479)
...
#KT-18479 Fixed
2017-06-15 14:00:42 +03:00
Nikolay Krasko
018d4653e8
Fix search usages for invoke() extension operator (KT-18269)
...
#KT-18269 Fixed
2017-06-15 14:00:41 +03:00
Pavel V. Talanov
46512f34e4
Fix 'Find symbol' and 'Go to declaration' when jar is used in many libs
...
SourceNavigationHelper takes into account all the module infos
that given virtual file is a part of
#KT-15093 Fixed
2017-06-15 13:35:40 +03:00
Pavel V. Talanov
6eb4addb6e
Test 'find symbol' when same jar is shared by libs(some without sources)
2017-06-15 13:35:40 +03:00
Pavel V. Talanov
8cfd6ffae0
Test navigation from source when same jar is in different libraries
...
One library can have sources attached and the other doesn't
#KT-15093 In progress
2017-06-15 13:35:39 +03:00
Pavel V. Talanov
b12de14482
Refactor, extract some 'goto' related testing utils
2017-06-15 13:35:38 +03:00
Pavel V. Talanov
4356795324
Refactor, extract util in test code
2017-06-15 13:35:37 +03:00
Pavel V. Talanov
7949d3209b
Minor, untangle Multi(Module)HighlightingTest hierarchy a bit
2017-06-15 13:35:36 +03:00
Nikolay Krasko
850568b8e9
Support "Force Step Over" action over suspended calls (KT-18453)
...
#KT-18453 Fixed
2017-06-15 13:29:28 +03:00
Nikolay Krasko
0e8e8ef546
Step over for suspended calls (KT-18453)
...
Debugger do the normal step over action and checks if function is
going to suspend. In this case the "run-to-cursor" breakpoint is
installed on function enter to intercept re-enter into function
after suspension.
#KT-18453 In Progress
2017-06-15 13:29:27 +03:00
Nikolay Krasko
6d7ce6cec1
Prevent debugger to stop twice on breakpoints after suspension point
...
#KT-18453 In Progress
2017-06-15 13:29:26 +03:00
Nikolay Krasko
49baba017a
Allow to stop in suspend funciton on enter and before suspended return
...
This commit is needed to implement "step over" action over suspended
call. Debugger have to understand when function is going to be
suspended and be able to set a breakpoint on function re-enter.
#KT-18453 In Progress
2017-06-15 13:29:25 +03:00
Dmitry Jemerov
a2427c64a1
Reset library caches on file types change and dumb mode enter/exit
...
Ref: https://github.com/JetBrains/intellij-community/commit/50df476199043bde25b8220c8a8ff2f3545bd325
2017-06-14 18:08:52 +02:00
Mikhail Glukhikh
94dcadbec7
filterNotInSource: retains only files in contentScope
...
So #KT-18221 Fixed
2017-06-14 18:22:52 +03:00
Mikhail Glukhikh
81a1f26b1d
Rename: findSyntheticFiles -> filterNotInSource
2017-06-14 18:22:46 +03:00
Mikhail Glukhikh
7734ec3bd5
Do not highlight semantics in files not under module content
...
Related to KT-18221
2017-06-14 18:22:40 +03:00
Mikhail Glukhikh
2a1c101350
Use NotUnderContentRootModuleInfo only from PsiElement.getModuleInfo()
...
This makes getModuleInfoByVirtualFile nullable
Fixes a variant of EA-75803 (from moveConflictUtils)
2017-06-14 18:22:24 +03:00
Dmitry Jemerov
0e2bdb8e66
Support CONFIGURE_LIBRARY directive in intention tests
...
Also restore tests for ConvertCamelCaseTestFunctionToSpaced
and apply fix for KT-18375
2017-06-14 16:17:01 +02:00
Dmitry Jemerov
4fa75256b7
Options for wrapping parentheseses in calls (KT-18113)
2017-06-14 14:37:30 +02:00
Dmitry Jemerov
72e8cd7e78
Consistent names for spacing options
2017-06-14 14:37:30 +02:00
Dmitry Jemerov
2e9a3e6d12
Option to use continuation indent in expression bodies (KT-9818)
2017-06-14 14:37:22 +02:00
Dmitry Jemerov
f4c75e61ad
Option to use continuation indent in parameter lists
2017-06-14 14:33:52 +02:00
Dmitry Jemerov
a4916a3c00
NodeIndentStrategy: J2K and cleanup
2017-06-14 14:33:51 +02:00