[GH-ISSUE #2185] [feature]: tabs in code/json editors #742

Closed
opened 2026-03-16 16:59:17 +03:00 by kerem · 3 comments
Owner

Originally created by @sawa-ko on GitHub (Mar 22, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2185

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Currently when you press the Tab key on the keyboard what hoppscotch does is to jump to another input and then it would be great if instead of doing that it would be like the code editors like VS Code, Sublime, etc. that what they do is add a space and do not select another text input.

Also that you could choose whether to add Tabs or Spaces and how many of each in number.

Why should this be worked on?

Because it would be very convenient when it comes to writing code and not having to press the prettify button every time to have a tidy code.

Originally created by @sawa-ko on GitHub (Mar 22, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2185 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary Currently when you press the Tab key on the keyboard what hoppscotch does is to jump to another input and then it would be great if instead of doing that it would be like the code editors like VS Code, Sublime, etc. that what they do is add a space and do not select another text input. Also that you could choose whether to add Tabs or Spaces and how many of each in number. ### Why should this be worked on? Because it would be very convenient when it comes to writing code and not having to press the prettify button every time to have a tidy code.
kerem 2026-03-16 16:59:17 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Mar 22, 2022):

I've added these key press events on editors:

  • Tab = insert tab space
  • Selection + Tab = indent more
  • Shift + Tab = indent less
<!-- gh-comment-id:1074684072 --> @liyasthomas commented on GitHub (Mar 22, 2022): I've added these key press events on editors: - <kbd>Tab</kbd> = insert tab space - Selection + <kbd>Tab</kbd> = indent more - <kbd>Shift</kbd> + <kbd>Tab</kbd> = indent less
Author
Owner

@sawa-ko commented on GitHub (Mar 22, 2022):

@liyasthomas how is it activated?

EDIT: nvm, I see the commit

<!-- gh-comment-id:1074685787 --> @sawa-ko commented on GitHub (Mar 22, 2022): @liyasthomas how is it activated? EDIT: nvm, I see the commit
Author
Owner

@liyasthomas commented on GitHub (Mar 22, 2022):

I've added these key press events on editors:

  • Tab = insert tab space
  • Selection + Tab = indent more
  • Shift + Tab = indent less

Hi @kaname-png, please wait a few more minutes to finish our build processes and pipelines that will push the latest code to our production server. 10 mins max.

Here's our ongoing actions: https://github.com/hoppscotch/hoppscotch/actions, https://github.com/hoppscotch/hoppscotch/actions/workflows/deploy-prod.yml

<!-- gh-comment-id:1074686869 --> @liyasthomas commented on GitHub (Mar 22, 2022): > I've added these key press events on editors: > > * Tab = insert tab space > * Selection + Tab = indent more > * Shift + Tab = indent less Hi @kaname-png, please wait a few more minutes to finish our build processes and pipelines that will push the latest code to our production server. 10 mins max. Here's our ongoing actions: https://github.com/hoppscotch/hoppscotch/actions, https://github.com/hoppscotch/hoppscotch/actions/workflows/deploy-prod.yml
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#742
No description provided.