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
Evgeny Gerashchenko
33320075d6
Added test checking names highlighting.
2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko
b4cf0bff96
Split on big fat test case in LibrariesWithSourcesTest into several smaller ones.
2012-04-04 20:25:22 +04:00
Nikolay Krasko
68312a71e3
fix tests
2012-04-04 20:18:45 +04:00
Nikolay Krasko
5312ecd8d4
Merge pull request #37 from Frostman/override-inherit-visibility
...
Override/Implement actions are now inherits visibility.
#KT-1724 fixed
2012-04-04 08:42:56 -07:00
Svetlana Isakova
16c6935d91
added 'public' annotation to library functions
2012-04-04 19:19:02 +04:00
Sergey Lukjanov
d4cce32008
Override/Implement actions are now inherits visibility.
2012-04-04 19:15:25 +04:00
Svetlana Isakova
c321ffe39b
fix for tests to work (all library functions should be done 'public' later)
2012-04-04 19:02:26 +04:00
Svetlana Isakova
5520e1a2b0
'AbstractStringBuilder' has package private, so cannot be used in tests
2012-04-04 19:02:26 +04:00
Evgeny Gerashchenko
9b04e85282
Added test for "Can't navigate to sources of the filter() extension function"
...
#KT-1681can't reproduce
2012-04-04 18:54:21 +04:00
Nikolay Krasko
53b6218878
Merge pull request #35 from Frostman/override-delegation
...
Delegation added to overide action (when it is possible)
#KT-1107 fixed
2012-04-04 07:48:11 -07:00
Nikolay Krasko
a0d8ab6db5
KT-1712 Formatting for getters and setters
...
#KT-1712 fixed
2012-04-04 17:36:55 +04:00
Evgeny Gerashchenko
666c48c8c1
Merge branch 'highlighter'
...
Conflicts:
idea/src/org/jetbrains/jet/plugin/JetBundle.properties
idea/src/org/jetbrains/jet/plugin/annotations/JetLineMarkerProvider.java
idea/src/org/jetbrains/jet/plugin/highlighter/DebugInfoAnnotator.java
idea/src/org/jetbrains/jet/plugin/highlighter/JetPsiChecker.java
2012-04-04 16:46:11 +04:00
Evgeny Gerashchenko
c989b2e5ba
Updated "Autocasts" test data in JetPsiCheckerTest. Replaced types with their FQ names.
2012-04-04 16:14:00 +04:00
Svetlana Isakova
0f20d4a6e2
Added 'change visibility modifier' quick fix
2012-04-04 14:36:56 +04:00
Alexander.Podkhalyuzin
b8e1e1dd75
Fixed name suggester for getter/setter names. Added names suggested by call before "sure" call. +Test
2012-04-04 14:34:30 +04:00
Nikolay Krasko
0d1767fbf1
KT-1161 Formatter: indent parameters after function call on new line (not very beautiful but it will be refactored in future)
...
#KT-1161 fixed
2012-04-04 14:05:51 +04:00
Sergey Lukjanov
23e368cba4
Some tests for override action has been added.
2012-04-04 11:53:48 +04:00
Nikolay Krasko
26f35689b8
Merge pull request #34 from Frostman/import-quickfix-smallfix
...
Small fixes of import quickfix: #KT-1614 fixed
2012-04-03 03:52:31 -07:00
Nikolay Krasko
cc449bcdd8
- Formatter parameter alignment
...
- Change formatter testing framework
- Activate "Wrapping and Braces" tab
2012-03-30 19:23:16 +04:00
Sergey Lukjanov
99c7b9ef3e
Autoimports tests has been updated.
2012-03-30 18:34:04 +04:00
Nikolay Krasko
77652a9df8
KT-1254 "Implement members" gives strange result when implementing a method returning function type
...
#KT-1254 fixed
2012-03-28 21:34:22 +04:00
Evgeny Gerashchenko
eacb89171e
Added navigation to class object members.
2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko
d0751b5c11
Added LibrariesWithSourcesTest.
2012-03-28 15:02:25 +04:00