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

Indentation feature request for "Space" key #22637

Closed
vscpp opened this issue Mar 15, 2017 · 6 comments
Closed

Indentation feature request for "Space" key #22637

vscpp opened this issue Mar 15, 2017 · 6 comments
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality
Milestone

Comments

@vscpp
Copy link

vscpp commented Mar 15, 2017

  • VSCode Version: 1.10.2
  • OS Version: Win7/Win10

Steps to Reproduce:

  1. Select multiple lines c code
  2. Press "Space" key. The code are deleted. -> I just want to code indents a line, not delete code.

Will you support this feature? It's helpful for coding. Thanks.

Microsoft/vscode-cpptools extension doesn't support this feature, so file the request here.
microsoft/vscode-cpptools#552

@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented Mar 15, 2017

@vscpp said Source Insight supports this feature. I was thinking an extension could implement this via workspace/applyEdit in the didChange, but I don't think it belongs in the C++ extension. VS Code supports indenting multiple lines via increments of a tab, but not a single space.

@alexdima alexdima added feature-request Request for new features or functionality *extension-candidate Issue identified as good extension implementation editor labels Mar 27, 2017
@alexdima
Copy link
Member

workaround:

  • make a multiline selection
  • split it into multiple cursors (shift+alt+i)
  • press Home to go to the line starts
  • press Space to insert a space on each line

@sean-mcmanus
Copy link
Contributor

Cool. Thanks, that workaround works.

@alexdima alexdima added this to the Backlog milestone Mar 28, 2017
@alexdima alexdima removed their assignment Mar 28, 2017
@pettomartino
Copy link

👍 vote for this feature

@usernamehw
Copy link
Contributor

IDK Indent one space

@alexdima
Copy link
Member

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants