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

Implement formatter #82

Open
Aralox opened this issue Nov 4, 2020 · 1 comment
Open

Implement formatter #82

Aralox opened this issue Nov 4, 2020 · 1 comment

Comments

@Aralox
Copy link

Aralox commented Nov 4, 2020

There doesn't appear to be any available vscode extension that is capable of formatting turtle files. I saw that the formatter in the stardog extension was stubbed out at one point (40198f5) - are there plans to implement it?
Thanks!

PS: Permissions seem to be a little dodgy for this repo - I can't access a large part of the repo's source (anything in the master branch), I get a 404.

@jeswr
Copy link
Contributor

jeswr commented Feb 19, 2023

I second this feature request - node the easiest way to do this would probably be just to parse and then re-serialize the file using something like https://github.com/rdfjs-base/serializer-turtle.

I would also appreciate this for the other syntaxes. In the case of SPARQL it could be parsed and re-serialized using https://github.com/joachimvh/SPARQLAlgebra.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants