In order to test the effectiveness of Sublime Text and Notepad++ for managing projects with multifile modular designs I created a couple of simple projects in both Python and C. File and Folder Creation, moves, renames.The real differentiation is in the IDE search functionality and smart code features.įor code management there were 3 areas I focused on: You can select function names and quickly navigate to their definitions with both of these tools. Both Notepad++ and Sublime Text have built in file hierarchy displays on the left of the code window (with the default setup) and allow you to create, rename and remove files easily. 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. Sublime Text threw up error messages and I could not commit changes. Sublime Text got stuck on the fact that my email and user name had not been configured, and was unable to handle this elegantly. Search for 'Git' and install the git plugin.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. So Notepad++ gets a 1/5 on Git Integration. Note that some actions require Tortoise Git. The docking panel provides a view of the current status of your files. I created a new project and initialized it with Git and then added a text file to test. If the Git.exe hasn't been configured you will get a "file not found" error.īelow is a screenshot of my Windows settings. You may also need to set the Git.exe path in the GitSCM plugin settings. On Windows I had to add the Git command to my path so it could be used via the command prompt. It looks a bit complicated to get running on Notepad++ running on Ubuntu since it is running under the Wine environment and is expecting to find Windows settings, so my review is strictly applicable to Notepad++ on Windows. There is a plugin that integrates with Tortoise Git called GitSCM. If you Google Notepad++ and Git, you'll find a lot of information on how to use Notepad++ as your default editor for Git. Notepad++ does not have built in Git or GitHub Integration. 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 - so 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. Notepad++ 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 Notepad++ v8.1.9 on the same machine with language specific plugins when available. My approach to conduct this evaluation was to pick the IDE features that I use most often and compare the experience between Notepad++ and Sublime Text 3. In this post I take Sublime Text up against Notepad++ 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 Notepad++ is written in C++ by Don Ho. Sublime Text and Notepad++ are two great editors for coding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |