flatpak-vscode
flatpak-vscode copied to clipboard
No Flatpak manifest found in this workspace
2023-12-29 20:02:10.883 [error] Error: No Flatpak manifest found in this workspace.
at ManifestManager.<anonymous> (/home/lorenzo/.vscode/extensions/bilelmoussaoui.flatpak-vscode-0.0.36/out/manifestManager.js:214:23)
at Generator.next (<anonymous>)
at fulfilled (/home/lorenzo/.vscode/extensions/bilelmoussaoui.flatpak-vscode-0.0.36/out/manifestManager.js:5:58) flatpak-vscode.build-and-run {"value":"bilelmoussaoui.flatpak-vscode","_lower":"bilelmoussaoui.flatpak-vscode"}
From the same folder, GNOME Builder runs just file
I dug a little deeper on this. Apparently, the issue seems to be the fact that, for some reason, Code is not activating the extension:
bilelmoussaoui.flatpak-vscode, startup: false, activationEvent: 'workspaceContains:**/*.{json,yaml,yml}'
The manifest may also be a good start. Is it possible to show it here, including the file name?
Any updates on this one?
Any updates on this one?
Not really, it still happens but I don't know why
Yes but we would need a way to reproduce it like sharing the manifest with us or the project itself if it is open source.
FYI I am experiencing this on a clone of https://github.com/sonnyp/Workbench But I can't reproduce with a new fresh clone
I'm having this issue persistently too. I don't know what exactly I changed. but Flatpak VSCode will now consistently ignore my build manifest until I move it to a separate directory and then move it back while VSCode is running.
This is extremely challenging because it means that Flatpak VSCode will now then recompile everything.
This could potentially be fixed by adding a command to manually re-lookup manifests in the project.
I realized that simply by renaming the file is enough to trigger a rescan
Yeah but that triggers a rebuild of all the modules
Le lun. 15 juil. 2024 à 10:14, Lorenzo Paderi @.***> a écrit :
I realized that simply by renaming the file is enough to trigger a rescan
— Reply to this email directly, view it on GitHub https://github.com/bilelmoussaoui/flatpak-vscode/issues/229#issuecomment-2227932090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB5FCIHTRPPCPDVWR2BLSTZMOAHRAVCNFSM6AAAAABBG5OTQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXHEZTEMBZGA . You are receiving this because you commented.Message ID: @.***>
I think https://github.com/bilelmoussaoui/flatpak-vscode/pull/239 should fix the issue for you.