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

fix(lsp): file incorrectly updated when importing modules, fixes #135 #136

Merged
merged 7 commits into from
Sep 5, 2023

Conversation

a-h
Copy link
Owner

@a-h a-h commented Sep 3, 2023

No description provided.

aggroot and others added 2 commits September 5, 2023 13:49
* fixed autoimport for other completion kinds that require import

* Apply suggestions from code review

remove unused parameter

Co-authored-by: Adrian Hesketh <[email protected]>

* Apply suggestions from code review

fix naming typo

Co-authored-by: Adrian Hesketh <[email protected]>

* changed how a kind that requires import is identified

* remove obsolete regexp

---------

Co-authored-by: agalbenus <[email protected]>
Co-authored-by: Adrian Hesketh <[email protected]>
@a-h a-h merged commit 86d87b4 into main Sep 5, 2023
6 checks passed
@a-h a-h deleted the fix_autocomplete_module branch September 5, 2023 14:59
a-h added a commit that referenced this pull request Sep 24, 2023
…#136)

* fix(lsp): file incorrectly updated when importing modules, fixes #135

* refactor: reduce time spent iterating through files, and reduce risk of incorrectly identifying an import statement

* refactor: add tests for import management

* refactor: rename field

* fix: use the detail section, because the label only includes the last part of the name

* fix: solve auto-import for completions that require them (#138)

* fixed autoimport for other completion kinds that require import

* Apply suggestions from code review

remove unused parameter

Co-authored-by: Adrian Hesketh <[email protected]>

* Apply suggestions from code review

fix naming typo

Co-authored-by: Adrian Hesketh <[email protected]>

* changed how a kind that requires import is identified

* remove obsolete regexp

---------

Co-authored-by: agalbenus <[email protected]>
Co-authored-by: Adrian Hesketh <[email protected]>

* refactor: minor restructure, and additional test

---------

Co-authored-by: Adrian Galbenus <[email protected]>
Co-authored-by: agalbenus <[email protected]>
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