microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 237 forks source link

Commenting/Uncommenting in TSX #721

Open idr4n opened 5 years ago

idr4n commented 5 years ago

Thanks for a great package, really enjoying all the IDE type of features and autocompletion added in this package. Please keep up the good work! 🙏

I noticed that commenting or uncommenting just add or remove the usual double forward_slash //, which doesn't work in jsx/tsx blocks. It should add/remove instead the pair {/* */}.

VSCode handles this properly for example, and for js and jsx files I installed this sublime package, but unfortunately it doesn't work with typescript files.

I'm using Sublime Dev Channel Build 3208 on Mac Mojave.

ydsdsa commented 5 years ago

See https://github.com/microsoft/TypeScript-Sublime-Plugin/pull/314

aloeugene commented 4 years ago

Looks like I'm having the same issue. And it doesn't seem to be fixed in #314 @ydsdsa.

My ST3 version:

image