This is a syntax plugin for use with Sublime Text. https://github.com/UnknownX7/Sublime-Starbound-Lua-Syntax Please read the repository for more information.
I am sure a lot of users will really appreciate this thanks! Though I don't see why so many people use ST over Np++
Oh man, so many reasons. Fuzzy file search, actual projects, simple syntax specific settings, build macros, multiple cursors, multiple selections, commands. This plugin is really cool, I'll definitely try it out!
Since you guys used Sublime Text I thought I will just post the question here In Np++ when you move over a bracket the opening and closing bracket turns red. While in Sublime Text it is barely noticeable underline. Is there anyway to add a similar functionality to sublime text? Edit: Nvm figured it out you need to download a package. Psh, so much work to get some decent functionality for $70.
It's actually a setting for the theme you are using. The easiest way to get there would be to install "PackageResourceViewer", use Shift+Ctrl+P, "Open Resource", "Color Scheme - Default", then find the .tmTheme of your current theme. The default code for bracket underlining: Code: <key>bracketsForeground</key> <string>#20FF00</string> <key>bracketsOptions</key> <string>underline</string> <key>bracketContentsForeground</key> <string>#20FF00</string> <key>bracketContentsOptions</key> <string>underline</string> To change it to changing the color of the text instead, you would need to change the "underline" option to "foreground". Code: <key>bracketsForeground</key> <string>#20FF00</string> <key>bracketsOptions</key> <string>foreground</string> <key>bracketContentsForeground</key> <string>#20FF00</string> <key>bracketContentsOptions</key> <string>foreground</string>
Thanks - though I think I accepted an honest truth. Notepad ++ is more for casual users. While Sublime Text is more for hardcore programmers. But i am wholly starting to see the benefits of sublime text.
If you are using SublimeLinter, just go to Tools > SublimeLinter > Open User Settings (it should open a file that already exists, if not then save it and reopen it so that it is initialized) and find the "syntax_map" value and change it to the following: Code: "syntax_map": { "html (django)": "html", "html (rails)": "html", "html 5": "html", "php": "html", "python django": "python", "lua starbound": "lua" }
I've updated the syntax to the newest stable update. I also documented quite a few of the changes to the Lua API as a result: http://pastebin.com/SgdZn8pz
I really appreciate your tool quite a bit. I keep forgetting the codes often and constantly have to look it up.
Nice, thank you! But can it be that the "args" keyword is not implemented Oh, and is it possible to also apply a color to custom function usage before their definition linewise?
I don't color "args" because its a table passed into hooks meaning anyone could name it anything they wanted. I only consider a table (or function) to be colored if its explicitly defined by C++. I would love to color custom functions as well, but Sublime lacks intellisense, so it would need to be something done with python. However, I may eventually explore python-related options when I have more time.
This update took awhile, but it's finally finished! This update consisted of two parts, the removal of most old functions and addition of all documented functions: http://pastebin.com/mpW4gEJ8, and the final in-game verification for all functions (which reintroduced some old functions that were removed previously): http://pastebin.com/z1JVszy4. Also, here's a list of all undocumented functions (as well as documented functions that had their names changed after being documented): http://pastebin.com/UspzZcLY. EDIT: Oops, my regex missed sb.interpolateSinEase(), it is actually documented! EDIT2: Metadept updated the documentation with some of the missing functions! http://metadept.com/starbound/luadocs.zip is the link for anyone who wants to update theirs. Here are the remaining functions that don't have documentation (all documented functions are correct now): http://pastebin.com/4KsZdNKJ
Just finished updating my primary mod, but this will be a lifesaver for the future. You are the hero this modding subforum needs.