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

Enhanced syntax support #29

Open
Igorgro opened this issue Apr 17, 2023 · 2 comments
Open

Enhanced syntax support #29

Igorgro opened this issue Apr 17, 2023 · 2 comments
Labels
area: editor Changes related to the vscode editor. type: feature A new feature or functionality.

Comments

@Igorgro
Copy link

Igorgro commented Apr 17, 2023

It would be great if this extension provide enhanced support for taskfile syntax, such as task reference autocomplete, clickable task references, semantic highlights, "run task" codelenens (similary to jest extension). All this will require development of custom language server like for example ansible language server for ansible vscode extension

@andreynering
Copy link
Member

There's a language server made by someone else that stopped being updated at 2020 but that we could potentially use as a reference to build a new one: https://github.com/paulvarache/taskfile-language-server.

@Igorgro My summary is: I see value on all of this, but given this extension is pretty new, keep in mind that it can take a long time until we have all these features (if at all), specially if they require a language server, which means more work.

@pd93
Copy link
Member

pd93 commented Apr 17, 2023

This is definitely on the roadmap. At the moment, we're relying on the YAML extension to provide schema suggestions too. It would be nice to bring all of this into the Task extension, but as @andreynering said, it may take some time.

My current plans are to resolve the issues with output window/terminal first. There's also a couple of performance related issues that the next release will fix. This will give us a stable base and we can then start to look at what will be needed to create an official LSP.

I'm quite excited by the creation of a first-party tool that will make use of Task as a package. This will allow us to do some dogfooding of the package API which is often overlooked as it is much less used than the CLI.

@pd93 pd93 added type: feature A new feature or functionality. area: editor Changes related to the vscode editor. labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: editor Changes related to the vscode editor. type: feature A new feature or functionality.
Projects
None yet
Development

No branches or pull requests

3 participants