{"id":4076,"date":"2026-09-18T01:00:42","date_gmt":"2026-09-18T01:00:42","guid":{"rendered":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/"},"modified":"2026-09-18T01:00:42","modified_gmt":"2026-09-18T01:00:42","slug":"introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers","status":"publish","type":"post","link":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/","title":{"rendered":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers!"},"content":{"rendered":"<p>Microsoft\u2019s open-source command-line text editor, <em>Edit<\/em>, has received a significant update with the release of version 2.0.0. This update introduces major features such as syntax highlighting, enhanced regex handling in the <em>Find &amp; Replace<\/em> function, and new editing shortcuts, making it an even more robust tool for developers.<\/p>\n<p>Initially open-sourced last year, <em>Edit<\/em> is designed to be a lightweight, cross-platform text editor equipped with VS Code-style keybindings and mouse support. Notably, it efficiently manages both LF and CRLF line endings and allows users to open multiple files with ease. Its straightforward terminal user interface caters to those who prefer a simple approach to text editing without the steep learning curve of more complex editors like <em>Vim<\/em> or <em>Emacs<\/em>.<\/p>\n<p>The most noteworthy addition in this version is the nimble syntax highlighting feature. The developers have implemented a custom, lightweight syntax highlighter that only adds 40Kb to the binary size but supports over a dozen popular programming languages, including C, Rust, and JavaScript. This enhancement notably improves performance, processing text at over 100MB\/s, which is beneficial for users frequently dealing with large files.<\/p>\n<p>The update also includes a number of other improvements:<\/p>\n<ul>\n<li>The <em>Find &amp; Replace<\/em> feature can now reuse matched text in replacements.<\/li>\n<li>You can move lines using Alt + Up\/Down.<\/li>\n<li>Multiple selected lines can be indented or unindented using Tab or Shift + Tab.<\/li>\n<li>Ctrl + L is available for selecting the current line.<\/li>\n<li>Whitespace within selections is now visible.<\/li>\n<li>Terminal titles indicate files with unsaved changes.<\/li>\n<li>Opening a directory via the command line brings up a file picker, which uses natural sorting.<\/li>\n<li>The update facilitates automatic creation of missing parent directories on save.<\/li>\n<\/ul>\n<p>Furthermore, initial support for a <code>settings.json<\/code> configuration file has been introduced, although this is currently limited to <code>files.associations<\/code>.<\/p>\n<p>Although <em>Edit<\/em> doesn&#8217;t match the depth of more traditional editors, it effectively serves users looking for a straightforward text editing solution within the terminal environment. To install or update <em>Edit<\/em> on Ubuntu, users can open their terminal and run the command:<\/p>\n<pre><code class=\"language-bash\">sudo snap install msedit --classic<\/code><\/pre>\n<p>After installation, <em>Edit<\/em> can be accessed by typing <code>msedit<\/code> in the terminal. For additional details, check out the <a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/edit\/releases\/tag\/v2.0.0\">Edit v2.0.0 release<\/a> and the <a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/snapcraft.io\/msedit\">unofficial Snap package<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft\u2019s open-source command-line text editor, Edit, has received a significant update with the release of version 2.0.0. This update introduces major features such as&hellip;<\/p>\n","protected":false},"author":0,"featured_media":4077,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,663,226,1468,4],"tags":[],"class_list":["post-4076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-updates","category-cli-tools","category-microsoft","category-msedit","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog\" \/>\n<meta property=\"og:description\" content=\"Microsoft\u2019s open-source command-line text editor, Edit, has received a significant update with the release of version 2.0.0. This update introduces major features such as&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/\" \/>\n<meta property=\"og:site_name\" content=\"ServerHost Hosting Solutions Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-18T01:00:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers!\",\"datePublished\":\"2026-09-18T01:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/\"},\"wordCount\":370,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/4abf96d6-8812-4080-9406-2d426400cd65.webp\",\"articleSection\":[\"App Updates\",\"Cli Tools\",\"Microsoft\",\"Msedit\",\"News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/\",\"url\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/\",\"name\":\"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/4abf96d6-8812-4080-9406-2d426400cd65.webp\",\"datePublished\":\"2026-09-18T01:00:42+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#primaryimage\",\"url\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/4abf96d6-8812-4080-9406-2d426400cd65.webp\",\"contentUrl\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/4abf96d6-8812-4080-9406-2d426400cd65.webp\",\"width\":2400,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/\",\"name\":\"ServerHost Hosting Solutions Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/serverhost.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/","og_locale":"en_US","og_type":"article","og_title":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog","og_description":"Microsoft\u2019s open-source command-line text editor, Edit, has received a significant update with the release of version 2.0.0. This update introduces major features such as&hellip;","og_url":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/","og_site_name":"ServerHost Hosting Solutions Blog","article_published_time":"2026-09-18T01:00:42+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#article","isPartOf":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/"},"author":{"name":"","@id":""},"headline":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers!","datePublished":"2026-09-18T01:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/"},"wordCount":370,"commentCount":0,"image":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#primaryimage"},"thumbnailUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2026\/09\/4abf96d6-8812-4080-9406-2d426400cd65.webp","articleSection":["App Updates","Cli Tools","Microsoft","Msedit","News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/","url":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/","name":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers! - ServerHost Hosting Solutions Blog","isPartOf":{"@id":"https:\/\/serverhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#primaryimage"},"image":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#primaryimage"},"thumbnailUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2026\/09\/4abf96d6-8812-4080-9406-2d426400cd65.webp","datePublished":"2026-09-18T01:00:42+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#primaryimage","url":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2026\/09\/4abf96d6-8812-4080-9406-2d426400cd65.webp","contentUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2026\/09\/4abf96d6-8812-4080-9406-2d426400cd65.webp","width":2400,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/serverhost.com\/blog\/introducing-syntax-highlighting-in-microsofts-cli-text-editor-a-game-changer-for-developers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/serverhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing Syntax Highlighting in Microsoft\u2019s CLI Text Editor: A Game Changer for Developers!"}]},{"@type":"WebSite","@id":"https:\/\/serverhost.com\/blog\/#website","url":"https:\/\/serverhost.com\/blog\/","name":"ServerHost Hosting Solutions Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serverhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/4076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/comments?post=4076"}],"version-history":[{"count":0,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/4076\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media\/4077"}],"wp:attachment":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media?parent=4076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/categories?post=4076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/tags?post=4076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}