Evgeny Gerashchenko
eddc550139
Implemented highlighting arguments which don't fit in tooltip.
2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko
60622337c3
Implemented stub of highlighting parameters in error tooltip for NONE_APPLICABLE.
2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko
1f7c435a24
Removed val/var soft keywords in renderer for functions
2012-04-20 20:44:08 +04:00
Evgeny Gerashchenko
7e1059d3bd
Added IDE error messages for OVERLOAD_RESOLUTION_AMBIGUITY and NONE_APPLICABLE.
2012-04-19 15:22:00 +04:00
Evgeny Gerashchenko
625101b68d
Added IDE error message for ITERATOR_AMBIGUITY.
2012-04-19 15:22:00 +04:00
Evgeny Gerashchenko
7a605ccee2
Added IDE error message for ASSIGN_OPERATOR_AMBIGUITY.
2012-04-19 15:22:00 +04:00
Evgeny Gerashchenko
5692032530
Added javadoc link to DefaultErrorMessages
2012-04-19 15:22:00 +04:00
Evgeny Gerashchenko
a723d6b073
Added IDE error messages for RESULT_TYPE_MISMATCH.
2012-04-19 15:22:00 +04:00
Evgeny Gerashchenko
a2a9d6847b
Added IDE error messages for CONFLICTING_OVERLOADS.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
3cc1a69905
Added IDE error messages for ABSTRACT_MEMBER_NOT_IMPLEMENTED and MANY_IMPL_MEMBER_NOT_IMPLEMENTED.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
529c416f35
Added IDE error message for VAR_OVERRIDDEN_BY_VAL.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
b0843ce656
Added IDE error message for RETURN_TYPE_MISMATCH_ON_OVERRIDE.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
1123a4f438
Clarified error message for TYPE_MISMATCH_IN_BINDING_PATTERN.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
5a69231b92
Added IDE error message for TYPE_MISMATCH_IN_FOR_LOOP.
2012-04-19 15:21:58 +04:00
Evgeny Gerashchenko
d7e9a77fdb
Added IDE error message for UPPER_BOUND_VIOLATED.
2012-04-19 15:21:58 +04:00
Evgeny Gerashchenko
17d290a5da
Added HTML error message for WRONG_SETTER_PARAMETER_TYPE and WRONG_GETTER_RETURN_TYPE diagnostics.
2012-04-19 15:21:58 +04:00
Evgeny Gerashchenko
61a26ef5d9
Added first HTML error message, for TYPE_MISMATCH diagnostic.
2012-04-19 15:21:58 +04:00
Evgeny Gerashchenko
8d1860a5f3
Added immutability flag in DiagnosticFactoryToRendererMap.
2012-04-19 15:21:57 +04:00
Evgeny Gerashchenko
6fb0f79de9
Made JetPsiChecker aware of HTML diagnostics.
2012-04-19 15:21:57 +04:00
Evgeny Gerashchenko
abb53d4a18
Introduced IdeErrorMessages, which is now used along with DefaultErrorMessages in IDEA plugin.
2012-04-13 19:31:47 +04:00
Evgeny Gerashchenko
370af95c87
Introduced DispatchingDiagnosticRenderer, which replaced DefaultDiagnosticRenderer.
2012-04-13 19:31:47 +04:00
Evgeny Gerashchenko
dd3c9146cd
Removed UnresolvedReferenceDiagnostic class, since it's not very useful.
2012-04-13 19:31:47 +04:00
Evgeny Gerashchenko
1501883ded
Removed RedeclarationDiagnostic class, since it's not very useful.
2012-04-13 19:31:47 +04:00
Evgeny Gerashchenko
b0e09319a9
Moved DefaultDiagnosticRenderer from cli back to frontend to avoid run-time dependencies on cli where rendering diagnostics is needed.
2012-04-13 19:31:46 +04:00
Evgeny Gerashchenko
7be6fe84be
Made single parameter of Renderer.render() @NotNull, because argument was almost never @Nullable on call-sites.
2012-04-13 19:31:45 +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
Sergey Lukjanov
ff85340174
Fix test's name
2012-04-12 13:02:49 +04:00
Andrey Breslav
4c2b7d4a6d
Fixed a typo in the url + idea-version must be written by the build
2012-04-12 12:41:40 +04:00
Stepan Koltsov
71f89ef130
more descriptorToDeclaration utils
...
* custom versions
* normalization code moved out of norializer
* hide DESCRIPTOR_TO_DECLARATION (make package local)
2012-04-12 00:24:12 +04:00
Stepan Koltsov
e37f24ce4f
do not use BindingContext.DESCRIPTOR_TO_DECLARATION explictly
2012-04-12 00:24:12 +04:00
Andrey Breslav
45e86cb423
Urls in the plugin.xml
2012-04-11 20:20:13 +04:00
Evgeny Gerashchenko
2f7e8a3800
Fixed red code when navigating to the source of println()
...
#KT-1757 in progress
2012-04-11 18:27:10 +04:00
Nikolay Krasko
26b47c0180
KT-1755 Duplicates in completion
...
#KT-1755 fixed
2012-04-11 17:54:45 +04:00
Andrey Breslav
c2dcdbe29f
Don't automatically add stdlib when compiling from the IDE
2012-04-11 16:13:11 +04:00
Evgeny Gerashchenko
afd1c79dfd
Changed "Valid string template" highlighting to simply "String highlighting".
2012-04-11 15:53:57 +04:00
Evgeny Gerashchenko
664acdec4f
Changed description from "Valid escape in string" to "Valid escape in string and template braces". Added string escape to sample.
2012-04-11 15:53:57 +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
a59978da63
Updated sample in color settings page a little bit.
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
Evgeny Gerashchenko
217483d9d2
Changed some property names in color settings page.
2012-04-11 15:53:57 +04:00
Evgeny Gerashchenko
33a242584f
Fixed highlighting of closure arrow in color settings, renamed corresponding property and expanded sample.
2012-04-11 15:53:57 +04:00
Stepan Koltsov
a889e29147
else on the next line
...
as requested by http://confluence.jetbrains.net/display/JET/Code+Conventions+for+Java
(sed is your friend)
2012-04-10 00:03:13 +04:00
Pavel V. Talanov
7dd0e50bcd
Merge with branch "AnalyzerJS"
2012-04-09 17:08:57 +04:00
Pavel V. Talanov
a030576052
Merge from brahch analyzeJS.
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/GenerationState.java
compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/AnalyzerFacadeForJVM.java
compiler/tests/org/jetbrains/jet/codegen/GenerationUtils.java
compiler/tests/org/jetbrains/jet/resolve/ExpectedResolveData.java
compiler/tests/org/jetbrains/jet/types/JetDefaultModalityModifiersTest.java
idea/src/org/jetbrains/jet/plugin/libraries/JetSourceNavigationHelper.java
idea/src/org/jetbrains/jet/plugin/parameterInfo/JetFunctionParameterInfoHandler.java
idea/src/org/jetbrains/jet/plugin/project/WholeProjectAnalyzerFacade.java
idea/src/org/jetbrains/jet/plugin/quickfix/ChangeVariableMutabilityFix.java
idea/src/org/jetbrains/jet/plugin/quickfix/ImportInsertHelper.java
idea/src/org/jetbrains/jet/plugin/quickfix/QuickFixUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetNameSuggester.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetRefactoringUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/introduceVariable/JetIntroduceVariableHandler.java
2012-04-09 17:06:56 +04:00
Pavel V. Talanov
652be4ed95
Revert misleading whitespace changes.
2012-04-09 15:04:27 +04:00
Pavel V. Talanov
62efa95211
Change indication filename to ".kotlin-js"
2012-04-09 14:20:08 +04:00
Pavel V. Talanov
0f44771447
Resolve circular dependency. Introduce JsAnalyzerFacadeForIDEA.
2012-04-09 13:50:48 +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
Stepan Koltsov
10dd366216
CompilerDependencies
...
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.
Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)
Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00