microsoft / microsoft/TypeScript-Sublime-Plugin

Commenting/Uncommenting in TSX

Open
#721 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce commenting and uncommenting in a TSX file using the Sublime TypeScript plugin, then locate the plugin entry point that handles comment toggling. Confirm that JSX/TSX blocks use the requested brace-and-comment form and that existing JavaScript behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.