Skip to content

enhancement: add missing common file extensions to language detection #944

Description

Some common file extensions are currently missing from the language definitions.

The following extensions could be added:

  • C++ -> .hh, .hxx, .ixx
  • F# -> .fsscript
  • JSON -> .jsonl, .ndjson
  • Markdown -> .markdown
  • XML -> .xhtml

There is also a duplicate .xml entry in the XML language definition that can be removed.

These changes would allow edit to recognize more commonly used file types without changing the existing syntax highlighting behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions