Ask coding questions

← Back to all posts
Is there a way i can connect replit to vs code?
h
AvadaKedavra09 (1)

So i want to ask that if there is a way , so that one can code in vs code in a replit project so the repl also gets updated.
I prefer vs code's coding environment and repl's hosting , so yeah , if anyone could help , i would be really greatful

Answered by CodingEpic (19) [earned 5 cycles]
View Answer
Comments
hotnewtop
CodingEpic (19)

Are you wanting to embed Visual Studio onto repl?
If so, you can try creating a bash repl and typing in this code

VSCODE_DEB_URL=https://az764295.vo.msecnd.net/stable/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/code_1.52.1-1608136922_amd64.deb
VSCODE=~/.apt/usr/share/code/bin/code
if ! [ -f $VSCODE ]; then 
  install-pkg $VSCODE_DEB_URL; 
fi
$VSCODE

Hope this helps,
EpicCoding1

DynamicSquid (5023)

@EpicCoding1 Oh wow, nice! Never knew you could do that!

CodingEpic (19)

@DynamicSquid You can also create a new bash project and then in main.sh type in "firefox" then hit run and see what happens (Hint: It acctually displays firefox!!!!)

DynamicSquid (5023)

I don't think there is. Replit does have git support, so you can code on VSCode, push to GitHub, and pull from Replit, but that might be a little tedious

AvadaKedavra09 (1)

@DynamicSquid ye true , i tried that before