Bug 483330 - Kate LSP client stops suggestion of autocompletion if there's a space in the filename
Summary: Kate LSP client stops suggestion of autocompletion if there's a space in the ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 23.08.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-12 11:42 UTC by me
Modified: 2024-03-12 16:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description me 2024-03-12 11:42:19 UTC
SUMMARY
***
Kate LSP client stops suggestion of autocompletion if there's a space in the filename
***


STEPS TO REPRODUCE
1. install a markdown lsp, example zk 
2. configure the lsp client in kate like so : { "servers": { "markdown": { "command": ["zk", "lsp"], "root": ".zk" } }, "python": { "command": ["python3", "-m", "pyls", "--check-parent-process"], "url": "https://github.com/palantir/python-language-server", "highlightingModeRegex": "^Python$" } } 

3. try to autocomplete wikilinks by typing [[ctrl+space. You get a list of suggestions (good!)
4. type the filename you want, containing a space in it
5. autocopletion window closes, no way to fill the autocompletion. 

OBSERVED RESULT
No autocopletion

EXPECTED RESULT
Autocomplete the filename, with spaces

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5
KDE Frameworks Version: 5.114
Qt Version: ? ubuntu-> TuxedoOS

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2024-03-12 12:05:29 UTC
I think this is a WONTFIX.

Please don't type 'space' when filtering for completion. Just type it all together, it will work.
Comment 2 me 2024-03-12 16:57:16 UTC
Just tried typing it all together and it didn't work. Can you use an example? 

In my case, filename
'Helix instead of vim.md'

I type
'Helix' (lots of partial matches
'Helixinstead' zero matches