Microsoft/monaco-editor
GitHub で見るJavascript/Typescript does not replace word (with fix)
Open
#1,979 opened on 2020年5月24日
feature-requesthelp wantedtypescript
Repository metrics
- Stars
- (14,836 stars)
- PR merge metrics
- (平均マージ 6h 26m) (30d で 15 merged PRs)
説明
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!