Code ManagementĬode management is basic functionality for an IDE, and it is important to make it easy for a developer to navigate a code base. Sublime Text's Git integration is strong, it gets a 4/5. The plugin will also prompt for the various options on these commands. All of the basics are there including Git Add, Git Commit - but there is also Git Reset and Git Stash. The Sublime Text Git plugin offers a lot of functionality that I usually have to Google search to remind myself of the syntax. I resolved this via the git cli and was then able to commit within Sublime Text Git. They each threw up error messages and I could not commit changes. Search for 'Git' and install the git pluginīoth VSCode and Sublime Text got stuck on the fact that my email and user name had not been configured, and were unable to handle this elegantly.Once installed you can access it via Preferences->Package Control. Install package control from the menu: Tools->Install Package Control. I imagine not including package control by default helps ensure your sublime install stays as lean as possible. On a fresh install of Sublime you first need to install Package Control. Git Integration in Sublime Text works best with the Git plugin. It has the basics, and while I don't need to go to command line for simple tasks, I do have to go to the GitHub Web UI, which is even less convenient. These is the Git integration quick actions that VSCode displays for a new project.įor me, VSCode gets a 3/5 on Git integration. Pushing and pulling code changes is all possible from within VSCode. A pull request has to be started from the GitHub web UI. Publish a branch to the remote (GitHub in my case). You can create branches using “Checkout to…”. Also, the local git remote that VSCode creates is named after the repo and not called ‘origin’ which I find a bit off-putting. I had to log into GitHub to create the repo, then it appeared in my list. Once I was OAuth connected I could only view repos. It doesn’t look like there is a way to create a GitHub repo from VSCode so I had to create it through the GitHub Web UI. You can also prompt VSCode to initialize your open folder as a Git repository by selecting View->SCM from the menu or using the Ctrl+Shift+G shortcut.Ĭreating my local repo was simple, however connecting to GitHub was much more difficult. VSCode detects if a git repo has been setup for a project and allows you to initialize one. I will look at both Git and GitHub integrations - see my article explaining the difference between git and github. At a minimum, I expect that common actions like creating branches, committing code and managing code on remotes can be done within the IDE. My criteria for Git integration is to see how much can be done within the editor itself without the need to resort to command line. As of the writing of this article Sublime Text has release version 4 and moving forward with semantic versioning - no more major version releases. Once you have a license, Sublime Text can be installed and used on as many of your systems as you like. VSCode is freely available, however Sublime Text is a paid product at $99USD, which gives you 3 years of updates. I use simple project examples in C and Python, HTML, CSS and Javascript to get some comparison breadth.įor this comparison I am using Sublime Text 3 installed on Ubuntu 20.04 and VSCode 1.47.2 on the same machine with the language specific plugins. My approach to conduct this evaluation was to pick the IDE features that I use most often and compare the experience between Sublime Text 3 and VSCode. In this post I take Sublime Text up against Visual Studio Code using the following 7 IDE criteria: So which is the better choice for development? And coming in at $99 USD, is Sublime Text worth paying for? These editors run on Windows, Mac and Linux. Sublime Text 3 is a commercial tool built by Sublime HQ, and VSCode is Opensource by Microsoft built on the Electron platform. Sublime Text and Visual Studio Code (VSCode) are top notch development environments for coding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |