How do I reformat HTML code using Sublime Text 2?
I’ve got some poorly-formatted HTML code that I’d like to reformat. Is there a command that will automatically reformat HTML code in Sublime Text 2 so it looks better and is easier to read?
I’ve got some poorly-formatted HTML code that I’d like to reformat. Is there a command that will automatically reformat HTML code in Sublime Text 2 so it looks better and is easier to read?
Right now, I am working on a project using ReactJS in Sublime Text. Whenever I hit enter in between the parentheses it would break to another line and add an extra space. Here’s an example:
I justed started learning JavaScript. While doing that, I got tired of embedding my JavaScript code into an HTML document in order to run it in the browser. I thought it would be nice to just run my scripts right in Sublime’s console, so I wouldn’t have to leave the editor. Therefore I was trying to create a JavaScript build system, since Sublime doesn’t come with one.
I used Sublime Text 2 to download the nodejs package (https://github.com/tanepiper/SublimeText-Nodejs), but I can’t seem to find a way that will restart or stop the server besides my having to go into the task manager and killing the process. When using the command provided by the plugin to run the file with node, it doesn’t … Read more
How would you run node app with sublime text? Like this, open the file app.js in sublime, go to menu->tools->build, and it just runs. Simple like that
I use Sublime Text 2 but it won’t let me enter any value when my code asks for user input. (In other words: input() in Python and gets in Ruby fail to correctly prompt me for input). Python throws an EOFError error (what you get when user doesn’t enter anything). Simply USER INPUT isn’t working … Read more