microsoft / microsoft/monaco-editor
[Bug] Make insertText, insertTextRules, label available for tsMode suggestions
Open
@mjbvz is already working on this.
Since Dec 13, 2023.
feature-request
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Context
- This issue is not a bug report. (please use a different template for reporting a bug)
- This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
SuggestAdapter's provideCompletionItems method of tsMode does not support
- insertText
- insertTextRules
- label
From the entry object
The code assigns name to both insertText and label. My usecase for typescript requires to rename the label while the insertion text is different. I have extended the tsWorker file to modify the insertText but it does not work here as its omitted
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.