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

Road-map #1

Open
renehiemstra opened this issue Apr 9, 2024 · 2 comments
Open

Road-map #1

renehiemstra opened this issue Apr 9, 2024 · 2 comments
Labels
question Further information is requested

Comments

@renehiemstra
Copy link

Interesting project! I am looking to use/implement/contribute to something like this.

It seems not all the logic is implemented yet. Is that correct? Do you have a roadmap?

There are several other related projects

@AlecGhost
Copy link
Owner

AlecGhost commented Apr 12, 2024

Hello there. I'm delighted to hear that you are interested in the project.
I have no clear roadmap yet, so feel free to request and implement features, that you are interested in.
I would lay out the main goals as follows:

  • Provide a language-independent platform, to integrate Tree-sitter-based features into VSCode.
  • Be an easy-to-use stepping stone for custom/new/small programming languages or DSLs.
  • Make embedding/injecting languages into other languages easier.

These goals should also set it apart from the related projects that you mentioned. Specifically, I don't plan on shipping grammars/parsers for established languages with this extension. (Only possibly as examples or tests.)

The next tasks would be the following (I'll create issues for those in the upcoming days):

  • Implement the injection rules described in the Tree-sitter docs. I couldn't find a real spec, so I'm not sure how exactly they need to be implemented. But the most important features should be dynamic language injection (opposed to the current @language syntax) and combining the queries instead of performing analysis on each separately.
  • Add a configuration option to exclude languages with parsers from the top-level semantic token provider. E. g. I want to inject a language, but I don't want to highlight the files that are only of that language.
  • Provide other features than highlighting (e. g. folding).
  • Investigate whether the "hacks" described in the documentation are really necessary or if they can be covered by proper VSCode APIs.

@AlecGhost
Copy link
Owner

Well, its rather been months than days, but here are a few issues regarding the next tasks I mentioned.

@AlecGhost AlecGhost added the question Further information is requested label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants