Sublime Forum

How to compile source file

#1

I really love Sublime Text 2 and I want to use it for Software programming.

The problem is that our source files are stored on a Linux server and we all work using PuTTy to connect and Vim to edit the code. We can compile the source by executing a command in PuTTy.

I want to use Sublime Text 2 for coding (the folders in Linux are mounted so the files can be opened in Windows). But whenever I want to compile, I have to open PuTTy and compile manually which asks a lot of time. Can I automate this somehow? Like if I push a button (F8 for example) then Windows opens PuTTy connects to the Linux server with SSH goes to the correct folder and compiles the source file. Is this possible?

Thanks for any help!

0 Likes

#2

Take a look at this SO thread/post which should point you in the right direction.

:smile:

0 Likes