Author Topic: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions  (Read 13228 times)

0 Members and 1 Guest are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« on: July 12, 2008, 06:13:52 PM »
Basically this is a highlighter fix for Notepad++ to highlight gmod10 functions, I just added all the ULib functions to it :D

Credit to Garthex for original Highlighter creation

==To Install==

extract the file, then you should have the following:
Gmod10_LuaHighlighter+Ulib/config/
Gmod10_LuaHighlighter+Ulib/Npp_Keywords.lua

Drag the config folder and the Npp_Keywords.lua into your Notepad++ folder/plugins and you're done :D

- Added PLAYER:  commands to the highlighter - Added
- Fixed ULib.ucl.functions not being highlighted properly - Fixed
- Added the GmodLua.dll I left out. No-one noticed?  - Fixed
« Last Edit: July 16, 2008, 10:42:13 PM by jay209015 »
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #1 on: July 12, 2008, 06:25:44 PM »
I love you
Experiencing God's grace one day at a time.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #2 on: July 12, 2008, 06:53:34 PM »
Lol, thanks. :D 


I made this because I got tired of making typos and looking for them forever, now it makes them obvious :D
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #3 on: July 13, 2008, 01:08:13 AM »
Cool, I already had the original one, This is a bonus

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #4 on: July 13, 2008, 08:27:27 AM »
LOL @ Megiddo.
I usually use Context with its lua highlighting.
Guess I'll have to pull Notepad++ out and try it with this.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #5 on: July 13, 2008, 12:53:45 PM »
- Added PLAYER:  commands to the highlighter - Added
- Fixed ULib.ucl.functions not highlighting correctly. - Fixed
- Added the GmodLua.dll I left out. No-one noticed?  - Fixed
« Last Edit: July 16, 2008, 10:42:28 PM by jay209015 »
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Aqua92

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #6 on: September 16, 2008, 08:33:19 AM »
I love you

same here O_O i started to learn lua. this is the right "addon" for a newb like me :D

(btw still need someone who teach me lua a bit :D anyone like? xD)

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #7 on: September 16, 2008, 09:31:36 AM »
Look in the developer corner for admin sounds, tools, and other... that's where I first learned all the lua I know :D. If you still need help I and many others of this community will be happy to do so.

==EDIT==

Infact, I'll be nice and pull up some video tuts I made a little while back, but if you have questions please create a new topic in developers corner.
Three Tuts:
« Last Edit: September 16, 2008, 01:29:31 PM by jay209015 »
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline locololo2

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #8 on: December 31, 2008, 08:09:06 PM »
I have tried Notepad++ 5.1.2 and 5.1.3 and always get an error on startup saying this ANSI plugin is not compatible with this current version of Notepad++

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #9 on: January 01, 2009, 09:10:45 PM »
I have tried Notepad++ 5.1.2 and 5.1.3 and always get an error on startup saying this ANSI plugin is not compatible with this current version of Notepad++
     - Yeah, noticed that. Sadly the source of the error is from part of the addon which I did not write nor do I have to knowledge to fix.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #10 on: January 11, 2009, 09:01:03 PM »
Though I don't use Notepad++, I saw this [ http://forums.facepunchstudios.com/showthread.php?t=588255 ] at Facepunch forums and thought I'd post it here.

As of this posting, the latest is a few hours old.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Darksoul

  • Newbie
  • *
  • Posts: 33
  • Karma: -1
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #11 on: January 25, 2009, 10:52:55 PM »
This is going to sound nub, but ah... what exactly does this do?. Because I installed it to notepad++ and see nothing new... :'(

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gmod10 Lua Highlighter for Notepad ++ w/ ULib functions
« Reply #12 on: January 26, 2009, 03:11:39 PM »
If you don't program G-Lua, you probably won't notice any difference.
The link I posted, combined with Notepad++, allows autocomplete of Lua functions, Gmod Lua, and Ulib functions as they're being typed.
I don't know if Jay would have to re-release his addon for Notepad++ with the fixed version or not.
Highlighting would be different too when looking at Gmod Lua files and ULib functions in them.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming