Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert tab keys to whitespace characters in the Code Editor #8773

Closed
kevjt opened this issue May 7, 2024 · 1 comment
Closed

Convert tab keys to whitespace characters in the Code Editor #8773

kevjt opened this issue May 7, 2024 · 1 comment
Assignees
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time

Comments

@kevjt
Copy link

kevjt commented May 7, 2024

A lot of editors these days, such as VSCode, have built-in behaviour to convert tab presses into whitespace.
While just about every language allows whitespaces for indentation, not every allows tabs - the notable one being YAML.

Users of today's code editor in Octopus can't rely on pressing tab to indent their YAML code as it will not conform to the YAML syntax standard. Instead they have to either rely on other tools to convert those tabs to whitespaces (which detracts from the usefulness of having a code editor in Octopus), or they have to indent using the spacebar which is more tedious.

The code editor in Octopus should bind tab key presses to equivalent whitespace spacing instead. This will bring the experience of the code editor more in line with other popular editors.

@kevjt kevjt added the kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time label May 7, 2024
@kevjt kevjt closed this as completed May 7, 2024
@Octobob
Copy link
Member

Octobob commented May 16, 2024

🎉 The fix for this issue has been released in:

Release stream Release
2024.2 2024.2.7852
2024.3+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Projects
None yet
Development

No branches or pull requests

2 participants