Skip to content

Type Alias: NVEDirentLanguage

ts
type NVEDirentLanguage =
  | "vue"
  | "css"
  | "scss"
  | "less"
  | "json"
  | "html"
  | "handlebars"
  | "razor"
  | "typescript"
  | "javascript"
  | "yaml";

Supported Monaco language identifiers for file type inference.

Used by NVEDirent.language to map file extensions to Monaco Editor language IDs.

  • 'vue': Vue single-file components
  • 'css': CSS stylesheets
  • 'scss': SCSS stylesheets
  • 'less': LESS stylesheets
  • 'json': JSON files
  • 'html': HTML files (including .htm)
  • 'handlebars': Handlebars templates
  • 'razor': Razor templates
  • 'typescript': TypeScript files (including .ts, .cts, .mts)
  • 'javascript': JavaScript files (including .js, .cjs, .mjs)
  • 'yaml': YAML files (including .yml)