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

Implement blank operations #25088

Closed
r3wt opened this issue Apr 20, 2017 · 6 comments
Closed

Implement blank operations #25088

r3wt opened this issue Apr 20, 2017 · 6 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@r3wt
Copy link

r3wt commented Apr 20, 2017

Please consider implementation of the following features, shown here in notepad++.

image

the tab to space/space to tab feature is very convenient. In my case, i prefer tabs, but company style guidelines dictate 2 spaces. I can easily convert to tabs, edit a file then convert to spaces and commit changes. I like VS Code, but i would prefer to have this feature available to me in VS Code. Bonus points if you can make configurable keyboard short cuts.

@mjbvz mjbvz self-assigned this Apr 20, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 20, 2017

I believe that this already exists, try the Convert Indentation to Spaces and Convert Indentation To Tabs commands. You should also be able to assign any keybinding to these commands

@r3wt
Copy link
Author

r3wt commented Apr 20, 2017

@mjbvz so i have to ctrl+shift+p, type the name of the command i want to do and then do it? by comparison, that's alot of work, vs a compact dropdown from the edit menu option. also, i could not find either command you have referenced in the Command Pallette of VS Code.

@r3wt
Copy link
Author

r3wt commented Apr 20, 2017

i really like the editor, else i wouldn't have bothered. but this is a deal breaker. please consider this feature. editing operations belong in the edit menu, which just makes perfect sense. i will check back in 6 months and re evaluate switching my IDE. until then, its just a novelty i can only use for specific tasks, namely typescript and es6/7

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 20, 2017

Yes, vscode is built around a command flow currently and we typically only create menus for heavily used commands. Switching spaces/tabs is typically more of a one time operation.

If you need to execute the command heavily, the best option currently is to setup a keybinding for it. An extension could also bind this command to a context menu. #9285 tracks allowing easier user customization of context menus

@mjbvz mjbvz closed this as completed Apr 20, 2017
@mjbvz mjbvz added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Apr 20, 2017
@r3wt
Copy link
Author

r3wt commented Apr 20, 2017

Well, fuck you too then

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 20, 2017

@r3wt You can also quickly change spaces/tabs in the current document by clicking on the Tab Size: or Spaces: item in the status bar*

Edit: have been status bar:
screen shot 2017-04-20 at 4 17 52 pm

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants