Repository navigation
Better integration with VSCode #2187
Replies: 2 comments
|
Hey @stevefan1999-personal ! Sorry for hanging this so long, but we wrote a guide on how to use VSCode with DevSpace: https://devspace.sh/docs/ide-integration/visual-studio-code . If losing extensions and data is a problem after restarts, you can use the persist paths option to persist certain folders in a persistent volume: https://devspace.sh/docs/configuration/dev/modifications/persistence . |
|
Hi. New to devspace. Kinda surprised there still didnt seem to be easier to use integration for local dev purposes.... https://github.com/ppbrown/vscode-rancherdesktop-sampleworkflow Basically, its' an integration of rancher desktop(which provides local kubernetes& a UI) + devspace + vscode. You then have an easy to use dev environment in VSCode, with buttons to integrate with your app (Sample app provided in repo): [ ▶ Continuous Deploy, () Deploy Once, 🌐 Open App, ()DevSpace UI, 🗑 Remove ] This should work for Windows/Linux/MacOS desktops equally. Hope people find this useful. |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
Let's say I was looking to use start a Devspace dev environment on my low power MBA (well it is a few years ago), so I can work it out on the go. Right now you just setup SSH and then use the VSCode remote extension which is being quite obviously. However I don't know how to keep VSCode Remote state and cache the dev instance and I expected to lose extensions on the moment I tear down the dev instance. It will also have to reconfigure so it's quite painful.
Which solution do you suggest?
Just give a more comprehensive guide on this matter, or even propose on making an extension for this, say like Gitpod and more recently GitHub Codespace, they both allowed to start the dev container with a custom additive Dockerfile/Nix derivative, or how to upload the dotfiles (Like individual Git username and email and stuff).
Which alternative solutions exist?
Okteto. They offered an extension exactly like what I described. However I don't like them being too anal about their Okteto Cloud product, and so I still have to turn around.
Additional Context
I have experimented with VSCode Remote server, and I was greeted with this:
I reached out to the PWD of the node executable, and it is obviously something wrong:
Since I'm running Alpine, I tried my luck on gcompact and friends
And it seems like it worked!
I'm not sure if anything would crash, but I would say this is the crucial first step.
All reactions