Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>kimiaiverifyNew to Visual Studio Code? Get it now.
kimiaiverify

kimiaiverify

max.meng

|
800 installs
| (0) | Free
First AI extension
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

kimi chat for C&C++ static analyze

This is the demo project for VScode plugin which call kimi chat API by javascript to do static analyze C & C++ code.

How to use

First, install KIMIAIVERIFY from market place or vs package

You can download vsix package from Release section in the github. And using following command to install:

code --install-extension .\kimiaiverify-0.0.1.vsix

Then, you need a kimi AI account, and get your API token at:

user account info/basic info:
https://platform.moonshot.cn/console/info

KIMI API

We call this token as:
[KIMI API KEY]

Finally, you need to set your kimi API key

Open the extension settings page by right click the configure button: AI check menu

Then copy your kimi API key from here: AI check menu

Start to use AI static check

Now everything is OK, just open any C/C++ source file, you can find "AI static check" in the right click menu:
AI check menu

Or you can use CMD+shift+D keyboard short cut to call out this function.

The AI check result can be find at output log: AI check output

Development Requirements

You also need to have a Microsoft account, login:
https://login.live.com

Then access Azure DevOps:
https://aka.ms/SignupAzureDevOps

In the User settings, get Personal access tokens:
Navigate

Create a new personal access token as:
[AZURE DEV ACCESS TOKEN]

Create personal access token

And don't forget to copy to some safe place: Save personal access token

You also need to create a visual studio publisher at: https://marketplace.visualstudio.com/manage/createpublisher Create VS publisher

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • myExtension.enable: Enable/disable this extension.
  • myExtension.thing: Set to blah to do something.

Known Issues

One Kimi free user API can only support one API call everytime, it takes about 5 seconds to get first response.

Release Notes

1.0.0

Initial release of KIMI AI for C/C++ static analyze VScode plugin

For more information

Enjoy!

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