{"id":32755,"date":"2020-09-18T15:53:31","date_gmt":"2020-09-18T15:53:31","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=32755"},"modified":"2020-09-18T15:53:31","modified_gmt":"2020-09-18T15:53:31","slug":"vs-code-ide-1-49-released","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/09\/vs-code-ide-1-49-released\/","title":{"rendered":"VS Code IDE 1.49 Released, How to Install it in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/vscode-icon245.png\" alt=\"Visual Studio Code IDE\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-6810\" \/><\/p>\n<p>Visual Studio Code IDE 1.49 was released a few days ago. Here&#8217;s how to install it in Ubuntu 20.04, Ubuntu 18.04.<\/p>\n<p><a href=\"https:\/\/code.visualstudio.com\/updates\/v1_49\" rel=\"noopener\" target=\"_blank\">Visual Studio Code 1.49<\/a> release highlights include:<\/p>\n<ul>\n<li>Format modified text &#8211; Limit formatting to just the code you&#8217;ve changed.<\/li>\n<li>Add support for changing text casing during global Search and Replace.<\/li>\n<li>Display pending changes per repository in the Source Control repositories view<\/li>\n<li>Debug Console now supports quickly filter and find debugging output.<\/li>\n<li>Improved JS debugger Auto Attach &#8211; &#8220;Smart&#8221; Auto Attach to Node.js scripts or test runners.<\/li>\n<li>TypeScript optional chaining refactoring &#8211; Convert multiple checks to a concise optional chain.<\/li>\n<li>JSDoc @deprecated tag support &#8211; IntelliSense clearly shows APIs marked as deprecated.<\/li>\n<li>Notebook UX updates &#8211; Cell Status bar contributions, enhanced notebook diff editor.<\/li>\n<\/ul>\n<h4>How to Install VS Code 1.49 in Ubuntu:<\/h4>\n<p>The official <b>.deb<\/b> package is available to download at the link below:<\/p>\n<p style=\"text-align:center;\"><a href='https:\/\/code.visualstudio.com\/Download' class='arconix-button arconix-button-medium arconix-button-gray' target=\"_blank\" >Download VS Code (.deb)<\/a><\/p>\n<p>Grab the deb and install it via either Gdebi package manager or command in terminal (Ctrl+Alt+T):<\/p>\n<pre style=\"border:none;\">sudo dpkg -i ~\/Downloads\/code_*.deb; sudo apt -f install<\/pre>\n<p>For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):<\/p>\n<p><b>1.<\/b> Open terminal (Ctrl+Alt+T) and run command to add the repository:<\/p>\n<pre style=\"border:none;\">sudo sh -c 'echo \"deb [arch=amd64] https:\/\/packages.microsoft.com\/repos\/vscode stable main\" > \/etc\/apt\/sources.list.d\/vscode.list'<\/pre>\n<p><b>2.<\/b> Download and install the repository key via commands:<\/p>\n<pre style=\"border:none;\">curl https:\/\/packages.microsoft.com\/keys\/microsoft.asc | gpg --dearmor > microsoft.gpg\r\n\r\nsudo mv microsoft.gpg \/etc\/apt\/trusted.gpg.d\/microsoft.gpg<\/pre>\n<p><b>3.<\/b> Finally install the IDE via command:<\/p>\n<pre style=\"border:none;\">sudo apt-get install code<\/pre>\n<p><b>Uninstall Visual Studio Code:<\/b><\/p>\n<p>To remove the code editor, either use Synaptic Package Manager or run command:<\/p>\n<pre style=\"border:none;\">sudo apt-get remove --autoremove code<\/pre>\n<p>And remove the Microsoft repository by launching <b>Software &#038; Updates<\/b> utility and navigating to <i>Other Software<\/i> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>Visual Studio Code IDE 1.49 was released a few days ago. Here&#8217;s how to install it in Ubuntu 20.04, Ubuntu 18.04. Visual Studio Code 1.49 release highlights include: Format modified text &#8211; Limit formatting to just the code you&#8217;ve changed. Add support for changing text casing during global Search and Replace. Display pending changes per [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1449],"class_list":["post-32755","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-visual-studio-code"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/32755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=32755"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/32755\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=32755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=32755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=32755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}