I find myself typing javascript in the console alot. For example I quickly want to see the result if I change the propery of a certain object. However everytime that I refresh the page I have to re-define my variables etc. I do this by using the up-key so I do not have to retype but this costs alot of time. I was wondering how other people do this?
The ultimate coolness would be an environment like sublime text in which you can write multi line code and from there execute it directly in the browser... And than still have the autocomplete list of all the methods of an object (like in the console). Obviously this is not available, but I am very interesting in the workflow of other when typing javascript in the console.
Text. app is a simple text editor for Chrome OS and Chrome. It's fast, lets you open multiple files at once, has syntax highlighting, and saves to Google Drive on Chrome OS.
In Chrome 24's Sources
panel, use the Snippets
tab. Right-click in the left (blank) tree and choose New
from the context menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With