Dmitry Jemerov
09cf7ac2aa
find usages and rename work for Kotlin classes called from Java code (KT-1641)
...
#KT-1641 fixed
2012-05-22 19:09:38 +02:00
Svetlana Isakova
b63d3905f9
KT-1256 Error highlighting in IDE should be less annoying
...
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Nikolay Krasko
8208489759
KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
...
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko
a7b11d2b4e
KT-1673 Respect formatter settings in the completion list - apply standard renderer
...
#KT-1673 fixed
2012-05-22 01:45:36 +04:00
Alexander.Podkhalyuzin
8db0546052
Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes).
2012-05-21 18:29:01 +04:00
Stepan Koltsov
8c8ed3a1ee
KT-1388 Parse static final fields from java binary classes as non-null
...
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Evgeny Gerashchenko
78914d0157
Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin
2012-05-12 21:58:41 +04:00
Evgeny Gerashchenko
6f3f1a11f4
Added test cases for StandardLibraryReferenceResolverTest.
2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko
cfb0844706
Added test microframework and simple test for checking resolving of references to standard library.
2012-05-12 21:56:45 +04:00
Nikolay Krasko
9bbdb4cf56
KT-1950 Don't complete if after val
...
KT-1894 Do not suggest "trait" after fun
#KT-1950 fixed
#KT-1894 fixed
2012-05-12 17:10:06 +04:00
Evgeny Gerashchenko
124266ea68
Fixed highlighter tests.
2012-05-11 20:37:11 +04:00
Nikolay Krasko
5ac866ba3c
KT-1912 Formatter: smart indent doesn't work in a function literal
...
#KT-1099 fixed
#KT-1912 fixed
2012-05-11 18:36:33 +04:00
Evgeny Gerashchenko
646cdefc51
Updated test.
...
#KT-1896 fixed
2012-05-04 15:46:40 +04:00
Nikolay Krasko
652b9e78c3
Tests for KT-1888
...
#KT-1888 fixed
2012-05-04 14:24:34 +04:00
Evgeny Gerashchenko
5846123de1
Made "Remove Explicitly Specified Type" available on property type.
2012-05-03 21:15:55 +04:00
Evgeny Gerashchenko
d9fc85f6f5
Added test for "Specify type explicitly" for loop parameters.
...
#KT-1890 fixed
2012-05-03 21:04:43 +04:00
Evgeny Gerashchenko
d228dc5f02
Specify type explicitly quick fix now has lower case of letters (due to naming convention of quick fixes)
2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko
22010a5ae0
Changed RemovePartsFromPropertyFix so it uses SpecifyTypeExplicitlyAction.addTypeAnnotation() instead of AddReturnTypeFix.addPropertyType().
2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko
78ab4b6ae7
Added functions logic in SpecifyTypesExplicitlyAction.
2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko
322578b773
Replaced AddReturnTypeFix with SpecifyTypeExplicitlyAction for properties.
2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko
c0b78cd635
Added tests for SpecifyTypeExplicitlyAction.
2012-05-03 20:51:42 +04:00
Svetlana Isakova
d4b816ef56
KT-1743 Analyze immutable local variables and parameters which are captured in closure
...
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Evgeny Gerashchenko
33f9a391a5
Added test for case when type from overridden method has same short name as something already present.
...
#KT-1602 fixed
2012-05-02 19:54:31 +04:00
pTalanov
3e8624b440
Add test which checks whether compiler messages are understood correctly by the plugin.
2012-04-28 23:03:55 +04:00
Andrey Breslav
3ee8c5e469
A warning added: parameter names disagree upon override
...
This should be an error, but there is an issue with Java interop: Java parameters may change names or not have them.
2012-04-27 21:33:48 +04:00
Evgeny Gerashchenko
366079a96c
Improved word selection for parameters and arguments.
...
#KT-1657 fixed
2012-04-23 18:00:09 +04:00
Evgeny Gerashchenko
cde38382c0
Fixed processing function type parameters in override/implement members.
...
#KT-1603 fixed
2012-04-23 16:48:12 +04:00
Evgeny Gerashchenko
9bec7b5e9d
Merge branch 'diagnostics'
...
Conflicts:
compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
compiler/frontend/src/org/jetbrains/jet/lang/diagnostics/Errors.java
2012-04-20 21:58:05 +04:00
Evgeny Gerashchenko
1f7c435a24
Removed val/var soft keywords in renderer for functions
2012-04-20 20:44:08 +04:00
Nikolay Krasko
aa4e4623d4
KT-1630 Do not select automatically completion proposal in definition of lambda parameters
...
#KT-1630 fixed
2012-04-19 16:06:15 +04:00
Evgeny Gerashchenko
1123a4f438
Clarified error message for TYPE_MISMATCH_IN_BINDING_PATTERN.
2012-04-19 15:21:59 +04:00
Svetlana Isakova
d08bb4e6ec
test for KT-1805 Better diagnostic for access to private field of parent class
...
#KT-1805 Fixed
2012-04-18 19:02:24 +04:00
Svetlana Isakova
1ed79d534f
KT-151 Inherit visibility when overriding
...
#KT-151 Fixed
Visibilities.INHERITED constant added (occurs only during resolve), changed after overridden descriptors resolve
Fake descriptors are created for invisible properties as well (is necessary for better error reporting)
2012-04-18 19:02:24 +04:00
Nikolay Krasko
e4026c6465
- KT-1756 Filter invisible members from the first completion list
...
- Analyze is reference variant is suitable for completion before creating LookupElement
- Show visibility icon in completion list for kotlin declarations
#KT-1756 fixed
2012-04-17 19:32:50 +04:00
Nikolay Krasko
3b29b32903
Remove analyzeProjectWithCache with caching on project. It's used nowhere, gives cycles in resolve and produce second copy of binding context.
...
KT-1792 UI freeze and AssertionError in log
#KT-1792 fixed
2012-04-17 15:03:07 +04:00
Nikolay Krasko
f8d50fd9bb
Fix project completion in the beginning
2012-04-16 20:50:01 +04:00
Evgeny Gerashchenko
6a13510741
Replaced Diagnostic.getMessage() with DiagnosticRenderer.render() calls.
...
Made Diagnostic.getMessage() deprecated, introduced DiagnosticRender interface and default implementation for it.
2012-04-13 19:31:45 +04:00
Nikolay Krasko
531ffaaffa
KT-1645 Propose members according to smart casts
...
#KT-1645 fixed
2012-04-13 15:35:55 +04:00
Nikolay Krasko
26b47c0180
KT-1755 Duplicates in completion
...
#KT-1755 fixed
2012-04-11 17:54:45 +04:00
Evgeny Gerashchenko
8bece9fb81
Changed highlighting for extension properties and functions, so extension members will be highlighted differently depending on their container (instance or namespace).
2012-04-11 15:53:57 +04:00
Evgeny Gerashchenko
6b2e90126d
Fixed highlighting for safe access dot.
2012-04-11 15:53:57 +04:00
Nikolay Krasko
7de5f68629
KT-1238 Completion of 'break' keyword: why does it add space char at the end?
...
KT-1237 Auto-completion of "return" keyword should not insert space after it when in a method returning Unit
#KT-1237 fixed
#KT-1238 fixed
2012-04-09 11:43:46 +04:00
Evgeny Gerashchenko
ee24554e28
Fixed highlighting of builtin annotations (they were highlighted like keywords).
2012-04-08 22:58:50 +04:00
Evgeny Gerashchenko
05fd46009d
Replaced diagnostic factories so they show type FQ names instead of short names.
...
#KT-1137 fixed
2012-04-08 22:45:07 +04:00
Evgeny Gerashchenko
aec021e668
Implemented better rendering for parameters with default values in decompiler and descriptor renderer.
...
#KT-1582 fixed
2012-04-08 19:59:53 +04:00
Svetlana Isakova
cd1221b1b2
fix in 'protected' visibility check
2012-04-06 20:42:51 +04:00
Evgeny Gerashchenko
da9973a822
Added rendering visibility in DescriptorRenderer.
2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko
2da41a9e35
Added test for navigating to library sources when same function FQ name is defined in separate source files.
...
#KT-1681 in progress
2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko
793fdd4f55
Added file to test library used in LibrariesWith[out]SourcesTests.
2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko
9918e4a723
Made LibrariesWithSourcesTest possible to be executed with multi-file test library.
2012-04-05 19:24:55 +04:00