shigma / vscode-wl

Wolfram Language support for Visual Studio Code.
MIT License
49 stars 4 forks source link

Missing path #8

Open singularitti opened 5 years ago

singularitti commented 5 years ago

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 commented 5 years ago

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

shigma commented 5 years ago

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.