Bug 483330

Summary: Kate LSP client stops suggestion of autocompletion if there's a space in the filename
Product: [Applications] kate Reporter: me
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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