redhat-developer / redhat-developer/vscode-xml

feature request: support for .odd documents

Open Beginner friendly
#887 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

I'm super happy that .rng support has been added to this extension! This has been an immense improvement for working with TEI XML files.

Another thing that would be really nice for the TEI ecosystem would be if you could add support for .odd files:
.odd is a file extension commonly used in the context of TEI, see e.g. here.
ODD documents are simply XML (TEI XML to be precise), see an example here.

The only issue issue is that when opening a .odd file, VSCode doesn't know that it's XML and the XML extension doesn't get kicked off.
I'm assuming this wouldn't require anything more than adding .odd to the list of files that should be handled by the extension. So hopefully not much work to implement - but it would provide quite a lot of value to the people working with ODD files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the extension's list of file types handled as XML and determine where the .odd association belongs. Verify the change by opening a .odd TEI XML document in VS Code and confirming that the XML extension activates for it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.