Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextMate grammar for *.dtd files #313

Closed
datho7561 opened this issue Aug 26, 2020 · 4 comments · Fixed by #713
Closed

TextMate grammar for *.dtd files #313

datho7561 opened this issue Aug 26, 2020 · 4 comments · Fixed by #713
Labels
enhancement New feature or request textmate
Milestone

Comments

@datho7561
Copy link
Contributor

I think it could be helpful to provide a TextMate grammar for *.dtd files. Syntax highlighting would make it a bit easier to read and edit these files.

It looks like nothing is being done to implement it upstream in VSCode: VSCode related issue. VSCode just reuses the Atom TextMate grammar for XML/DTD: Atom issue. The Atom TextMate grammar was extracted from the TextMate XML plugin. This grammar doesn't include syntax highlighting for DTD.

@angelozerr
Copy link
Contributor

Indeed it should be really nice to improve syntax coloration for DTD and perhaps contribute to vscode?

@datho7561 datho7561 added the enhancement New feature or request label Aug 27, 2020
@datho7561
Copy link
Contributor Author

Yes. Now that I think about it, this would make more sense upstream in vscode.

@datho7561
Copy link
Contributor Author

@angelozerr
Copy link
Contributor

angelozerr commented May 19, 2022

After quick search I have found https://github.com/sebastienscout/atom-dtd-language/blob/master/grammars/dtd.cson but it is very basic.

I think we could start with that and improve it step by step. When we will have an advanced textmate for DTD we could try to contribute to vscode.

angelozerr added a commit to angelozerr/vscode-xml that referenced this issue May 19, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue May 19, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue May 28, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue May 30, 2022
angelozerr added a commit that referenced this issue May 31, 2022
@angelozerr angelozerr added this to the 0.21.0 milestone May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request textmate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants