Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>InitX CommonNew to Visual Studio Code? Get it now.
InitX Common

InitX Common

t-codespaces

|
95 installs
| (0) | Free
InitX ide extension base dependency.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

initx-common README

为所有插件提供通用的 API 和 command.

activate event

onStartupFinished: 此时激活的时候,ide-server 确保是已经由 bff 层正确写入了运行时配置

how to use

API

  1. Copy src/initx-common.d.ts to your extension's sources;

  2. Include initx-common.d.ts in your extension's compilation.

  3. Get a hold of the API with the following snippet:

     const ext = vscode.extensions.getExtension<InitXCommonApi>('t-codespaces.initx-common').exports;
     const config = ieExtension.ideRuntimeConfig;
    

execute command

const config: InitXCommonApi = await vscode.commands.executeCommand('initx.common.public.getRuntimeConfig');

publish

to open-vsx

vsce package npx ovsx publish -p

to vscode

vsce publish

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft