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

Completions should play nicer with existing text #223

Closed
alcarney opened this issue Jun 23, 2021 · 0 comments · Fixed by #231
Closed

Completions should play nicer with existing text #223

alcarney opened this issue Jun 23, 2021 · 0 comments · Fixed by #231
Assignees
Labels
bug Something isn't working lsp Issues that relate to the language server

Comments

@alcarney
Copy link
Member

Say I have an existing portion of a filename I want to complete

.. figure:: /path/to/example-

I position the cursor at the end of example- and hit Ctrl+Space and pick the item I want example-filename.png

.. figure:: /path/to/example-example-filename.png

The completion item pays no attention at all to the existing text and often requires some cleanup. The server should be taking existing text into account when generating completions. I imagine this issue is not specific to just filenames

@alcarney alcarney added bug Something isn't working lsp Issues that relate to the language server labels Jun 23, 2021
@github-actions github-actions bot added this to Backlog in Language Server Jun 23, 2021
@alcarney alcarney moved this from Backlog to To do (For next release) in Language Server Jul 11, 2021
@alcarney alcarney moved this from To do (For next release) to Backlog in Language Server Aug 8, 2021
@alcarney alcarney moved this from Backlog to To do (For next release) in Language Server Aug 8, 2021
@alcarney alcarney self-assigned this Aug 8, 2021
@github-actions github-actions bot moved this from To do (For next release) to In progress in Language Server Aug 8, 2021
Language Server automation moved this from In progress to Done (Ready to release) Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lsp Issues that relate to the language server
Projects
No open projects
Language Server
Done (Ready to release)
Development

Successfully merging a pull request may close this issue.

1 participant