

In Debian-based distributions this is package python-gtksourceview2. If gedit recognizes the syntax being used when you open a file, it will automatically highlight the text. To run it you need the python bindings for GtkSourceView 2. vbs file manually to the VB.NET one the highlighting is applied just fine.Īny idea why this isn't working correctly even though it is recognizing the file extension and correctly assigning it to the VBScript Syntax Highlighting? I tried changing the vbs.lang file back to "Sources" to see if that would make a difference, but it didn't. A typical search path for GtkSourceView version 2 looks like: If this does not work in your distribution you can find out your style search path with this python script. If I switch the Highlighting Mode of the. However, nothing is changing and it still looks like plain text. So whenever I open a file with the extension *.vbs I can see Gedit applying the "VBScript" syntax highlighting to it by seeing "VBScript" selected on the bottom status bar of Gedit or by looking in: View > Highlighting Mode > ScriptsĪnd seeing that *VBScript is selected.

In order to have this highlighting automatically applied to my *.vbs script files, I copied "vbnet.lang" to "vbs.lang".

I am writing some VBScript files and since there was no Syntax already configured for VBScript, I've been using the VB.NET syntax highlighting instead, which is good enough for me.
#Gedit syntax highlighting windows
I installed Gedit on my Windows machine since I've grown very accustomed to it on my Linux box.
