Archives For November 30, 1999

Visual Studio Code announced version 1.87 as the new February 2024 release!

The release features voice dictation support in editor. With VS Code Speech extension installed, user can use voice to dictate directly into the editor.

It can be started by pressing Ctrl+Alt+V on keyboard, and stop via Escape key. Or, press and hold the key combination (Ctrl+Alt+V) to enable walky-talky mode, that the voice recognition stops as soon as the keys released.

The VS Code Speech extension now has 26 supported languages support. Each language comes as its own extension. And user can choose between them using accessibility.voice.speechLanguage setting.

Other changes in the release include:

  • Multi-cursor inline completions are previewed and applied at both the primary and the secondary cursor positions.
  • Rename suggestions from Copilot.
  • Pylance extension for Python support now has an Add Imports code action for adding missing imports.
  • Enable sticky scroll by defaul, and increase maximum display number from 10 to 20.
  • GitHub Copilot Chat suggests templates and features when adding dev container configuration files to a workspace
  • Side-by-side preview refactoring – Preview refactorings across files with multi diff editor.


Continue Reading…

This is a step by step beginner’s guide shows how to install VS-Codium IDE in Ubuntu, using 4 different ways.

VSCodium is a free and open-source software binaries of VS Code. It’s NOT a fork, but a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.

The VSCodium project was born due to:

Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking.

It’s a good choice as a telemetry-less version of VS Code without rebuilding by programmers themselves.

Codium in Ubuntu

Continue Reading…

This is a step by step beginner’s guide shows how to install VS Code IDE and keep it up-to-date in Ubuntu 22.04, Ubuntu 23.04, Ubuntu 24.04 using 3 different ways.

Microsoft provides official code packages for Linux through native .deb (for Debian/Ubuntu), .rpm (for Fedora/SUSE), and universal Snap package run in sandbox.

For choice, there’s also a community maintained Flatpak package which also runs in sandbox.

So, there are 3 common ways to install this IDE in your Ubuntu Desktop!


Continue Reading…

Visual Studio Code IDE 1.49 was released a few days ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 18.04.

Visual Studio Code 1.49 release highlights include:

  • Format modified text – Limit formatting to just the code you’ve changed.
  • Add support for changing text casing during global Search and Replace.
  • Display pending changes per repository in the Source Control repositories view
  • Debug Console now supports quickly filter and find debugging output.
  • Improved JS debugger Auto Attach – “Smart” Auto Attach to Node.js scripts or test runners.
  • TypeScript optional chaining refactoring – Convert multiple checks to a concise optional chain.
  • JSDoc @deprecated tag support – IntelliSense clearly shows APIs marked as deprecated.
  • Notebook UX updates – Cell Status bar contributions, enhanced notebook diff editor.

How to Install VS Code 1.49 in Ubuntu:

The official .deb package is available to download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Code 1.36, the June 2019 release of Visual Studio Code, was released. The new release has updated to Electron 4.x, means it will no longer run on Linux 32-bit.

VS Code 1.36 release highlights:

  • Context menu for the status bar to hide / show individual entries.
  • Indent guides now available in File Explorer, Search view, Debug views, etc.
  • Select Default Shell command for Mac OS and Linux.
  • Control the order of task and subtask execution.
  • New debug command Jump to Cursor
  • New setting controls whether word wrap is enabled in the Debug Console.
  • New Java installer.
  • New extension integrates JS/TS nightly builds.
  • Remote Development (Preview) improvements

How to Install VS Code 1.36 in Ubuntu:

You can either download and click install the Ubuntu .deb from VS code website:

Or install the official Snap (containerized software package) from Ubuntu Software:

For Ubuntu 16.04, the snap package is not integrated into Ubuntu Software.

Open terminal (Ctrl+Alt+T) and run command to install snapd first:

sudo apt-get install snapd

Then install the VS Code IDE via command:

sudo snap install code --classic

Uninstall:

Depends on your system edition, remove VS Code either via Software Center or run command in terminal:

sudo snap remove code

MicroSoft and Canonical (the company behind Ubuntu) finally announced the official Snap package of Visual Studio Code IDE.

Which means you can install VS Code easily from Ubuntu Software and keep it always up-to-date automatically, though the old Snap package maintained by an independent developer was available for nearly two years.

