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

Pregenerate json files for each contained plugins docstring during build #280

Open
cidrblock opened this issue Aug 30, 2021 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@cidrblock
Copy link

cidrblock commented Aug 30, 2021

Currently the ansible language server crawls the file systems and uses a regular expression to extract doc strings from plugins.

In the case of execution environments, having ansible builder extract the doc strings during the build process and store them in the container in a well-known location would allow this to be a one-time process vs. a process that occurred each time the language server was started.

This would limit the interaction between the language server and the EE to a simple file content collection process, eg cat *

This is the current process the language server uses: https://github.com/ansible/ansible-language-server/blob/707d53c64a29571922a7924cf4e5ff9b6ad4b68e/src/utils/docsParser.ts#L202

@cidrblock cidrblock added the enhancement New feature or request label Aug 30, 2021
@cidrblock
Copy link
Author

Note: This may not be needed for the initial EE support being added to the ansible language server for it's fall release.

Will confirm......

@cidrblock
Copy link
Author

Confirm, not needed for the fall release of the language server and vscode plugin

@samdoran samdoran added needs_triage New item that needs to be triaged and removed enhancement New feature or request labels Nov 1, 2021
@samdoran samdoran added enhancement New feature or request and removed needs_triage New item that needs to be triaged labels Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants