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

1.37.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'
    });
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.37.0
    0
    • latest

Version History

Package Sidebar

Install

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

Weekly Downloads

22

Version

1.37.0

License

none

Unpacked Size

10.3 kB

Total Files

5

Last publish

Collaborators

  • thegecko
  • mdq3
  • monty-bot
  • mcgordonite