mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-245459 [java]: improve intention description and add <spot> to before template
GitOrigin-RevId: 37580b99e518d31b6038e2971a85403dbb729fed
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1aa2b351b1
commit
1b54162084
+1
-1
@@ -1,5 +1,5 @@
|
||||
class A {
|
||||
Object getObject() {
|
||||
Object <spot>getObject</spot>() {
|
||||
//do smth
|
||||
return null;
|
||||
}
|
||||
|
||||
+6
-2
@@ -1,4 +1,8 @@
|
||||
<html><body>
|
||||
Adds an annotation, for example @Nullable/@NotNull, to the selected element. If the code belongs to a library,
|
||||
the annotation will be stored in a separate file.
|
||||
Adds an annotation, for example <code>@Nullable</code> or <code>@NotNull</code>, to the selected element.
|
||||
The annotation will be stored in a separate <code>annotations.xml</code> file.
|
||||
<p>
|
||||
This intention is available in the editor when the <em>Use external annotations</em> option is enabled under
|
||||
<a href="settings://preferences.sourceCode.JAVA?Use%20external%20annotations">Settings | Editor | Code Style | Java | Code Generation</a>.
|
||||
</p>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user