- Install SublimeClang with Package Control if you don't already have it (you do also need to install Package Control first)
- Click Sublime Text -> Preferences -> Sublime Clang -> User
- Paste in the contents of SublimeClang.sublime-settings, modifying the location of theos (
-I/opt/theos/include
) and the SDK (/Applications/Xcode.app/Contents/...etc
) if needed - Save, restart Sublime, be happy (or yell at me if it didn't work)
(This was just written from memory so let me know if something is wrong. Note that logos syntax is not supported as SublimeClang expects to only be running clang --analyze
, and I know nothing about python.)