From f1f1141fd10f8d01cb17fb522195304b47bf8710 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 5 Mar 2014 16:22:35 +0400 Subject: [PATCH] IDEA-121675 Nashorn: Debug: RunToCursor is always disabled when js file is active use JVMDebugProvider and depecate isJVMDebuggingSupported --- .../src/com/intellij/openapi/fileTypes/LanguageFileType.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java b/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java index fa04c3c97062..6385e73f209e 100644 --- a/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java +++ b/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java @@ -62,6 +62,10 @@ public abstract class LanguageFileType implements FileType{ return null; } + /** + * @deprecated implement own {@link com.intellij.debugger.engine.JVMDebugProvider} instead + */ + @Deprecated public boolean isJVMDebuggingSupported() { return false; }