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

Add stdlib-path as cli argument #64

Open
ygorpontelo opened this issue Sep 8, 2024 · 1 comment
Open

Add stdlib-path as cli argument #64

ygorpontelo opened this issue Sep 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ygorpontelo
Copy link

This is something i don't expect to change much per project, so would be nice to able to pass that to the server when the extension starts. If i want to use this feature i need to create the json config in my projects, which is annoying as it's always the same path.

One other option would be for the server to search for the c3lsp.json in a default location, like the directory where the bin is, and use that one as the default if it exists. If there is a json in the project directory, then it overrides that default one.

On a side note, thanks for creating the lsp! It helps a lot :D

@pherrymason pherrymason added the enhancement New feature or request label Sep 8, 2024
@pherrymason
Copy link
Owner

Implemented new stdlib-path argument.
This should be updated in lsp clients to support it (for example vscode extension).

About the general c3lsp.json, it's a good idea. Will leave this issue open to keep track of that.

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