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 |
|
Evgeny Gerashchenko
|
ba9db41273
|
Added Delete button to EditSignatureBalloon
|
2012-09-13 19:41:42 +04:00 |
|
Evgeny Gerashchenko
|
7876b569fd
|
Minor. Reformatted SpecifyTypeExplicitlyAction.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
02bf7c2b9c
|
Added action which disables Kotlin signatures icons.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
a3eccfedfa
|
Blocking clicks through balloon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
e38a5478fb
|
Removed different color for caret row in balloon to avoid confusing.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
784ac19ef9
|
Added extra space in editor, since we cannot resize already created balloon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
44a6fb1f6f
|
Added handling for Ctrl+Enter and Esc in EditSignatureBalloon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
c0d156b767
|
Putting balloon strictly over icon gutter icon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
c01c352d88
|
Extracted methods from EditSignatureBalloon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
4ffa757376
|
Moved EditSignatureBalloon class to top level.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
6318ffc0f7
|
Replaced dialog for editing Kotlin signature with balloon.
|
2012-09-13 19:41:41 +04:00 |
|
Evgeny Gerashchenko
|
eafdfa5e6a
|
Justified editor settings.
|
2012-09-13 19:41:40 +04:00 |
|
Evgeny Gerashchenko
|
927e2839b0
|
Added editor for external annotations.
|
2012-09-13 19:41:40 +04:00 |
|
Evgeny Gerashchenko
|
903c87d832
|
Added navigation to Kotlin alternative signature if it is not external.
|
2012-09-13 19:41:40 +04:00 |
|
Evgeny Gerashchenko
|
3b865f0121
|
Added line marker for Java methods which have alternative Kotlin signature.
|
2012-09-13 19:41:40 +04:00 |
|