axetroy / axetroy/vscode-comment-autocomplete

[User experience] /** */ completion problem.

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Description

When I disable this extension, I can type `/**` and enter for:

```js
/**
*
*/
```

but when I enable this extension, this feature is break, like the demo below.

![demo](https://user-images.githubusercontent.com/7701575/54429662-1bc57700-475c-11e9-86d9-eaa1ed5cd398.gif)

I have to type `/**`, then `left key` to close the completion, and then `right key` and enter for what I want.

## Wanted

Don't break the original feature or give the:

```js
/**
*
*/
```

completion highest priority.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the completion behavior in VS Code with the extension disabled and enabled, using the /** example and the linked demo as reference. Trace the extension's completion handling to find where it overrides the built-in JSDoc completion; done means enabling the extension still produces the /**, *, and */ block without the extra left/right key workaround.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.