Class LivePreviewFileType

java.lang.Object
com.intellij.openapi.fileTypes.LanguageFileType
org.intellij.grammar.livePreview.LivePreviewFileType
All Implemented Interfaces:
com.intellij.openapi.fileTypes.FileType, com.intellij.openapi.options.Scheme

public class LivePreviewFileType extends com.intellij.openapi.fileTypes.LanguageFileType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.intellij.openapi.fileTypes.FileType
     

    Fields inherited from interface com.intellij.openapi.fileTypes.FileType

    EMPTY_ARRAY

    Fields inherited from interface com.intellij.openapi.options.Scheme

    EDITABLE_COPY_PREFIX
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    getCharset(@NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)
     
    @NotNull String
     
    @NotNull String
     
    @Nullable Icon
     
    @NotNull String
     
    boolean
     

    Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType

    extractCharsetFromFileContent, extractCharsetFromFileContent, getDisplayName, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      public static final com.intellij.openapi.fileTypes.FileType INSTANCE
  • Constructor Details

    • LivePreviewFileType

      protected LivePreviewFileType()
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
    • getDescription

      @NotNull public @NotNull String getDescription()
    • getDefaultExtension

      @NotNull public @NotNull String getDefaultExtension()
    • getIcon

      @Nullable public @Nullable Icon getIcon()
    • isReadOnly

      public boolean isReadOnly()
    • getCharset

      @Nullable public @Nullable String getCharset(@NotNull @NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)