Open baronleonardo opened 1 month ago
I think we need a startup script that enables the SDK similar to this: https://github.com/Lctrs/jetbrains-flatpak-wrapper/blob/master/jetbrains.sh#L51-L74
flatpak override --user dev.zed.Zed --env=ZED_FLATPAK_NO_ESCAPE=1
should be enough to make it the default for your user. I don't want to use anything from my host I want to use the SDKs from flatpak
What is the detailed rationale for that usage?
hmmm, that's how I develop, and that how I keep my system clean all the tools I need is withing flatpak, whatever it is a binary or sdk if I need an extra library, I simply compile it
It's a somewhat light rationale for a change that introduce serious downsides to the zed flatpak behavior (cf. follow up PR comments) by using existing tools ;-). Even if done without introducing breaking change. A proper integration would require to make a lighter zed dedicated wrapper.
this is the same behavior I get from vscode, micro, vim, ... the only IDE/text editor I know that doesn't support it is zed and that is ok, it is still in the beginning of flatpak support anyway for me (at least) this is an important feature that prevent me from using zed
I doubt the maintainer will accept the PR with the current issues raised during testing (as a maintainer, I'll not). Integration is still doable but will need to implement a dedicated shell wrapper, and I do not have that time at the moment.
I used this env
ZED_FLATPAK_NO_ESCAPE=1
andFLATPAK_ENABLE_SDK_EXT=llvm15
, but the later was never recognized (the terminal doesn't see clang at all)