Need advice about which tool to choose?Ask the StackShare community!
GitHub vs Visual Studio Code: What are the differences?
- GitHub is a code hosting platform while Visual Studio Code is a code editor: GitHub allows developers to store and manage their code repositories in the cloud, providing version control and collaborative features, whereas Visual Studio Code is a text editor with built-in features for coding and debugging.
- GitHub is web-based while Visual Studio Code is a desktop application: GitHub can be accessed through a web browser, allowing users to work with their code from any device with an internet connection, while Visual Studio Code is installed locally on a user's computer.
- GitHub focuses on collaboration and code sharing while Visual Studio Code focuses on individual development: GitHub provides tools for version control, issue tracking, and collaborative features such as pull requests, making it ideal for teams working together on projects. In contrast, Visual Studio Code is primarily tailored for individual developers to write, debug, and test their code.
- GitHub supports multiple programming languages and integrations while Visual Studio Code is more language and platform agnostic: GitHub can be used for hosting projects written in various programming languages and offers integrations with other development tools, whereas Visual Studio Code has a wider range of support for programming languages and platforms out of the box.
- GitHub has extensive social features such as following, starring, and forking repositories while Visual Studio Code has limited social features: GitHub allows users to follow other developers, star repositories to show appreciation or bookmark them for later reference, and fork repositories to create their own copies for experimentation. Visual Studio Code lacks these social features and focuses more on the development environment.
- GitHub provides continuous integration and deployment (CI/CD) capabilities while Visual Studio Code does not natively offer CI/CD: GitHub has built-in workflows and actions that allow for automated testing and deployment as part of the software development process. In contrast, Visual Studio Code is a code editor and does not have built-in CI/CD capabilities.
In summary, GitHub is a web-based code hosting platform focused on collaboration and code sharing, while Visual Studio Code is a desktop code editor designed for individual development. GitHub supports multiple languages and offers extensive social features, while Visual Studio Code is more language and platform agnostic and lacks extensive social features. Additionally, GitHub provides CI/CD capabilities, which Visual Studio Code does not offer natively.
Do you review your Pull/Merge Request before assigning Reviewers?
If you work in a team opening a Pull Request (or Merge Request) looks appropriate. However, have you ever thought about opening a Pull/Merge Request when working by yourself? Here's a checklist of things you can review in your own:
- Pick the correct target branch
- Make Drafts explicit
- Name things properly
- Ask help for tools
- Remove the noise
- Fetch necessary data
- Understand Mergeability
- Pass the message
- Add screenshots
- Be found in the future
- Comment inline in your changes
Read the blog post for more detailed explanation for each item :D
What else do you review before asking for code review?
Using an inclusive language is crucial for fostering a diverse culture. Git has changed the naming conventions to be more language-inclusive, and so you should change. Our development tools, like GitHub and GitLab, already supports the change.
SourceLevel deals very nicely with repositories that changed the master branch to a more appropriate word. Besides, you can use the grep linter the look for exclusive terms contained in the source code.
As the inclusive language gap may happen in other aspects of our lives, have you already thought about them?
One of the magic tricks git performs is the ability to rewrite log history. You can do it in many ways, but git rebase -i
is the one I most use. With this command, It’s possible to switch commits order, remove a commit, squash two or more commits, or edit, for instance.
It’s particularly useful to run it before opening a pull request. It allows developers to “clean up” the mess and organize commits before submitting to review. If you follow the practice 3 and 4, then the list of commits should look very similar to a task list. It should reveal the rationale you had, telling the story of how you end up with that final code.
Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.
Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.
Out of most of the VCS solutions out there, we found Gitlab was the most feature complete with a free community edition. Their DevSecops offering is also a very robust solution. Gitlab CI/CD was quite easy to setup and the direct integration with your VCS + CI/CD is also a bonus. Out of the box integration with major cloud providers, alerting through instant messages etc. are all extremely convenient. We push our CI/CD updates to MS Teams.
Gitlab as A LOT of features that GitHub and Azure DevOps are missing. Even if both GH and Azure are backed by Microsoft, GitLab being open source has a faster upgrade rate and the hosted by gitlab.com solution seems more appealing than anything else! Quick win: the UI is way better and the Pipeline is way easier to setup on GitLab!
(1/2) In terms of DevOps we chose GitHub
, Git
, Visual Studio Code
, Sentry
, Yarn
, CircleCI
.
GitHub
was chosen because of its features such as GitHub Projects, GitHub Issues, and GitHub Milestones, which are normally separate tools such as Trello for issue tracking, but come as part a package with GitHub. This choice is also influenced by our decision for using Git for version control.Git
was chosen as our version control because of the wide popularity, familiarity in our team, and rich list of tools that support integrations. A tool such as Perforce does not suit our needs because we do not require the mapping features important to huge code bases and the lack of many popular integrations is not appealing.Visual Studio Code
was chosen as our primary source-code editor for an array of reasons. VS code works well with our chosen version control system since it comes with embedded Git control out of the box. For every language or framework that we are working in, there are multiple extensions to improve our team's productivity and efficiency. It also has live collaboration through their LiveShare feature and more, all while maintaining itself as a lightweight tool.Sentry
,Yarn
, andCircleCI
in part 2.
We're using GitHub for version control as it's an industry standard for version control and our team has plenty of experience using it. We also found many features such as issues and project help us organize. We also really liked the fact that it has the Actions CI platform built in because it allows us to keep more of our development in one place. We chose Slack as our main communication platform because it allows us to organize our communication streams into various channels for specific topics. Additionally, we really liked the integrations as they allow us to keep a lot of our in formation in one place rather than spread around many different apps.
We will use the ubiquitous combination of Git
for version control and GitHub
for code hosting. They have all the functionality we require for this project and will fit perfectly into our development workflow with up to three developers working simultaneously on the codebase. We also plan on using GitHub Actions
to set up our CI/CD workflows.
VS Code
will be our primary code editor due to its combination of developer-friendly features, including a large extensions library, IntelliSense code completion, Git integration, and powerful debugging tools. Furthermore, it offers better performance and more simplicity than full-fledged IDEs while supporting a multitude of languages.
Selenium
will be used to perform automated testing of our web application. It supports all major web browsers and operating systems and supports test scripts to be written in multiple languages, including Python which we are also planning to use for our back-end, helping us to consolidate the languages required for our project. In addition, Selenium is free and has support for most CI/CD tools.
I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!
Pros of GitHub
- Open source friendly1.8K
- Easy source control1.5K
- Nice UI1.3K
- Great for team collaboration1.1K
- Easy setup868
- Issue tracker504
- Great community488
- Remote team collaboration483
- Great way to share449
- Pull request and features planning442
- Just works147
- Integrated in many tools132
- Free Public Repos122
- Github Gists116
- Github pages114
- Easy to find repos83
- Open source62
- Easy to find projects60
- It's free60
- Network effect56
- Extensive API49
- Organizations43
- Branching42
- Developer Profiles34
- Git Powered Wikis32
- Great for collaboration30
- It's fun24
- Clean interface and good integrations23
- Community SDK involvement22
- Learn from others source code20
- Because: Git16
- It integrates directly with Azure14
- Standard in Open Source collab10
- Newsfeed10
- Fast8
- Beautiful user experience8
- It integrates directly with Hipchat8
- Easy to discover new code libraries7
- It's awesome6
- Smooth integration6
- Cloud SCM6
- Nice API6
- Graphs6
- Integrations6
- Hands down best online Git service available5
- Reliable5
- Quick Onboarding5
- CI Integration5
- Remarkable uptime5
- Security options4
- Loved by developers4
- Uses GIT4
- Free HTML hosting4
- Easy to use and collaborate with others4
- Version Control4
- Simple but powerful4
- Unlimited Public Repos at no cost4
- Nice to use3
- IAM3
- Ci3
- Easy deployment via SSH3
- Free private repos2
- Good tools support2
- All in one development service2
- Never dethroned2
- Easy source control and everything is backed up2
- Issues tracker2
- Self Hosted2
- IAM integration2
- Very Easy to Use2
- Easy to use2
- Leads the copycats2
- Free HTML hostings2
- Easy and efficient maintainance of the projects2
- Beautiful2
- Dasf1
- Profound1
Pros of Visual Studio Code
- Powerful multilanguage IDE340
- Fast309
- Front-end develop out of the box193
- Support TypeScript IntelliSense158
- Very basic but free142
- Git integration126
- Intellisense106
- Faster than Atom78
- Better ui, easy plugins, and nice git integration53
- Great Refactoring Tools45
- Good Plugins44
- Terminal42
- Superb markdown support38
- Open Source36
- Extensions35
- Awesome UI26
- Large & up-to-date extension community26
- Powerful and fast24
- Portable22
- Best code editor18
- Best editor18
- Easy to get started with17
- Lots of extensions15
- Good for begginers15
- Crossplatform15
- Built on Electron15
- Extensions for everything14
- Open, cross-platform, fast, monthly updates14
- All Languages Support14
- Easy to use and learn13
- "fast, stable & easy to use"12
- Extensible12
- Ui design is great11
- Totally customizable11
- Git out of the box11
- Useful for begginer11
- Faster edit for slow computer11
- SSH support10
- Great community10
- Fast Startup10
- Works With Almost EveryThing You Need9
- Great language support9
- Powerful Debugger9
- It has terminal and there are lots of shortcuts in it9
- Can compile and run .py files8
- Python extension is fast8
- Features rich7
- Great document formater7
- He is not Michael6
- Extension Echosystem6
- She is not Rachel6
- Awesome multi cursor support6
- VSCode.pro Course makes it easy to learn5
- Language server client5
- SFTP Workspace5
- Very proffesional5
- Easy azure5
- Has better support and more extentions for debugging4
- Supports lots of operating systems4
- Excellent as git difftool and mergetool4
- Virtualenv integration4
- Better autocompletes than Atom3
- Has more than enough languages for any developer3
- 'batteries included'3
- More tools to integrate with vs3
- Emmet preinstalled3
- VS Code Server: Browser version of VS Code2
- CMake support with autocomplete2
- Microsoft2
- Customizable2
- Light2
- Big extension marketplace2
- Fast and ruby is built right in2
- File:///C:/Users/ydemi/Downloads/yuksel_demirkaya_webpa1
Sign up to add or upvote prosMake informed product decisions
Cons of GitHub
- Owned by micrcosoft56
- Expensive for lone developers that want private repos38
- Relatively slow product/feature release cadence15
- API scoping could be better10
- Only 3 collaborators for private repos9
- Limited featureset for issue management4
- Does not have a graph for showing history like git lens3
- GitHub Packages does not support SNAPSHOT versions2
- Expensive1
- No multilingual interface1
- Horrible review comments tracking (absence)1
- Takes a long time to commit1
Cons of Visual Studio Code
- Slow startup46
- Resource hog at times29
- Poor refactoring20
- Poor UI Designer13
- Weak Ui design tools11
- Poor autocomplete10
- Super Slow8
- Huge cpu usage with few installed extension8
- Microsoft sends telemetry data8
- Poor in PHP7
- It's MicroSoft6
- Poor in Python3
- No Built in Browser Preview3
- No color Intergrator3
- Very basic for java development and buggy at times3
- No built in live Preview3
- Electron3
- Bad Plugin Architecture2
- Powered by Electron2
- Terminal does not identify path vars sometimes1
- Slow C++ Language Server1