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

Allow indentation with spaces #62

Closed
WebCoder49 opened this issue Oct 24, 2023 · 0 comments · Fixed by #63
Closed

Allow indentation with spaces #62

WebCoder49 opened this issue Oct 24, 2023 · 0 comments · Fixed by #63

Comments

@WebCoder49
Copy link
Owner

This should allow the indent plugin to take in an optional number-of-spaces parameter; setting it to 0 or not setting it (for backwards compatibility) should use tabs. This seems important because both CodePen and VS Code use spaces as indentation, as well as the Google JS Style Guide, etc. Functionality involves:

  • Making tab key presses generate correct numbers of spaces
  • Make the enter key processor use these space indentations
  • Make the backspace key presses delete whole indentations at once

Please give a thumbs up below if you agree this should be an option or comment if you have any suggestions / questions.

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 a pull request may close this issue.

1 participant