https://bugs.kde.org/show_bug.cgi?id=523339
Bug ID: 523339
Summary: Kate auto syntax highlighting for bash don't work if
no .sh extension present
Classification: Applications
Product: kate
Version First 26.04.3
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 194489
--> https://bugs.kde.org/attachment.cgi?id=194489&action=edit
Screencast syntax highlighting bug kate
DESCRIPTION
The auto syntax highlighting funktion in kate don't work anymore if the '.sh'
extension of the file is missing.
STEPS TO REPRODUCE
1. Create a file and name it: examplescript
2. Add the shebang '#!/bin/bash'
3. Add some code eg: a var='Hello world', echo "$var"
4. Save the file, close and reopen it
5. close the file, rename to examplescript.sh and open it
OBSERVED RESULT
At step 4: no auto syntax highlighting
At step 5: the auto syntax highlighting works
EXPECTED RESULT
Auto syntax highlighting working in step 4. regardless of whether the '.sh'
extension is present or not.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.3-arch2-2 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
I can't exactly say when this first occurred, but I am 100% sure it dit not
happened with:
KDE Plasma Version: 6.7.0
Kate Version: 26.04.2
but since:
KDE Plasma Version: 6.7.1 or 6.7.2
Kate Version: 26.04.3
For testing I set up a new user and tried it with a clean plasma session but
with the same result as described.
--
You are receiving this mail because:
You are watching all bug changes.