Microsoft/monaco-editor
Voir sur GitHubJavascript/Typescript does not replace word (with fix)
Open
#1 979 ouverte le 24 mai 2020
feature-requesthelp wantedtypescript
Métriques du dépôt
- Stars
- (14 836 stars)
- Métriques de merge PR
- (Merge moyen 6h 26m) (15 PRs mergées en 30 j)
Description
monaco-editor version: 0.20.0
ISSUE: If completing cons|ole.log() with caret at pilene the completion becomes consoleole.log() (should just be console.log())
FIX: In https://github.com/microsoft/monaco-typescript/blob/master/src/languageFeatures.ts#L276 the completion goes getWordUntilPosition - it should be getWordAtPosition
Thanks!