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

[RFE] Add file watchers to collection path to avoid reload in the extension #1141

Open
ganeshrn opened this issue Feb 7, 2024 · 0 comments

Comments

@ganeshrn
Copy link
Member

ganeshrn commented Feb 7, 2024

Problem

Currently if new collections are created in standard path and plugins added the extension is required to be reloaded every time for the new collection to be displayed in auto-complete.

Solution

Add file watcher (using vscode library) to watch for changes in the collection path and re create the in memory structure for the documents when new collections/plugins are installed or exiting plugins are edited.

Alternatives

Alternative is to restart the extension which is not a good user experience.

Additional context

No response

@audgirka audgirka removed the new label Feb 7, 2024
@ssbarnea ssbarnea transferred this issue from ansible/ansible-language-server Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Roadmap
Development

No branches or pull requests

2 participants