Boop icon indicating copy to clipboard operation
Boop copied to clipboard

Pressing tab inserts spaces

Open pardeike opened this issue 5 years ago • 2 comments

I would like to have a way to:

  • choose if I want to insert a tab or spaces
  • configure the amount of spaces inserted
  • indent selection with tab/shift-tab

Of course I could write a script for that but basic editing before applying a script is imho necessary.

pardeike avatar Jun 16 '20 14:06 pardeike

Thanks for the feedback! Those are definitely things I'd love to add in.

IvanMathy avatar Jun 16 '20 18:06 IvanMathy

The way I often use Boop is to copy a block of Java/Javascript/Python code from my IDE for sharing in a GH issue or in Slack/Teams with some minor tweaking. The issue is the code is often indented several layers deep but I want to sharre the code as if its standalone - having 12 spaces indented code looks odd. In IntelliJ/VSCode/TextMate/BBedit I can simply select the text and hit shift + tab (or shift + [) and move the block X levels to the left.

Boop can't do this - all other basic code editors have this feature.

nickdos avatar May 02 '25 01:05 nickdos