LiveScript icon indicating copy to clipboard operation
LiveScript copied to clipboard

Option for make tab to indent in Livescript.net

Open ceremcem opened this issue 9 years ago • 3 comments

I use Livescript.net heavily when I want to show something to a friend. Since I can not use TAB to indent a block, indenting with space bar becomes frustrating. Can we place a checkbox in order to switch to a mode that will indent selected block when we press TAB button?

ceremcem avatar Jun 05 '16 00:06 ceremcem

IIRC someone mentioned about having ACE in livescript.net before, but the idea was rejected then because a maintainer (forgot who) wanted to keep mobile download size lean.

That said, I am thinking about having an optional ACE editor that loads on demand.

summivox avatar Jun 08 '16 23:06 summivox

Yes, I recall a conversation something like that. But in this case I only propose to have only TAB to indent... That won't add extra load except for a few bytes.

ACE editor that loads on demand would be another great option.

ceremcem avatar Jun 09 '16 07:06 ceremcem

I think there was a pull request which was rejected by gkz because it had a copy of the whole ACE repo in it. Doing it a leaner integration with the compiled ace.js might get accepted.

igl avatar Aug 02 '16 12:08 igl