Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Antlers Language Server keeps crashing #74

Closed Sennik closed 1 year ago

Sennik commented 1 year ago

Describe the bug Antlers Language Server keeps crashing on my system

Impacted Products Which Antlers Toolbox products does this bug apply to?

Versions and Other Plugins/Extensions Latest versions of Visual Studio Code and Antlers Toolbox

To Reproduce Simply install both products.

Expected behavior That Antlers Toolbox works without errors.

Additional context I removed Visual Studio Code and deleted all the relevant VSCode directories according to this page: https://debug.to/1074/how-to-uninstall-vs-code-completely

After rebooting the PC and installing Visual Studio code and Antlers Toolbox the error is still there...

Begin of the error output:

node:fs:1444
  handleErrorFromBinding(ctx);
  ^

Error: ENOTDIR: not a directory, scandir 'x:\example\resources\blueprints\collections\footer_menu\footer_menu.yaml'
    at Object.readdirSync (node:fs:1444:3)
    at t.readdirSync (node:electron/js2c/asar_bundle:2:10837)
    at getFiles (c:\Users\username\.vscode\extensions\stillat-llc.vscode-antlers-2.6.6\server\out\projects\fileSystemProvider\fileSystemStatamicProject.js:121:22)
... etc