https://bugs.kde.org/show_bug.cgi?id=496361

            Bug ID: 496361
           Summary: Diagnostics not shown on text editor when filename has
                    a plus sign
    Classification: Applications
           Product: kate
           Version: 24.08.1
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: santiagocezar2...@gmail.com
  Target Milestone: ---

Created attachment 175869
  --> https://bugs.kde.org/attachment.cgi?id=175869&action=edit
Kate with 4 files open in split view. 'test.js' and '?test.js' show errors
hightlighted in the content, but '+test.js' and '+what.c' do not.

SUMMARY
Using Kate 24.08.1 with an LSP server (tested with svelteserver,
typescript-language-server and clangd). 

Diagnostics in files with a plus sign (anywhere) in the name won't show as
highlights and squiggly lines in the code (see attachment), but they DO get
reported in the diagnostics tab.

This is troubling when working with Svelte, as it uses '+page.svelte' and
'+layout.svelte' for routing files.

STEPS TO REPRODUCE
1. Open some code file with a plus sign in the name.
2. Make sure the LSP server is running.
3. Write invalid code.

OBSERVED RESULT
The invalid code in question it's not being highlighted

EXPECTED RESULT
The invalid code should be highlighted.

SOFTWARE/OS VERSIONS
OS: NixOS 24.11
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Might be a quirk with URI escaping sequences, but I've tried with #, ?, % and
couldn't reproduce the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to