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

Indent/Unindent Selected Lines #266

Merged
merged 10 commits into from
Oct 12, 2024
Merged

Indent/Unindent Selected Lines #266

merged 10 commits into from
Oct 12, 2024

Conversation

tom-ludwig
Copy link
Member

@tom-ludwig tom-ludwig commented Oct 5, 2024

Description

New Shortcuts:

  • tab increases indention level
  • tab decreases indentation level
  • ] increases indention level
  • [ decreases indentation level

The keyboard shortcuts also work with multiple cursors.

Blocker:
1. The functions aren't connected to the editor's settings, meaning the space count is hardcoded to 2 spaces for now.
2. In the current implementation, the user cannot use the Tab key as expected.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code
  • I've added tests

Screenshots

@austincondiff austincondiff force-pushed the feat/220/indentl-lines branch from 07450fa to 63e644a Compare October 8, 2024 12:43
tom-ludwig and others added 3 commits October 10, 2024 11:44
@austincondiff austincondiff merged commit 1b54e15 into main Oct 12, 2024
2 checks passed
@austincondiff austincondiff deleted the feat/220/indentl-lines branch October 12, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ Indent selected lines
3 participants