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

LSP auto completion only affects one selection when changing multiple selections #2519

Closed
aral opened this issue May 20, 2022 · 1 comment
Closed

Comments

@aral
Copy link
Contributor

aral commented May 20, 2022

To reproduce (helix 22.05-dev (3a398ee)):

const autoCompleteTest

const b = doesNotExist
const c = doesNotExist
  1. Select both doesNotExists
  2. Change them c
  3. Type: auto tab to auto complete to the defined constant

What should happen

Both selections should auto complete to the same thing.

const autoCompleteTest

const b = autoCompleteTest
const c = autoCompleteTest

What actually happens

Only the last selection auto completes.

const autoCompleteTest

const b = auto
const c = autoCompleteTest
@aral aral changed the title LSP completion does not work when changing multiple selections LSP completion only affects one selection when changing multiple selections May 20, 2022
@aral aral changed the title LSP completion only affects one selection when changing multiple selections LSP auto completion only affects one selection when changing multiple selections May 20, 2022
@aral
Copy link
Contributor Author

aral commented May 20, 2022

Ah, looks like I already reported this last month (#2016). Closing this one.

@aral aral closed this as completed May 20, 2022
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

No branches or pull requests

1 participant