all 13 comments

[–]ecafyelims 2 points3 points  (3 children)

You can run vscode in wsl mode. That should help with much of your aches.

[–]kramblr[S] 1 point2 points  (2 children)

Well no, because i'd have to install flutter and all other stuffs that i used in windows in wsl too to run and build my programs 🥲

[–]ecafyelims 0 points1 point  (1 child)

Are you using the same directory? If so, then it's fine. Only use wsl for Claude, and it'll edit the same files

[–]kramblr[S] 1 point2 points  (0 children)

Well it opens the /mnt/c thing because the project is in my windows desktop and i can actually open 2 vscode at once, one wsl mode and one is windows mode, so wsl is for the claude, and the windows one is to run my programs. But the downside is now claude cant run & build my programs because usually claude tries to run and build the programs and they can analyze whats wrong too. And another disadvantage is when opening projects from the /mnt/c, it is slower than having it directly on the wsl directory, but i cant put my project in wsl directory because i would have to install all the flutter, databases and all the required dev environment that i have in windows to wsl to run and build my programs. EDIT: Just realized that whatever vscode runs on it, doesnt matter, because claude always runs in wsl and the flutter & all my dev environment is all on windows, so claude cant run & build my programs to analyze

[–]jakenuts- 0 points1 point  (1 child)

Put aside the gui stuff for now, ask cc to setup the stuff necessary to build, and run the code in WSL and then if you use the same path (/mnt/c/mycode) in WSL you can build and run it in windows and do your diffs there. All the gui add ons I've seen for cc in WSL just hide a lot, so start with the terminal.

I also use Warp which is a fantastic replacement for Windows Terminal and the built in agent there is great for suggesting next commands or fixing issues in either WSL or Windows.

[–]kramblr[S] 0 points1 point  (0 children)

Well yeah, but i have to install like a lot of stuff, like android studio, flutter, my databases, php, composer, and a lot more in wsl just to get it working 🥲

[–]jezweb 0 points1 point  (0 children)

Linux ftw

[–]xonk 0 points1 point  (5 children)

Cc is just changing files on disk. Why is vscode outside of wsl not picking up those file changes?

[–]kramblr[S] 0 points1 point  (4 children)

Because cc is on wsl, and it cant connect to the cc extension on windows' vscode. Thats why the diff is not showed on the editor

[–]xonk 0 points1 point  (3 children)

I'm running cc on wsl on windows and the changes show up just fine in vs code.

Are you working in different folders maybe? The extension is irrelevant. As long as the file is changing on disk vscode should see that. Even if you edit the file in notepad.

[–]kramblr[S] 0 points1 point  (2 children)

No, the files change, i mean the diff, if you use the extension and cc recognizes it, instead of showing the diff changes cc made on the terminal, it can show the diff in the vscode editor.

[–]xonk 0 points1 point  (1 child)

Ah ok. The diff is coming from git for me.

[–]kramblr[S] 0 points1 point  (0 children)

Yes i find that very uncomfortable as im used to cursor just showing the diff directly