microsoft / microsoft/TypeScript-Sublime-Plugin

Auto comment generation

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

Nobody has claimed this yet.

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

Description

Hi,

Is there a way the plugin can generate comments? For example I would like to be able to type:
/**[hit enter ENTER] on top a function/class/interface and get some comment generated based on the object that the comment is placed up on.
Any advice?

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

Start by tracing how the Sublime plugin invokes TypeScript language services and handles Enter inside a comment trigger such as /**. Define the supported function, class, and interface cases, then verify that generated comments appear for each requested object without disrupting normal editor input.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.