You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode already has the following very useful commands:
Transform to Uppercase
Transform to Lowercase
Transform to Title Case
It would be very useful to also add a similar command to "Transform to snake_case" that transforms the selected text to lowercase after adding underscore characters between each lowercase / uppercase character pair.
For example it should transform the text ExampleOne and Also ExampleTwo to example_one and also example_two.
Maybe consider also adding other variations like "Transform to kebap-case" to adds dash characters instead of underscore characters. There are many (currently 71 results for "snake case") extensions providing this or similar functionality and other variations thereof.
Reacted by Miguel Núñez Díaz-Montes, Sergey Gnuskov, Chris Tse, Matteo Guarda, rawtaz, Dmytro Sadovnychyi, Joshua Arulsamy, aplotor, Gregor Seifer, Joe Paris and 16 more
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
I'd argue that this is something that could be useful in stuff like Python linters, but doesn't need to be built-in. Snake case is really something that is dependent upon language, and a lot of people don't work in a language that makes heavy use of it.
One of the strong suits of VS Code is that it is leaner and customizable with lots of extensions. Building in too much generic functionality ends up with something bloated in the long run. We don't want that.
Reacted by Joe Paris, Amit Beckenstein and hnOsmium0001
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Activity
vscode-triage-bot commentedon Jul 21, 2020
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
bmreading commentedon Jul 21, 2020
I'd argue that this is something that could be useful in stuff like Python linters, but doesn't need to be built-in. Snake case is really something that is dependent upon language, and a lot of people don't work in a language that makes heavy use of it.
One of the strong suits of VS Code is that it is leaner and customizable with lots of extensions. Building in too much generic functionality ends up with something bloated in the long run. We don't want that.
vscode-triage-bot commentedon Sep 10, 2020
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vscode-triage-bot commentedon Sep 18, 2020
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
a5hk commentedon Nov 14, 2020
Alexandru Dima (@alexdima) Would you accept a PR for this?