Closed WebMechanic closed 2 years ago
Thank you for the report. However, how exactly can I reproduce the problem? Please also more detailed information such as vscode version and etc...
Regards.
I was able to reproduce it.
This is not a bug, it is by design. Because this warning is caused by the VSCodeMacros extension calling the vscode API from outside the extension path, so there is no need to worry about it.
Regards.
ok, thanks. I was just puzzled 'cos the code I wrote runs perfectly well. Now I need to locate Code's API reference so I know what other fancy stuff I can do :-)
Is the following the VSCode API reference you are looking for? https://code.visualstudio.com/api/references/vscode-api
The following VSCode extension samples may be useful for creating macros. https://github.com/Microsoft/vscode-extension-samples
Hello,
I am very happy to have found this extension as it simplifies tasks that were built into other editors I used before.
I adopted one of the examples and noticed the follwing in the "Extension host" log window upon VSCode startup (line breaks added)
This is in the "global" part of my file
I am not very proficient in VSCode's API so it's likely I am doing it wrong and the line needs to go someplace else; or sth. is missing from your Gist example which I used as a blueprint.
If this isn't a "bug", any help would be appreciated :-)
Thank you.