So for the last two years, I've been using Replit for all my Python projects. This is because you can code on it and host your website at the same...
For further actions, you may consider blocking this person and/or reporting abuse
You can use both VSC and Replit. That's what I do. I put all of my code on GH. If I don't want people to see it, I use a private repo.
Also, you could use this extension to connect to your repls - marketplace.visualstudio.com/items...
And if you join the GH Codespaces you can create a VSC instance on the web to code in. If you've enabled Settings Sync, it will automatically install your extensions, settings and themes to be what you use in the app.
Join the Codespaces beta here - github.com/features/codespaces/signup
To be honest, I prefer VSC over Replit. Both are really good, but Replit isn't quite good enough for my needs as it's not very customisable and it's slow. And as you mentioned, the GH integration is awful.
Returning to this a few months later, I completely disagree with my statement. I now prefer Replit over VSC. Sure, VSC still does some things better, but Replit is really improving and it is so much more convenient and it doesn't eat up RAM like VSC does.
Think differently now after the new changes?
A little. Replit's IDE is improving and is more convenient though. Although I don't agree or like all of the recent changes, I'm in quite a few betas and I'm trying to be optimistic for the future! I'll have a post coming out soon about my thoughts on the state of Replit.
Ah okay, looking forward to the post!
👋 @vulcanwm @dillonb07 This is Xiaoyi, Engineer from Replit.
@vulcanwm Excellent review! I'm a user of both Replit and VS Code, so I can tell this is a great comparison. Thanks for mentioning the issue you have with GH. The team is aware of it and will improve on it. Keep having fun building!
@dillonb07 Thanks for the feedback! This is really valuable for us to understand how to make Replit better for you. We are actively working on extensibility and making Replit faster. I'm curious what customizations you wanted, and which part of Replit felt slow to you - was it loading the website, navigating between the files, editing or console/shell?
There are multiple reasons why I would prefer VSC over Replit.
However, there are some things that Replit does better than VSC.
For environmental variables, I'd like to be able to edit it as a plaintext file. Why couldn't we have this as a hidden file so that other projects can't see it, and it could be inside of a default
.gitignore
file. Then the secrets added in the GUI would be put inside of the file?Thanks for the response though! I hope that the feedback helps @xyc
Thank you @dillonb07 ! Appreciate so much you taking the time to write this thoughtful review. It's pretty insightful, because quite a few of these are what we have been working on. For example, multiple file panes and making auto completion better. Replit team is actively working on improving the speed of website, and there are multiple aspects where we can tackle this problem. For Git integration, you can use git command in the shell for stage/amend, but I understand this is different from the UI which VSC provides and this is a pain point we'll need to address. Default
.gitignore
file is a good idea, and we might potentially add that soon! And preview, multiplayer, packages, customizing with Nix are what Replit is strong at.Regarding using Replit at your school: Does your school block Replit? If that's the case, ask your admin if they can use firewalledreplit.com/. Also check if there are admin-override browser extensions that has conflict with the code editor. Don't hesitate to reach out if this does not resolve the issue.
Replit isn't blocked at my school. I am going to try the firewalled version tomorrow because it has less features so it might be more likely to load (lower bundle size etc). I think that the main issue is just that the computers are incredibly old and slow. As for extensions, I've looked at that before and there aren't any admin-overriden extensions.
Glad the feedback was useful! Also happy to hear that you're working on the features I mentioned. For git, I'm aware that you can use the shell, and I have on multiple occasions, but it's quite annoying having to go to GitHub and setup an access token just for using git on a repl. I am glad that it's an option though.
Damn I never thought a developer from Replit would see this lmao!
Thanks!
yes Replit is for the people :)
Thanks!
Do you know how to host websites in VSC like we can do in Replit?
What do you mean? VSC is just an IDE. You can't use it as a website host.
Use a service like Replit, Vercel, Netlify or Heroku for hosting.
So is there a way I can integrate VSC with a website host?
Probably. Never tried. I just put my project on GH and then manually do it when I'm done. It only takes a few minutes. For Flask projects, I'd recommend using GH to sync it to Replit. You'd have to go in your repl and pull the changes though. Or connect to the terminal remotely.
What if I want my code to remain secret?
If you don't have Hacker, you'd have to use a different host. I don't really use Flask anymore, so I'm not sure what the best option is.
I've heard that Heroku is decent for Flask. You can use the CLI for that meaning you don't need to share your code. From experience though, Heroku isn't the easiest to use.
Thanks for the help!
I'm checking out Heroku right now.
It's actually pretty good as it can use private repos for the code, but it's hard to use as you said.
What are you working on now then?
Currently, I'm making a new portfolio using Next.js/React
What about you?
I'm experimenting editing audio with Python (trying to make Google Translate sing lmao)
Sounds fun! Good luck.
This is a weird comparation, VSCode is just an IDE and Replit is a hosting service with an integrated IDE.
But both have flaws
Ye, anyways if you want a hosting service you can use like mogenius, Railway, Heroku or Vercel, they're more focused in Hosting and do not provide an IDE but an easy CI.
yea thanks, I'm trying Vercel out right now (I found Heroku a bit hard)
I don't think Vercel will work with Flask. It's for JavaScript frameworks.
ah, thanks for letting me know
It does (I also thought the same before xD) dev.to/andrewbaisden/how-to-deploy...
I have used Heroku for Nodejs apps and it's easy, I find it easier than Vercel. Maybe it changed after the data leak.
I spent about an hour trying to get my Flask app on Vercel and it kept on showing me this error: vulcanwm.vercel.app/
I might just go back to Heroku.
I cannot see the error, probably cuz I have no permission in the Vercel App, if you want you can send the logs so I can help you.
It’s the 404 not found error here:
vercel.com/docs/concepts/edge-netw...
Maybe it's a routing error, check the logs in vulcanwm.vercel.app/_logs
i might just go back to heroku lmao
I also recommend you render.com
I'll try it out, thanks!
Personally I do my development process locally with VSCode, then build and push to GitHub. After that, I deploy from Vercel or Replit.
that's what i do these days!