mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
//lang comment for local variables fix
This commit is contained in:
+1
@@ -276,6 +276,7 @@ public class ConcatenationInjector implements ConcatenationAwareInjector {
|
||||
|
||||
private boolean processCommentInjections(PsiVariable owner) {
|
||||
PsiElement prev = owner.getFirstChild();
|
||||
prev = prev instanceof PsiComment? prev : PsiTreeUtil.skipSiblingsBackward(owner.getParent(), PsiWhiteSpace.class);
|
||||
if (prev instanceof PsiComment) {
|
||||
String text = ElementManipulators.getValueText(prev).trim();
|
||||
Language language = null;
|
||||
|
||||
Reference in New Issue
Block a user