mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JSPX supports jvm debugging, but not in XHTML files
This commit is contained in:
+2
-1
@@ -57,7 +57,8 @@ public class JavaBreakpointType extends XLineBreakpointTypeBase {
|
||||
|
||||
@Contract("null -> false")
|
||||
public static boolean doCanPutAt(@Nullable PsiFile psiFile) {
|
||||
if (psiFile == null) {
|
||||
// JSPX supports jvm debugging, but not in XHTML files
|
||||
if (psiFile == null || psiFile.getVirtualFile().getFileType() == StdFileTypes.XHTML) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user