What's new

How to Install Sublime Text with KSP add-on

Mike, command-K for "compile" works for you on Mac? For me, that just launches a secondary command system, and doesn't compile. So I use the manual install of KSP, and manually change the key_commands file to "command-L" for compile (or something else that Sublime Text doesn't need). I've never found out how to do that in the Package Control version.

I also like the light colour scheme, that makes two of us!

cheers, Dan
 
The command-K for "compile" works for me on my Apple computer, under SIERRA 10.12.6. _

And I use Mac OS X's Calculator (here, in Programmer Mode).


programmer-calculator-mac-610x587.jpg
 
Under Mac OSX, the problem is that I end up with several choices of KSP synthax after different versions and updates. It's strange _
Still happy that I don't develop very complicated Instruments. :sneaky:


native-instruments-kontakt-5-2615329.jpg
 
Under Mac OSX, the problem is that I end up with several choices of KSP synthax after different versions and updates. It's strange _
Still happy that I don't develop very complicated Instruments. :sneaky:
Just remove them and install the latest.
--> Prefs browse pkg.
Remove all the KSP's
Restart app and then install KSP pkg again.
Best of luck!
/Anders
 
Make this a sticky Mike if you haven't already. I've gone through this 3 times over the years and it's always a headbanger.

Also thanks for the "Calculator and Increment Selection", I didn't know about them. :)
 
Thank you so much for your explanation, everything worked fine!
Is there a way to set up KSP syntax as a default when opening up a new file? (I've been learning how to code – and only KSP – for only three weeks yet, so that preferences menu in Sublime Text is too much for me...)
 
Put .ksp extension in your file as you save it and it will automatically switch to sKSP syntax coloring.

You can also add a keyboard shortcut to switch directly to it. Go to Preferences->Key Bindings, then in the right side panel (user settings), add this bit of JSON:

Code:
    {
        "keys": ["ctrl+k, ctrl+k"],
        "command": "set_file_type",
        "args": {"syntax": "KSP.sublime-syntax"}
    },
 
Thanks! And another small thing: does anyone use F5 to compile? I'd love to use it, but the KSP add-on allows only for cmd+K, while F5 is assigned to another native function in Sublime Text ("Sort lines").
 
You can change the binding for Sort lines to something else (I think I moved it to F9), then F5 should work.
 
Something has changed in Package Control, when you click on "Install Now" it no longer takes you to the same page that you show in your video, and it no longer has the part that you copied. However, I did follow the directions there and managed to get KSP loaded.

Just thought I'd mention it in case anybody else runs into this problem.
 
Are you looking down in the right bottom corner. In this picture it shows KSP, this is where you click.
1664909305566.png
Then you get a menu where you can select KSP.
1664909364211.png


i had sublimeKSp before, i could see it in the list of languages, i was using it. BUT...
I short, i had an issue with KSP in sublime text, so i uninstalled it, then following the video i wanted to find the latest KSP version, but i don't see it in the list when i type KSP in the search box as Mike Greene does in the video.
i also went to GitHub but i don't know how to download all the folders there.
 
Top Bottom