mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[javadoc] IDEA-285556 Support language injection into snippet
Fix injection for empty snippets. The range to inject is now starts after the colon and ends when the body ends. If no colon exist, then use the whole body as an injection point. GitOrigin-RevId: c7961f13c30212f52aad45a121bcf11b70ce8f2b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
06c3a7e94f
commit
715e914e30
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* A simple program.
|
||||
* {<warning descr="'@snippet' tag is not available at this language level">@snippet</warning> :}
|
||||
*/
|
||||
class A {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* A simple program.
|
||||
* {<warning descr="'@snippet' tag is not available at this language level">@snippet</warning> :
|
||||
*
|
||||
* }
|
||||
*/
|
||||
class A {
|
||||
}
|
||||
Reference in New Issue
Block a user