ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.66k stars 1.22k forks source link

[Suggestion] Add suport for flatpak applications #2854

Open solecram opened 10 months ago

solecram commented 10 months ago

Hello, I would like it to be added (or even shown) how I could run the extension alongside Flatpak applications (Chrome, Firefox). I apologize for not being as precise, but that's it.

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ x ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->
paru-de commented 10 months ago

Hey,

I was looking for the same functionality and found that this is already possible. In settings, search for liveServer.settings.AdvanceCustomBrowserCmdLine and click on Edit in settings.json. You can then put in any flatpak app name. For example, Google Chrome opens with com.google.Chrome. You can find the correct app name with flatpak list.