Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Linux distribution and version
Debian 9 strecth
Description of the problem
Haxe is available in /usr/bin/ so I guess vscode should detect it.
Steps to reproduce
Adding --filesystem=/bin/ access to vscode ? Are there any reasons for not doing this ? What would be the work around.
Probably the real issue
Ok so I found out that the installation of Vscode considers only some apps in the /usr/bin/*.
So if you do in the integrated terminal of vscode:
It will work. But if you do:
It won't work saying
This behavior seems weird. I thought at first that it could be because haxe is a x-sharedlib but python is the same and it works.
Does the manifest determine what apps from usr/bin/ can be added ? Is there a way to tell it to use everything or just some apps.(looked in the docs and doesn't seem so)
The main feature of Flatpak is sandboxing and there is no way to disable it.
For reference, I am using fedora silverblue with toolbox and I added the following to my settings:
"terminal.integrated.shellArgs.linux": [ "/var/home/thiblahute/bin/my-devtools/vscode-enter" ],
where the vscode-enter script contains:
#!/bin/sh flatpak-spawn --host toolbox enter
This actually works pretty well for me :-)