Idea: Autodetect syntax highlighting based on file extension
The syntax highlighting could be inferred from the file extension if present.
Example: .cs, .java, .h, .c, .cpp would default to the C# / Java / C option.
Bruno Brant commented
It is listed as completed, but it ain't working.
Diff tool and merge tool are also picking the syntax highlighting, maybe you didn't have the correct configuration. Check the samples provide with the tool.
The param option -t="@filetype" has to be present in the configuration.
Also, you can use -emt=default and -edt=default, and the syntax highlighting is detected :)
Then the diff tool is not automatically picking the syntax highlighting based on it. Unless I selected the option, I would see plain text for .cs files.
I'm a bit confused, we already use the file extension to detect syntax highlighting. Is it only a suggestion or did you see anything weird? :)