1

Without having done the installation myself, is there an easy way to check (maybe from within the application) if it is VsCode or VsCodium?

Konstantin
  • 320
  • 2
  • 7

1 Answers1

0

The env namespace has a property appName that lets you tell apart which version is running.

Example

import { env } from 'vscode';

switch (env.appName) {
  case 'VSCodium':
    console.log('You are using VSCodium');
    break;

  case 'Visual Studio Code':
    console.log('You are using Visual Studio Code');
    break;

  default:
    console.log('You are using ome other flavour of VSCode');
    break;
}
idleberg
  • 12,634
  • 7
  • 43
  • 70