@arm-software/vscode-cmsis-csolution
TypeScript icon, indicating that this package has built-in type declarations

1.38.0 • Public • Published

CMSIS CSolution Extension API

The CMSIS Csolution extension exposes an API that other extensions can get hold of:

import type { CsolutionExtension } from '@arm-software/vscode-cmsis-csolution';
const csolutionExtension = vscode.extensions.getExtension<CsolutionExtension>('Arm.cmsis-csolution');
if (csolutionExtension) {
    const api = (await csolutionExtension.activate()).getApi(1);
    await api.manageComponents({
        solutionFilePath: '/path/to/solution.csolution.yml',
        projectFilePath: '/path/to/project.cproject.yml'
    });
}

Dependents (0)

Package Sidebar

Install

npm i @arm-software/vscode-cmsis-csolution

Weekly Downloads

118

Version

1.38.0

License

none

Unpacked Size

11.8 kB

Total Files

5

Last publish

Collaborators

  • thegecko
  • mdq3
  • monty-bot
  • mcgordonite