Updating Lua Lexer - List of Garry's Mod 13 Functions?
51 replies, posted
[QUOTE=Robotboy655;43718059]Updated the .xml file with more stuff, mostly NextBot stuff.
Download:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url][/QUOTE]
The link does not work
[QUOTE=StarBot;44354066]The link does not work[/QUOTE]
Right click > Save linked content as...
[QUOTE=Robotboy655;44354241]Right click > Save linked content as...[/QUOTE]
I only see "Save As", and that all. :/
Totally forgot, here's the newly updated .xml for latest stuff:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url]
Has all the enums and stuff.
[QUOTE=Robotboy655;44470007]Totally forgot, here's the newly updated .xml for latest stuff:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url]
Has all the enums and stuff.[/QUOTE]
I am having trouble importing this. Where am I supposed to put the file?
[QUOTE=The Android1;44470196]I am having trouble importing this. Where am I supposed to put the file?[/QUOTE]
Scroll all the way up to the first post in the thread.
Fuck me, I'm a dumbass. Thanks!
Thanks for the update
[QUOTE=Robotboy655;44470007]Totally forgot, here's the newly updated .xml for latest stuff:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url]
Has all the enums and stuff.[/QUOTE]
Thank you for continuing to update the lexer.
For anyone that is interested, I have created a Zenburn color theme to replace the default colors. This file also contains the latest updates that Robotboy655 and Acecool have provided.
[URL="https://db.tt/OEMrMJEG"]https://db.tt/OEMrMJEG[/URL]
[U]Installation[/U]
1) Navigate to "...\AppData\Roaming\Notepad++\plugins\config"
2) If you wish to save the default theme, be sure to save a copy of the GmodLua.xml file that is currently in the folder.
3) Place the file I have provided in this folder and rename it to GmodLua.xml
4) To get the theme to match up, open Notepad++, go into "Settings / Style Configurator" and switch the theme to "Zenburn"
That's it, Enjoy!
EDIT: Now includes all of the meta-table __functions that Acecool has provided below.
Here's one that includes all of the meta-table __ functions.
Based on Robots build with the additional metatable stuff, without all of the bloat white-space...
[url]https://dl.dropboxusercontent.com/u/26074909/notepadpp_highlighting/GmodLua.xml[/url]
[QUOTE=Acecool;44600160]Here's one that includes all of the meta-table __ functions.
Based on Robots build with the additional metatable stuff, without all of the bloat white-space...
[url]https://dl.dropboxusercontent.com/u/26074909/notepadpp_highlighting/GmodLua.xml[/url][/QUOTE]
Thank you! I have now updated my theme with the lexer you provided.
GmodLua.xml Zenburn Theme: [URL="https://db.tt/OEMrMJEG"]https://db.tt/OEMrMJEG[/URL]
Great job Robotboy655, Acecool, Cowslanlr, and MrGregsWorld on this! It is great to finally have an up to date lexer for n++!
I may create a new Lua Lexer Creator when I get my computer back up and running.
[QUOTE=Cowslanlr;44600894]Thank you! I have now updated my theme with the lexer you provided.
GmodLua.xml Zenburn Theme: [URL="https://db.tt/OEMrMJEG"]https://db.tt/OEMrMJEG[/URL][/QUOTE]
Thanks for this, the original theme looked absolutely horrendous with the style I was using in Notepad++.
[QUOTE=silentknight;44618339]Great job Robotboy655, Acecool, Cowslanlr, and MrGregsWorld on this! It is great to finally have an up to date lexer for n++![/QUOTE]
Thank you! :downs:
[QUOTE=spykr;44620860]Thanks for this, the original theme looked absolutely horrendous with the style I was using in Notepad++.[/QUOTE]
You are very welcome! That is exactly why I came up with it, I could not stand the default theme either. I am glad that others are finding it helpful.
[QUOTE=Robotboy655;43718059]Download:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url][/QUOTE]
Updated with latest stuff, this time I regenerated the libraries and most of the methods with a Lua script.
Could we get that hosted on garrysmod.com or something?
Would be nice if editor plugins could just pull it from the web, parse it and add the syntax/autocompletion dynamically.
[QUOTE=LennyPenny;45366271]Could we get that hosted on garrysmod.com or something?
Would be nice if editor plugins could just pull it from the web, parse it and add the syntax/autocompletion dynamically.[/QUOTE]
I agree with this
I'm exclusively late, but I find this incredibly sexy.
Here's a page I just wrote the other day for other upgrades to Notepad++, and it also includes adding the base Lua file system in, and the GMod lexer.
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/__tools/notepadpp_upgrades.lua.html[/url]
The big thing is that it adds useful macros such as converting spaces to tabs, removing trailing whitespace and saving with 1 macro and the other just removing trailing whitespace and saving. It adds search tools for DarkRP wiki, the new and old wiki for Garry's Mod, etc..
I'd just like to let people know that Notepad++ is incredibly customizable; so if you don't use my context-menu, hopefully it'll help you create your own. The list of plugins just opens up plugin manager and shows some of the plugins I use.
[QUOTE=vrej;45376920]I agree with this[/QUOTE]
[img]http://i.imgur.com/JTjecqM.gif[/img]
[QUOTE=Robotboy655;43718059]Updated the .xml file with more stuff, mostly NextBot stuff.
Download:
[url]https://dl.dropboxusercontent.com/u/10382947/GmodLua.xml[/url][/QUOTE]
Updated with latest stuff. This should be the most complete version yet.
[editline]2nd June 2015[/editline]
New thread for convenience: [url]http://facepunch.com/showthread.php?t=1468732[/url]
Sorry, you need to Log In to post a reply to this thread.