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

adds nimdir to dump #1221

Merged
merged 5 commits into from
May 27, 2024
Merged

adds nimdir to dump #1221

merged 5 commits into from
May 27, 2024

Conversation

jmgomez
Copy link
Collaborator

@jmgomez jmgomez commented May 20, 2024

No description provided.

jmgomez added a commit to jmgomez/langserver that referenced this pull request May 22, 2024
This depends on nim-lang/nimble#1221
It also needs to be tested in Win.

While developing this found an issue with the project discovery, it uses `nim dump` but it doesnt seem to end when Nim is a local dep, it takes too long. Will try to speed it up in the nimble side of things
@jmgomez jmgomez marked this pull request as draft May 24, 2024 08:40
@jmgomez
Copy link
Collaborator Author

jmgomez commented May 24, 2024

Do not merge it yet, Im going to make it part of dump so it can be easily cached inside the lsp as dump is already in use there and is taking quite a bit of time.

@jmgomez jmgomez marked this pull request as ready for review May 25, 2024 09:28
@jmgomez jmgomez changed the title implements --shownimdir adds nimdir to dump May 27, 2024
@Araq Araq merged commit d022be4 into nim-lang:master May 27, 2024
11 checks passed
jmgomez added a commit to nim-lang/langserver that referenced this pull request May 29, 2024
* Gets the nimsuggest path from `nimble` when `nimble` has `nimdir`

This depends on nim-lang/nimble#1221
It also needs to be tested in Win.

While developing this found an issue with the project discovery, it uses `nim dump` but it doesnt seem to end when Nim is a local dep, it takes too long. Will try to speed it up in the nimble side of things

* Win works

* Adds Nim version to the notification so the user knows what version is used

* uses nimble dump for nimdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants