inky icon indicating copy to clipboard operation
inky copied to clipboard

Feature: auto white-space menu action

Open joningold opened this issue 4 years ago • 1 comments

The idea being you can select a block of ink code and hit the buton, and it'll auto-format it to tab/indent the weave blocks correctly. To make it easier to spot errors.

joningold avatar Sep 18 '20 12:09 joningold

Additionally, if we have something like that, a smart indent / outdent feature would be amazing for refactoring weave. So you select a block, and hit outdent, and all the * *'s become *'s, etc. (And if there are any *'s the action fails silently, maybe, so you don't "flatten" weaves accidentally.) This'd be useful for moving sub-weave blocks out into their own knot when they get big, as you could cut-paste-outdent.

joningold avatar Sep 18 '20 12:09 joningold