Evgeny Gerashchenko
|
144dddf8b0
|
Added force getting document to reload its content if it is compiled Kotlin class.
|
2012-09-14 16:12:16 +04:00 |
|
James Strachan
|
9c3d1071cd
|
added more DRY compareBy function and helper class
|
2012-09-14 12:44:09 +01:00 |
|
James Strachan
|
51122a288d
|
tried more concise comparison code
|
2012-09-14 12:05:06 +01:00 |
|
James Strachan
|
1e9b1bdea6
|
Merge branch 'master' of github.com:JetBrains/kotlin
|
2012-09-14 11:27:52 +01:00 |
|
James Strachan
|
5647701c24
|
added a little sample test case of data classes
|
2012-09-14 11:19:13 +01:00 |
|
James Strachan
|
81d83cd4f0
|
added component1() / component2() methods to Map.Entry along with a test case so that maps can be iterated over via: for ((k, v) in map)
|
2012-09-14 11:18:35 +01:00 |
|
Natalia.Ukhorskaya
|
645b784b40
|
EA-38625 Fixed - Part 2 - UOE: NamespaceType.throwException
|
2012-09-14 14:11:45 +04:00 |
|
Nikolay Krasko
|
7ad0fd56f3
|
EA-39175 Completion fails if MultiDeclaration is present on top level in file
|
2012-09-13 21:06:18 +04:00 |
|
Nikolay Krasko
|
a95ba27b7d
|
KT-2758 Errors in lazy resolve: Unknown TYPEDEF
Unknown declaration: TYPEDEF: Unknown declaration: TYPEDEF
#KT-2758 Fixed
EA-38287 Fixed
|
2012-09-13 21:06:18 +04:00 |
|
Nikolay Krasko
|
40f559bcdc
|
Additional test for wrapping functions
|
2012-09-13 21:06:17 +04:00 |
|
Natalia.Ukhorskaya
|
6516786979
|
EA-38625 Fixed - UOE: NamespaceType.throwException
|
2012-09-13 20:04:10 +04:00 |
|
Evgeny Gerashchenko
|
6b81ba1aef
|
Using real annotation owner when creating popup menu action group to make it work for library without sources.
|
2012-09-13 19:41:46 +04:00 |
|
Evgeny Gerashchenko
|
9e4ebe6982
|
Replaced assert to if-check to avoid when dramatically changing root.
|
2012-09-13 19:41:46 +04:00 |
|
Evgeny Gerashchenko
|
ea208965d5
|
Fixed focus requesting in signature balloon
|
2012-09-13 19:41:46 +04:00 |
|
Evgeny Gerashchenko
|
502aa1141f
|
Moved invokeEditSignature from EditSignatureBalloon to EditSignatureAction, since it's more natural now.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
331456bab4
|
Removed "Delete" button from edit signature balloon.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
2a8687b4a5
|
Added "Delete" context menu action.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
11bba8dd77
|
Fixed line y-coordinate calculation for popup menu action. Popup menu invocation doesn't move caret, so we can't rely on caret position.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
fe126b2d99
|
Added context menu to Kotlin signature icon with "Edit" action.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
091e1f9601
|
Using UIUtil instead of manual checking for action click.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
c368cbe53e
|
Subclassed EditSignatureBalloon from Disposable to pass it to addDocumentListener().
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
c6b723f0ca
|
Set save button enabled iff alt-signature doesn't have syntax errors.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
528fb0ce4f
|
Got rid of getPreferredSize() hack in EdiSignatureBalloon.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
df2a6f0c88
|
Extracted inner class from createPanel() method.
|
2012-09-13 19:41:45 +04:00 |
|
Evgeny Gerashchenko
|
ecf68127df
|
Minor refactoring. Replaced some ifs with asserts, added @NotNull/@Nullable annotations.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
089881e63b
|
Creating LightVirtualFile for editor to enable syntax errors highlighting.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
6e3ce8ac89
|
Minor. Added comment and simplified code in KotlinSignatureUtil.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
75571092e1
|
Escaping HTML in Kotlin signature tooltips.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
43017f2035
|
Enabled Esc for read-only version of edit signature balloon.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
c0f633d280
|
Ctrl+Enter instead of Cmd+Enter on Mac for save and hide.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
ea9dfeba66
|
Disabled "Add Kotlin Signature" intention for constructors.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
7b1979ddca
|
KT-2609 Copy @NotNull data from IDEA's JDK annotations
#KT-2609 fixed
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
743e8af7c2
|
Annotating static methods.
|
2012-09-13 19:41:44 +04:00 |
|
Evgeny Gerashchenko
|
91b15fe85e
|
Refreshing icons on receiving externalAnnotationsChangedExternally event.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
19e4803b79
|
Moved various util methods related for reading and editing Kotlin signature annotation utils to util class. Moved invokeEditSignature() to EditSignatureBalloon. Added static imports. Reformatted code a little bit.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
bdccb28ebe
|
Moved all Kotlin signatures UI into separate package.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
5768e16afd
|
Added custom icon for AddKotlinSignatureAnnotation intention.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
ea434065cb
|
Listening to external annotations manager's events.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
7dd98479cc
|
Made lineY calculation in EditSignatureBalloon simpler and more reliable.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
7d12a27cc4
|
Made signature balloon read-only if owning annotations XML file is read-only.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
96c01b725f
|
Enabled AddKotlinSignatureAnnotation action available for methods without body.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
bb0f0b19b2
|
Modifying external annotation within same XML.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
4f3fced932
|
Passing real original element to EditSignatureBalloon to make external annotations work for compiled class files.
|
2012-09-13 19:41:43 +04:00 |
|
Evgeny Gerashchenko
|
65df11e75b
|
Finding Kotlin signature annotations for compiled class without sources.
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
707b9db2fc
|
Got rid of possible NPE
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
7efbd44d63
|
Added escaping/unescaping signatures when saving/loading from annotations.
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
04431b2fa4
|
Prohibit Kotlin signature for private methods.
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
2a37ba70ac
|
Invoking signature editor after creating.
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
bb02c6f8f7
|
Generified EditSignatureBalloon.show(), so it can work with Editor, but without Point.
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
80f46af6ad
|
Added "Specify Kotlin Signature" intention.
|
2012-09-13 19:41:42 +04:00 |
|