Ctrl + ] does not indent the whole line

Problem description: Ctrl + ] only adds the indentation (e.g. 4 spaces) to the end of the line, and not to the full line

Expected behavior: This should indent the 4 spaces at the start of the line

Actual behavior: Adds 4 spaces to the end of the line

Steps to reproduce:

  1. press ctrl + ]

Bug appears at this link:
https://replit.com/@Coder100/TypingWarmUpSite#index.html

Browser/OS/Device:
Chrome Windows

1 Like

Try doing tab. Does that work?

2 Likes

It’s just Tab. Not Ctrl + Tab.
Unindent would be Shift + Tab.

3 Likes

lol sorry my bad :rofl::rofl::rofl:

2 Likes

I don’t think you understand the issue at hand here.

I made no mention of ctrl + tab

I mean ctrl + ] and ctrl + [, which are two shortcuts that replit supports but implements incorrectly.

I was replying to @JayAySeaOhBee14. As we suggested, try using Tab as a replacement for Ctrl + [.

1 Like

I’m saying, does using Tab or Shift+Tab work instead?

1 Like

yes tab and shift + tab do work, but I would like to see ctrl + [ and ctrl + ] to be implemented properly because they are shortcuts that exist and that’s why I’m making a bug report.

A super useful feature of ctrl + ] is you can run it anywhere on the line, without having to select the line, which tab doesn’t have (and shouldn’t have).

1 Like