vscode-jumpy
vscode-jumpy copied to clipboard
Cannot read property 'setDecorations' of undefined
- Issue Type:
Bug
- Extension Name:
vscode-jumpy
- Extension Version:
0.3.1
- OS Version:
Linux x64 4.19.0-2-amd64
- VSCode version:
1.31.1
{
"activationTimes": {
"startup": false,
"codeLoadingTime": 7,
"activateCallTime": 29,
"activateResolvedTime": 0,
"activationEvent": "onCommand:extension.jumpy-word"
},
"runtimeErrors": [
{
"name": "TypeError",
"message": "Cannot read property 'setDecorations' of undefined"
}
]
}
This issue is most certainly caused by faulty access to active TextEditor instance. There are no guards agains undefined like
const editor = window.activeTextEditor;
if (editor === undefined) {
return;
}
@davidgomes This bug has been fixed in Jump.