Without having done the installation myself, is there an easy way to check (maybe from within the application) if it is VsCode or VsCodium?
Asked
Active
Viewed 82 times
1 Answers
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