bmalehorn / vscode-fish

Fish syntax highlighting and formatting
MIT License
62 stars 6 forks source link

VSCode flatpak #48

Open breningham opened 3 months ago

breningham commented 3 months ago

Hi there,

Attempting to use this extension in the VSCode Flatpak distribution, and it doesn't work as expected, i think this is due to the sandboxing flatpak provides.

what i have tried is setting the following settings:

  "fish.path.fish": "host-spawn fish",
  "fish.path.fish_indent": "host-spawn fish_indent"

however this does not work.

for what it's worth, this is how i launch fish shell from vscode:

"fish": {
      "path": "/app/bin/host-spawn",
      "args": ["--env=SHELL=fish", "/usr/bin/fish"],
      "overrideName": true
},

and this works to spawn the terminal - so im not too sure as why this isn't working.

i have seen #33 - but i don't believe this is relevant as its not possible to install fish into a flatpak - it's not a distribution.