I’m using Visual Studio 2022 (NOT Visual Studio Code) to work on a React typescript project.
(I know VS Code is more common, but I do most of my work is VS and switching to VS Code for one project is constantly disorienting, so I would prefer to be able to use one IDE for everything.)
This mostly works, except for one annoyance: when editing files, the Comment/Uncomment Selection actions don’t work. Neither the Ctrl+K,Ctrl+C
hotkey nor the actual toolbar button. Curiously, Ctrl+K,Ctrl+K
works to set a bookmark. This is true for tsx files, but also ts files, where this works fine in other projects. Something about the *.esproj
seems to disable a basic editing function.
I rely on these rather heavily for commenting, so this is pretty frustrating. How can I get these to work properly?