Text editors are programs that help the user create and edit text files. Popular editors like Microsoft Word do not have the features that are needed by software developers and can not easily be used for editing source code because they can cause problems with the code itself due to the way they store formatted text. In short, Microsoft Word is not a text editor and should never be used to edit source code because source code is a text file.
Professional software developers use text editors that are specifically designed to work with source code. These are sometimes called source code editors, code editors or just editors. Code editors typically include many special features for writing and editing code that go well beyond the typical uses such as finding and replacing, undoing, deleting, etc. It is worth noting that some professional developers prefer to use a text editor configured for working with code while others prefer to use an Integrated Development Environment (IDE) which is a tool that in addition to having source code editor functionality combines other commonly used developer tools in a single application. Because some text editors are so highly configurable using a variety of plug-ins and extensions, the line between text editors and IDEs has become quite blurred in recent years. Nevertheless, some of the main tools found in IDEs include:
code editor - which in addition to the standard find, replace, undo, redo, delete, etc, typically has block features like block indentation and dedentation, and block commenting and uncommenting.
code debugger - offers built-in tools to detect and diagnose errors in the code, including features such as variable inspection, stepping over and into code during execution, and setting break-points.
Professional developers all have their favorite editor, and searching for something like "best editor to use for software development" will bring up a host of answers and lists of popular editors. In addition to the code editor, code interpreter/compiler, code debugger, integrated terminal, and tools for version control, the following is a list of other popular features in IDEs:
. (Warning, VSCode, which is formally named Visual Studio Code, is not the same software as Visual Studio. This rightfully causes a lot of confusion!) For novice contributors to open source, VSCodeβ4β
code.visualstudio.com
is recommended as a first choice because it is cross-platform and has reasonably shallow learning curve. It also happens to be open-source!
Code debugger detects and diagnoses errors in the code, including variable inspection and setting breakpoints. This feature helps developers identify and fix bugs in their code during the development process.
Correct! This feature enables developers to measure the execution time and resource usage of their code to optimize performance. It helps to analyze the performance of the code.