enhancement: add missing common file extensions to language detection
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by locating the language definitions used by edit's file-type detection, then find the XML definition and its duplicate .xml entry. Add the listed extensions without changing syntax highlighting behavior, remove the duplicate, and verify that edit recognizes each extension.
Written by the indexing model from the issue text.
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.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 735
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/edit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 75/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100