mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
related to WI-4935 hold Shift to open URL of local file. I have added note about it to action description.
This commit is contained in:
@@ -594,8 +594,8 @@ public class HtmlUtil {
|
||||
return isHtmlFile(file) || file.getViewProvider() instanceof TemplateLanguageFileViewProvider;
|
||||
}
|
||||
|
||||
public static boolean isHtmlFile(final PsiFile file) {
|
||||
final Language language = file.getLanguage();
|
||||
public static boolean isHtmlFile(PsiElement element) {
|
||||
Language language = element.getLanguage();
|
||||
return language == HTMLLanguage.INSTANCE || language == XHTMLLanguage.INSTANCE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user