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

impr: backspace into last line for code languages (@notTamion) #5991

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

notTamion
Copy link
Contributor

When using a code language that has tab characters as indentation and you backspace into the indentation, the entire indentation will now be deleted and you will be set back to the end of the previous line. This is how all Jetbrains ides and also a lot of other ides do it. We could add a config option for this if someone wants one (i wasn't really able to come up with a good name for one).

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Oct 28, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

This PR is stale. Please trigger a re-run of the PR check action.

@github-actions github-actions bot added the Stale Has not been updated in a while label Nov 4, 2024
@Miodec
Copy link
Member

Miodec commented Nov 6, 2024

Not sure i like this change, I've never used a code editor that does what you described.

@notTamion
Copy link
Contributor Author

Hmm i mostly use Jetbrains Ides (i assume you use vsc then?) I can add a setting to change this then

@monkeytypegeorge monkeytypegeorge added the packages Changes in local packages label Nov 6, 2024
@github-actions github-actions bot removed the Stale Has not been updated in a while label Nov 6, 2024
@Miodec
Copy link
Member

Miodec commented Nov 8, 2024

I would change the setting to "code unindent on backspace" and have the settings be on or off (so, a boolean). The setting description could also use some work so that its easier to understand. The default value should be off.

@Miodec Miodec added the waiting for update Pull requests or issues that require changes/comments before continuing label Nov 8, 2024
@github-actions github-actions bot removed the waiting for update Pull requests or issues that require changes/comments before continuing label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend User interface or web stuff packages Changes in local packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants