1. Post #81
    Steins;Gate SUCKS
    Dave_Parker's Avatar
    October 2008
    5,063 Posts
    Apparently that feature is in beta right now.

  2. Post #82
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Can you fix elseif? It doesn't treat it like it does else, it acts like it's code inside the if
    And before someone tells me to go fix it myself, I don't know python, and really don't want to fuck with it
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  3. Post #83
    moo
    CowThing's Avatar
    November 2006
    4,834 Posts
    "not" isn't highlighted.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 3 (list)

  4. Post #84
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    There is an error with sublime thinking that both " and ' are multi-line strings when they aren't.
    Hey shouldn't I leave this one in? It can be very useful to see the syntax error. I mean you won't see this if you don't make a syntax error, do you?

    Edited:

    And before someone tells me to go fix it myself, I don't know python, and really don't want to fuck with it
    Elseif works more than fine for me.

  5. Post #85
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  6. Post #86
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    If you make a variable or function, that variable or function isn't highlighted later on. That function isn't available in sublime AFAIK.

  7. Post #87
    TGiFallen's Avatar
    January 2010
    1,440 Posts
    If you make a variable or function, that variable or function isn't highlighted later on. That function isn't available in sublime AFAIK.
    Where have you been for so long?, also file.FindInLua only highlights find among with vgui.RegisterFromTable, only highlights Register
    Reply With Quote Edit / Delete Reply Canada Show Events Dumb Dumb x 1 (list)

  8. Post #88

  9. Post #89
    ceribik's Avatar
    January 2010
    99 Posts
    Any plans to make this display gmod function prototypes and the alike?

  10. Post #90
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    Any plans to make this display gmod function prototypes and the alike?
    Gmod function prototypes? Do you mean self made functions?

  11. Post #91
    open.gl
    Overv's Avatar
    February 2007
    7,431 Posts
    Gmod function prototypes? Do you mean self made functions?
    No, he's talking about the prototype of functions. e.g.

    math.Clamp( number raw, number minimum, number maximum )

  12. Post #92
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    That would be way too much work for me ><

  13. Post #93
    open.gl
    Overv's Avatar
    February 2007
    7,431 Posts
    Reply With Quote Edit / Delete Reply Netherlands Show Events Zing Zing x 3Useful Useful x 1 (list)

  14. Post #94
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    And sublime doesn't support it afaik.

  15. Post #95
    ceribik's Avatar
    January 2010
    99 Posts
    Yeah i meant what overv said, so for example, while typing some function you use rarely, say math.clamp, as soon as you type math. or math.c or otherwise, you see a tooltip (or similar) showing possible function prototypes (ala various IDEs).

    If you did this, i'd switch from notepad++ :D

  16. Post #96
    I'm Better Than You
    Handsome Matt's Avatar
    August 2008
    5,607 Posts
    Yeah i meant what overv said, so for example, while typing some function you use rarely, say math.clamp, as soon as you type math. or math.c or otherwise, you see a tooltip (or similar) showing possible function prototypes (ala various IDEs).

    If you did this, i'd switch from notepad++ :D
    Decoda, it's a full Lua IDE.

  17. Post #97
    TGiFallen's Avatar
    January 2010
    1,440 Posts
    Will this ever be updated with the fixes people have posted?
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 5Dumb Dumb x 1 (list)

  18. Post #98
    Always the vGuy.
    vercas's Avatar
    September 2011
    844 Posts
    Doesn't work at all for me. It's identical to the LUA syntax.
    Reply With Quote Edit / Delete Reply Windows 7 Romania Show Events Dumb Dumb x 2 (list)

  19. Post #99
    sabreman's Avatar
    January 2010
    487 Posts
    Dude, that was a two year old thread, what do you think?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 2Dumb Dumb x 1 (list)

  20. Post #100
    Always the vGuy.
    vercas's Avatar
    September 2011
    844 Posts
    Dude, that was a two year old thread, what do you think?
    I found the problem. It only works with the "Monokai" color scheme.

    BTW, FPtje hasn't abandoned this yet.

  21. Post #101
    Gold Member
    neutra's Avatar
    January 2012
    487 Posts
    Hopefully it gets updated by the time of the GM13 release.
    Reply With Quote Edit / Delete Reply Windows XP United States Show Events Agree Agree x 1 (list)

  22. Post #102
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    Hopefully it gets updated by the time of the GM13 release.
    Garry's Mod Lua Syntax Highlighter Plugin for Sublime Text 2:
    This is the version that works with Gmod 13.
    Download:


    Github repository:
    https://github.com/FPtje/Sublime-GLua-Highlight
    Reply With Quote Edit / Delete Reply Windows 7 Netherlands Show Events Winner Winner x 3Lua King Lua King x 1Friendly Friendly x 1 (list)

  23. Post #103
    Ruzza's Avatar
    December 2011
    1,137 Posts
    Mad, thanks FPtje!

  24. Post #104
    R3N
    R3N's Avatar
    January 2010
    89 Posts
    Thanks for this FPtje.

  25. Post #105
    Gold Member

    July 2006
    1,961 Posts
    Cheers for this!

  26. Post #106
    Gold Member
    nicatronTg's Avatar
    July 2009
    4,704 Posts
    Hate to bump, but I was ecstatic to find this in Package Control. Thanks a ton FPtje!
    Reply With Quote Edit / Delete Reply Windows XP United States Show Events Friendly Friendly x 1Dumb Dumb x 1 (list)

  27. Post #107
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,725 Posts
    Bump for little poll:

    I updated it to the latest gmod 13 beta and while I was at it, I made it so comma's are highlighted as operators. I think it looks better. Any objections?
    Reply With Quote Edit / Delete Reply Windows 7 Netherlands Show Events Useful Useful x 1Friendly Friendly x 1 (list)

  28. Post #108
    Looks better as you can clearly distinguish between separated items now.
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Informative Informative x 1 (list)

  29. Post #109
    runamagic's Avatar
    October 2009
    483 Posts
    I love you :D

  30. Post #110
    GloveRelaxis's Avatar
    May 2009
    11 Posts
    Yeah this is awesome; thanks so much!