javascript - How do I indent my code with the tab-space key? -
for example, how can type js code looks firefox console:
if (10 > 5) { alert("hello world!"); alert("how doing today?"); alert("i'm doing great, thanks!") }
without resorting using space bar or operating system's clipboard?
i'd able use tab key indent code in firefox console. whenever press tab, firefox goes through elements of browser , web page without indenting code.
i'm using console provided ctrl+shift+k
shortcut.
you use scratchpad. better-designed multi-line code editing, , supports using tab character indent code.
you can find under developer tools menu. tools > web developer > scratchpad on os x, , menu > developer > scratchpad on other platforms.
you can add toolbox under toolbox options (the settings gear), , checking scratchpad checkbox.
Comments
Post a Comment