How do I execute a program in Sublime Text 2? - sublimetext2

I know this is terribly simple. I'm on Windows 10. I have tried Enter, CTRL-Enter, and others. I have created a JS build environment using Node, but I just can't seem to run code and get any output.

You need to install Terminal. You need to have Package Control first.
Sublime Text is a great editor.

Related

Trouble Installing SublimeLinter

I've been trying for the past half hour to install SublimeLinter, but to no avail.
I've thoroughly been following the instructions here, but I don't have the same screen that they describe.
When I type linter into Package Control, I am not getting the results the say I should.
Here's a screenshot.
Does anyone know what they may have forgotten to metion?
The directions you are trying to follow are for SublimeLinter 3, which is only available for Sublime Text 3. Since you're using ST2, please follow the instructions here for information on how to install and set up the plugin.

Creating a new project/site in Githubs Atom Editor

I've downloaded Githubs Atom Editor and I can't seem to figure out any way on creating projects.
I currently use Sublime Text 3, I've added some packages to it which allow FTP and I'm able to create Directories and sites as it has a built in Project Manager.
I've been looking over the internet for a while now and can't find any help from the following.
Does Atom have a built in FTP?
How to create projects/sites like in Sublime Text 3?
Does everything sync to your Github?
Apologies is this has been asked or seems irrelevant but I am looking for assistance in using the new Atom Editor.
Out of the box atom does provide some project view if you open (⌘O) a directory instead of a file:
I've recently been trying new editors as well. I have been switching between Atom, Brackets, and Sublime Text 3. They have many similarities, as you probably have noticed. Atom doesn't come with very much out of the box, just like Sublime Text, but just like Sublime Text it's highly extendable using its built in package manager.
Atom's Package Manager is found in the Preferences (⌘,). Then select the Packages tab on the left.
Currently there isn't an ftp package, but chances are it's only a matter of time. If you're using FTP for deployment git provides a much better/safer workflow with not a whole lot of overhead to get set up....But that's another topic I won't dive into here.
There are a couple pretty nice project manager packages that would give you a similar experience to Sublime Text's projects:
As far as git integration goes it's a similar situation to project management. It has a few nice features built in (Open in Github, highlighting files with pending changes, etc...), but there are a few nice packages that can really make Atom's git integrations pretty verbose.
Hope this helps, good luck

Exporting Sublime Text configuration and installed packages

I have spent considerable time to tune up Sublime Text 2 configs. Now I would want to share my configurations (one file) and installed packages list with my friend. What would be the best way to do this? Manually pick related folders in Packages and zip them or something else? Preferably I'd like to create an automated script which could be copy-pasted to my friend and others.
My friend is using Linux. I am using OSX, which may cause some extra problems.
If you are using Package Control, send your friend Package Control.sublime-settings. In fact, the easiest way to transfer settings between machines is to move the User package between machines. This, in combination with package control, makes setting up on a new machine relatively quick and painless. The only issues your friend might have is mismatched key binding or other system specific settings. These files have the notation some_name (platform).extension. Other than that, I wouldn't forsee any issues (unless you are using OS X specific plugins).
Package control has a good doc talking about how to sync Sublime settings and install packages: https://packagecontrol.io/docs/syncing
Using Windows
Open a new Command Prompt and type the following at the command line:
cd "C:\Users\<name>\AppData\Roaming\Sublime Text 3\Installed Packages" dir
Then copy and paste to an editor (e.g. Sublime Text) and filter out the relevant parts. Not great but working.

Library manager for Sublime Text 2

Is there a library manager for Sublime Text 2? I'm looking for something similar to NuGet where I can, for example, load all files for Bootstrap into my current project in a few, quick steps.
I found NetTuts fetch, which is nice, but not very efficient. If I wanted to load dev and prod versions of Bootstrap, I would have to create multiple files and fetch into each of them. Instead, I would like to run a single command to load all of the files into my project.
I found Bower. Here is the plugin for Sublime Text 2.
Similar question: A package manager for web assets

Run a program in a new window with sublime text 2

I'm programming using Sublime Text 2 and I was wondering if there is a way to run programs in a new window. For a while I was using Geany as my python editor and when I would run a program, the program would start in a window called geany_run_script.sh. Is there a way to acheive what I would like? Thanks.
(If it helps, Im running Linux and programming with Python)
If by window you mean a new tab/buffer then this:
https://github.com/vhyza/exec-in-window
is exactly what you want. You can get it via Package Control.