Build System in Sublime Text to work with Grunt - html

I need to adjust to Build Systems Sublime Text3 to work with Grunt. To compile SCSS to CSS by the keyboard shortcut ctrl + b. I downloaded the plugin, but ctrl + b does not work there. Write Build himself I can not. Lack experience. Need to write to build for hot keys ctrl + b. I would be grateful for your help and understanding.

Related

Visual Studio will not run things in browser and certain shortcuts do nothing

I'm new to JavaScript (/html in general) and to visual studio. I seem to have two different issues: I'm having trouble running code in browsers, and some of the keyboard shortcuts are broken.
I've recently installed Visual Studio 2017. Everything seems great except I need a way to test my open file. I've looked online at certain guides which tell me to configure the task runner to be able to do so. The problem is, to get to the tasks.json which I need to edit, I have to open the command palette with ctrl + shift + p, which doesn't seem to work. Additionally, I can't find any other way to open the command palette using the bar at the top nor can I find any other way to open tasks.json. Also, I noticed that I should be able to run code in browser using the "View in Browser (Google Chrome)" and "Browse With..." options under "file". The keyboard shortcut doesn't work for View in Browser, and when I click on both options, I get a dialogue box with the error "The operation could not be completed. Class not registered".
How can I set things up properly, or at least be able to properly test my code?
I think what you need is Visual Studio Code, not Microsoft Visual Studio.
Both were similar but target different programming platform.
If you want to develop web application, HTML/CSS/ts/js etc, better if you use VS Code.

How do I execute a program in Sublime Text 2?

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.

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.

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.