AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   Gedit Syntax Highlighting (https://forums.alliedmods.net/showthread.php?t=152198)

Seta00 03-05-2011 22:16

Gedit Syntax Highlighting
 
1 Attachment(s)
Put this on /usr/share/gtksourceview-2.0/language-specs/.

It'll be automatically enabled on .sp files, you can manually activate it under the "Scripts" section of the "Highlight Mode" menu.

Here's a screenshot: http://dl.dropbox.com/u/10968786/syn...ghlighting.png

Have fun.

bestmeth0ds 06-09-2012 16:05

Re: Gedit Syntax Highlighting
 
Was looking everywhere for gedit sourcepawn syntax highlighting, thanks and it works great! :)

Pyc 03-21-2016 08:57

Re: Gedit Syntax Highlighting
 
great!!! need update for sourcemod 1.7

nergal 07-25-2016 12:10

Re: Gedit Syntax Highlighting
 
Quote:

Originally Posted by Pyc (Post 2404455)
great!!! need update for sourcemod 1.7

I've updated this for sourcemod 1.7+

https://drive.google.com/file/d/0B3F...ew?usp=sharing

types and storage class show up as green
keywords show up as red
special variables and functions show up as cyan/baby blue
and boolean true and false show up as pink.

nergal 04-13-2020 20:43

Re: Gedit Syntax Highlighting
 
1 Attachment(s)
back with another updated version.
Special thanks to JoinedSenses for his function regex syntax

DJEarthQuake 05-29-2020 23:47

Re: Gedit Syntax Highlighting
 
On Debian 10 the files open up with syntax highlighting already. Nice to see Gnome Edit continue to be intuitive. Thanks for your work. I'll be damned before I use Windows based stuff. This is a great way to start SP. On Gedit!!


All times are GMT -4. The time now is 00:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.