vscode-wl icon indicating copy to clipboard operation
vscode-wl copied to clipboard

Missing path

Open singularitti opened this issue 6 years ago • 2 comments

When I open the editor and toggle the developer tools, I find an error like this:

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5724 Activating extension 'shigma.vscode-wl' failed: missing path.
t._logMessageInConsole @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5724

I have configured the wolfram.installationDirectory to be "/Applications/Mathematica.app/Contents/MacOS". In this directory, there are 6 scripts:

$ tree                                 
.
├── MathKernel -> WolframKernel
├── Mathematica
├── MathematicaScript -> wolframscript
├── MathematicaServer -> Mathematica
├── WolframKernel
└── wolframscript

What might cause this error and how can I fix it?

singularitti avatar Jan 03 '19 06:01 singularitti

Mathematica version: 11.3.0.0 macOS version: 10.14.2 vs code version: 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a) plugin version: 1.7.2

singularitti avatar Jan 03 '19 18:01 singularitti

Sorry, I don't know what causes it. But providing that installationDirectory is meant for LSP and is currently of no use, I'll remove some code which may cause this issue.

shigma avatar Feb 16 '19 11:02 shigma