jastoys.blogg.se

How to make google chrome default browser sublime text
How to make google chrome default browser sublime text












how to make google chrome default browser sublime text

The arrow keys will either move the cursor around, or cycle through the history of executed commands.

how to make google chrome default browser sublime text

Hitting the return key will either insert a new line or execute the current code, depending on your cursor position. The reason this interface is bad for editing is that the return and arrows keys have been overloaded. As one of the main reasons for using a REPL is exploration, or just trying things out, editing is one of the most important functions. This is because while it provides an ok interface for writing code, it is not very good for editing it. While you can type into the console in a browser, and it is OK for writing something very short, as soon as you want to write something a tiny bit more complicated it can become tedious. For more info see the ChromeREPL Package Control Page. The plugin is distributed via Package Control, so install from inside Sublime Text. REPLs are a super useful programming tool for everything from checking syntax without having to look up the documentation ( “does this function return an array or a generator?”) to poking and prodding your running program, trying things out without having to recompile/refresh your program, losing all current state. This isn't to say that REPLs are actually good, they are just a tiny nugget of what an actual "live" environment for programming such as Smallltalk can do. ChromeREPL is a Sublime Text 3 plugin that connects your Sublime Text tab to a Google Chrome tab and lets you execute JavaScript in the console.














How to make google chrome default browser sublime text