Natalia Ukhorskaya
1dbe560734
Run Code Clean up for org.jetbrains.kotlin.idea.debugger
2015-12-10 14:41:56 +03:00
Natalia Ukhorskaya
1ca6c695e6
Remove println() from debugger testData
2015-12-10 14:41:53 +03:00
Natalia Ukhorskaya
9b8e5c5684
Refactor KotlinDebuggerTestCase to avoid StubIndexReindex between test invocation
2015-12-10 14:41:51 +03:00
Natalia Ukhorskaya
42119b311d
Skip whitespaces as context elements of codeFragmnets
...
#KT-10171 Fixed
2015-12-10 14:41:49 +03:00
Natalia Ukhorskaya
49e484d796
Do not throw exception analyzing imports in KtCodeFragments
2015-12-10 14:41:47 +03:00
Natalia Ukhorskaya
08c29b7325
Fix step out from inline function literal placed at one line
...
#KT-10187 Fixed
2015-12-10 13:11:40 +03:00
Natalia Ukhorskaya
3b3dbbab04
Evaluate expression for variable of function type
...
#KT-10199 Fixed
2015-12-10 13:11:39 +03:00
Natalia Ukhorskaya
2bc2d81486
Debugger: correctly box parameter types in case of generics
...
#KT-10180 Fixed
2015-12-10 13:11:39 +03:00
Pavel V. Talanov
fb19552920
Mark enum entries that are deprecated in Kotlin as deprecated in bytecode
2015-12-10 11:12:22 +03:00
Zalim Bashorov
5bf8b4d946
Allow to use "static" part of class in own constructors by short name, including in primary constructor
2015-12-09 21:42:32 +03:00
Mikhail Glukhikh
f319b1b93a
Sealed classes are not taken into account in live templates
2015-12-09 19:27:50 +03:00
Mikhail Glukhikh
9a4eb2a368
Refactoring: ClassDescriptor.isFinal, no more Modality.isOverridable
2015-12-09 19:27:47 +03:00
Mikhail Glukhikh
fb406bfc24
Refactoring: CallableMemberDescriptor.isOverridable
2015-12-09 19:27:04 +03:00
Pavel V. Talanov
2e971b13aa
KotlinGoToTest: test go to for builtIn classes and functions
2015-12-09 18:51:32 +03:00
Pavel V. Talanov
7e6bed7ad8
Decompiled text: should always render all modifiers even if we don't feel like it
2015-12-09 18:51:31 +03:00
Pavel V. Talanov
fee19ad9de
CallableClsStubBuilder: correctly decide whether callable is extension
2015-12-09 18:51:30 +03:00
Pavel V. Talanov
deb6410a5c
Add test for builtIn stub builder and decompiler
...
These test are by no means exhaustive, the correctness of the subsystem relies on it sharing code with well-tested js-decompilation
2015-12-09 18:51:30 +03:00
Pavel V. Talanov
5cc04e41fe
Enable keyword highlighting in .kotlin_class, .kotlin_package files
2015-12-09 18:51:29 +03:00
Pavel V. Talanov
c40d6af1e5
Decompile builtins (kotlin_class and kotlin_package files)
...
The main purpose of this is to be able to index builtin declarations and enable go to symbol/class functionality in ide
Also it makes sense to show builtin classes (Any, Int ...) as classes when browsing kotlin-runtime.jar
Refactor decompiler code to eliminate existing and potential duplication
Share the code between js (kjsm) decompilation and builtin decompilation heavily
2015-12-09 18:51:28 +03:00
Pavel V. Talanov
6164566cad
Extract duplicate logic between javascript and builtins serialization/deserialization
2015-12-09 18:51:27 +03:00
Pavel V. Talanov
9a2442bba6
Decompiler, refactor: reduce the number of classes needed to define a decompiler
2015-12-09 18:51:23 +03:00
Pavel V. Talanov
dc34d4fc31
Decompiler, minor: fix some strange code
2015-12-09 18:51:22 +03:00
Pavel V. Talanov
136e8d9d02
Refactor: repackage decompiler code and explicitly extract class file and js metafile parts
2015-12-09 18:51:21 +03:00
Dmitry Petrov
70c200d265
Fix diagnostic messages for properties.
...
Fix IDE tests.
Update quick fixes in IDE
(TODO: review new inheritance-related diagnostics with regards to quick fixes)
2015-12-09 17:43:48 +03:00
Dmitry Petrov
135c30323b
KT-1934 Check inherited signatures for compatibility
...
Overridden signatures should have compatible return types
(equal types for 'var').
Only relevant overrides should be taken into account.
Refactor inherited signatures check,
introduce a strategy interface for problem reporting.
2015-12-09 17:43:47 +03:00
Dmitry Jemerov
863e32c5cd
Merge pull request #791 from mcgee/KT-9938
...
#KT-9938 Fixed
2015-12-09 15:17:31 +01:00
Andrey Breslav
421f84e05a
Error messages fixed for deprecations that have been made errors
2015-12-09 17:10:30 +03:00
Nikolay Krasko
8a95f23a23
Adjust formatting for FILE_ANNOTATION_LIST
2015-12-09 16:01:56 +03:00
Nikolay Krasko
a2d6bd09f3
Minor: allow to use ${file} directive in action text to reference file name
2015-12-09 16:01:53 +03:00
Nikolay Krasko
3c5b02e54a
Minor: better diagnostic message in tests
2015-12-09 16:01:50 +03:00
Dmitry Jemerov
e97e82d119
use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
2015-12-09 13:55:40 +01:00
mcgee
4a0e33003b
#KT-9938 Fixed
...
Top level test case is added
2015-12-09 07:32:41 +03:00
Dmitry Jemerov
57b5588498
rename "Jet" to "Kotlin" in CFG classes
2015-12-08 16:54:09 +01:00
Dmitry Jemerov
3275542426
one more missing invokeLater() for plugin update checks (EA-76738 - Throwable: DebugUtil.currentStackTrace)
2015-12-08 16:45:40 +01:00
Dmitry Jemerov
d65c8fb06c
double-check action parameters (EA-76026 - KNPE: ShowExpressionTypeAction.actionPerformed)
2015-12-08 16:45:39 +01:00
Dmitry Jemerov
0ec57e7fee
add missing scope checks for highlight usages (EA-75896)
...
#KT-10038 Fixed
2015-12-08 16:45:19 +01:00
Alexey Sedunov
e82e4bcfc8
Inline Variable: Show error message on attempt to inline unused declaration
2015-12-08 16:21:08 +03:00
Alexey Sedunov
5c88a1c63e
Inline Variable: Parenthesize arguments of the form "e1 < e2" if the next argument has the form "e1 > e2"
...
#KT-8261 Fixed
2015-12-08 16:21:07 +03:00
Alexey Sedunov
b2bdb8ed02
Inline Variable: Inline string template entries
...
#KT-7654 Fixed
2015-12-08 16:21:05 +03:00
Alexey Sedunov
0af2243245
J2K: KotlinInlineValHandler (conversion and refactoring)
2015-12-08 16:21:03 +03:00
Alexey Sedunov
2fef2763ab
J2K: KotlinInlineValHandler (rename to .kt)
2015-12-08 16:21:02 +03:00
Alexey Sedunov
f4135a0a9f
J2K: AbstractInlineTest
2015-12-08 16:21:00 +03:00
Alexey Sedunov
9df3ce018b
J2K: AbstractInlineTest (rename to .kt)
2015-12-08 16:20:58 +03:00
Alexey Sedunov
f6b374f829
Inline Variable: Fix dialog text for non-local variables
...
#KT-6365 Fixed
2015-12-08 16:20:57 +03:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Alexey Sedunov
d850d7bbad
Change Signature: Parenthesize functional type of receiver in the signature preview
...
#KT-8737 Fixed
2015-12-08 16:20:53 +03:00
Alexey Sedunov
8f8acf7a83
Pull Up: Drop default parameter values in function which becomes overriding. Disable function with default values if target class is the Java one
...
#KT-9833 Fixed
2015-12-08 16:20:52 +03:00
Alexey Sedunov
80051b8303
Create from Usage: Locate new declaration using RangeMarker
...
#KT-9197 Fixed
2015-12-08 16:20:50 +03:00
Alexey Sedunov
99c88cb0c5
Line Marking: Use new-style icons for Kotlin test classes/functions
...
#KT-10235 Fixed
2015-12-08 16:20:48 +03:00
Alexey Sedunov
8fcda32287
Unit Test Tooling: Support Go to Test/Create Test actions for top-level declarations
...
#KT-10133 Fixed
2015-12-08 16:20:47 +03:00