Bug 398062

Summary: [Suggestion] Does kate have a function to automatically switch the syntax?
Product: [Applications] kate Reporter: Unknown <null>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andrew.crouthamel
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Unknown 2018-08-30 11:05:40 UTC
kate does not automatically switch the syntax when reading files.

now kate: zshrc > Normal
Desired movement: zshrc > zsh

Such a description is not found in the setting.
For now it seems to be switched manually.
At atom which is editor, syntax is automatically switched by extension.
We think that this is a good technique for improving visibility by syntax regardless of which file is opened.
Comment 1 Andrew Crouthamel 2018-09-08 00:17:57 UTC
Hi there from the Bugsquad!

I am not experiencing this bahavior. Kate does automatically select syntax highlighting types based on file extension, including .zshrc. I tested this on Kate 18.08 today successfully with a test.zshrc file I populated with an example template. Please let us know if you continue to have this issue.