Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import com.intellij.psi.PsiWhiteSpace;
import com.intellij.util.ThreeState;
import com.jetbrains.php.lang.documentation.phpdoc.lexer.PhpDocTokenTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.BasicPhpDocStubElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocStubElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocComment;
import com.jetbrains.php.lang.patterns.PhpPatterns;
import com.jetbrains.php.lang.psi.PhpFile;
Expand Down Expand Up @@ -53,7 +53,7 @@ public ThreeState shouldSkipAutopopup(@NotNull PsiElement contextElement, @NotNu
}

// @<|>
if(PhpPatterns.psiElement(BasicPhpDocStubElementTypes.phpDocTag).accepts(context)) {
if(PhpPatterns.psiElement(PhpDocStubElementTypes.phpDocTag).accepts(context)) {
return ThreeState.NO;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.intellij.util.ProcessingContext;
import com.jetbrains.php.lang.PhpLanguage;
import com.jetbrains.php.lang.documentation.phpdoc.lexer.PhpDocTokenTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.BasicPhpDocStubElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocStubElementTypes;
import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocComment;
import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocPsiElement;
import com.jetbrains.php.lang.lexer.PhpTokenTypes;
Expand Down Expand Up @@ -76,7 +76,7 @@ public boolean accepts(@NotNull PsiElement psiElement, ProcessingContext process

)
.inside(PlatformPatterns
.psiElement(BasicPhpDocStubElementTypes.phpDocTag)
.psiElement(PhpDocStubElementTypes.phpDocTag)
)
.withLanguage(PhpLanguage.INSTANCE);
}
Expand Down Expand Up @@ -104,7 +104,7 @@ public static ElementPattern<PsiElement> getTextIdentifier() {
.withParent(PlatformPatterns
.psiElement(PhpDocElementTypes.phpDocAttributeList)
.withParent(PlatformPatterns
.psiElement(BasicPhpDocStubElementTypes.phpDocTag)
.psiElement(PhpDocStubElementTypes.phpDocTag)
)
)
);
Expand Down Expand Up @@ -146,7 +146,7 @@ public static PsiElementPattern.Capture<PsiElement> getDefaultPropertyValue() {
.withParent(PlatformPatterns.psiElement(StringLiteralExpression.class).withParent(PlatformPatterns
.psiElement(PhpDocElementTypes.phpDocAttributeList)
.withParent(PlatformPatterns
.psiElement(BasicPhpDocStubElementTypes.phpDocTag)
.psiElement(PhpDocStubElementTypes.phpDocTag)
)
))
.withLanguage(PhpLanguage.INSTANCE);
Expand All @@ -164,7 +164,7 @@ public static ElementPattern<StringLiteralExpression> getDefaultPropertyValueStr
.withParent(PlatformPatterns
.psiElement(PhpDocElementTypes.phpDocAttributeList)
.withParent(PlatformPatterns
.psiElement(BasicPhpDocStubElementTypes.phpDocTag)
.psiElement(PhpDocStubElementTypes.phpDocTag)
)
)
.withLanguage(PhpLanguage.INSTANCE);
Expand All @@ -182,7 +182,7 @@ public static ElementPattern<StringLiteralExpression> getPropertyValueString() {
.withParent(PlatformPatterns
.psiElement(PhpDocElementTypes.phpDocAttributeList)
.withParent(PlatformPatterns
.psiElement(BasicPhpDocStubElementTypes.phpDocTag)
.psiElement(PhpDocStubElementTypes.phpDocTag)
)
)
.withLanguage(PhpLanguage.INSTANCE);
Expand Down
Loading