4th April 2019, London, UK – As of today, Microsoft Visual Studio Code is available for Linux as a snap, providing seamless auto-updates for its users. Visual Studio Code, a free, lightweight code editor, has redefined editors for building modern web and cloud applications, with built-in support for debugging, task running, and version control for a variety of languages and frameworks.

Snaps are containerised software packages designed to work across cloud, desktop, and IoT devices. They work natively on most popular Linux distributions and feature automatic updates and rollback functionality, enhanced security, and greater flexibility for developers working within Linux environments.

Install VS Code via Snap in Ubuntu 18.04 / Higher:

Simply open Ubuntu Software, search for and install visual studio code:

Install VS Code via Snap in Ubuntu 16.04:

For Ubuntu 16.04, the snap packages are not integrated in Ubuntu Software.

Open terminal (Ctrl+Alt+T) and run command to install snapd first:

sudo apt-get install snapd

Then install the VS Code IDE via command:

sudo snap install code --classic

Uninstall:

Depends on your system edition, remove VS Code either via Software Center or run command in terminal:

sudo snap remove code

Visual Studio Code IDE 1.31 was released recently with new features, tree UI improvements, menu updates, and more.

Visual Studio Code 1.31 release highlights:

  • No longer required to reload VS Code when you install or enable an extension.
  • New tree widget
  • Improved keyboard navigation
  • Added cut command in Explorer context menu.
  • More navigation actions added to Go menu.
  • Added keyboard navigation in Linux with custom menus
  • Full multiline issue details in the Problems panel.
  • References: Show History command for the References view.
  • Semantic selection for HTML, CSS, and JSON.
  • Terminal text automatically reflows as panel width changes.
  • Custom user input for task and debug configuration.

How to Install VS Code 1.31 in Ubuntu:

The easiest way is to install the community maintained Snap package, containerized software package, which available in Ubuntu Software:

The 1.31 snap package is not available at the moment, though it auto-updates itself once you installed it.

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code released version 1.29 recently with a number of significant updates.

VS Code 1.28 release highlights according to the announcement:

  • Multiline search – Search across files with regex multiline expressions.
  • File icons in IntelliSense – Quickly distinguish file types in IntelliSense.
  • Better macOS support – Full screen mode control and Mojave Dark Mode support.
  • Collapsible stack frames – Collapse uninteresting stack frames to clearly see your code.
  • Improved Loaded Scripts view – Displays related resources such as original source files.
  • Updated extension samples – Uniform style and structure, README, and API usage.
  • CI recipe for extensions – Azure Pipelines build recipe for extensions.
  • Preview: List All References – List All References view shows reference search results.

How to Install VS Code 1.29 in Ubuntu:

The easiest way is to install the community maintained Snap (run in sandbox) package from Ubuntu Software:

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Microsoft Visual Studio Code 1.28 was released a few days ago. Here’s how to install it in Ubuntu 18.04.

VS Code 1.28 release highlights according to the announcement:

  • VS Code now ships custom icons reflect file type in your OS explorer.
  • Snippets can now be scoped to a project and shared with your team.
  • Editor Tab completion can now complete all kind of suggestions.
  • New command to go to the location of your last edit.
  • New command Save without Formatting to save a file without triggering any of the save participants
  • Rename a JS/TS file through it’s import path.
  • The new Convert to async function suggestion for JavaScript and TypeScript rewrites functions that use .then Promise chaining to use async and await
  • Git improvements: better delete conflict handling, new rebase on sync option.
  • Better Markdown folding: collapse code blocks, multi-line lists, and embedded HTML.

How to Install VS Code 1.28 in Ubuntu:

The easiest way is to install the community maintained Snap (run in sandbox) package from Ubuntu Software:

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code 1.26 Released

Last updated: August 14, 2018

Microsoft Visual Studio Code 1.26 was released a day ago with a number of significant updates.

According to the release note, some of the key highlights in VS Code 1.26 include:

  • Breadcrumbs – A navigation bar allows to quickly navigate between symbols and files.
  • You can now apply Quick Fixes from the Problems panel
  • User setup package for Windows is now available on stable.
  • Column selection is supported within the Integrated Terminal via Alt+click
  • “Add missing import” Quick Fix to all missing imports in a JavaScript/TypeScript file
  • JSX tags closed automatically when type > in a JavaScript or TypeScript file
  • Better JS/TS error reporting
  • Add IntelliSense autocompletions to the extension search field.

How to Install VS Code 1.26 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.