- Every time we make a change, we must bump the version number in:
README.mdpackage.json
- After updating, run the packaging command:
npm run build vsce package
Upload the new package.
Delete the old package to avoid conflicts.
After packaging, install the extension locally:
code install-extension your-package-name.vsixor after the git clone press f5 inside extension.ts to run local dev based on the npm run build
- When updating endpoints, modify:
- simdAi.ts
- config.ts
- Apache 2.0
-
extension.ts
Entry point of the extension. Responsible for activation and registering all commands. -
syntaxHighlighting.ts
Contains logic for syntax highlighting of intrinsics and hover tooltips. -
config.ts
Handles configuration and API key management. -
ChatViewProvider.ts, ChatWebviewHtml.ts, media/chat.html
Implements the sidebar chat view, including its UI and communication logic. -
utils/
Utility functions used for managing chat sessions and message history. -
translation/
Contains logic for the translation commands across different architectures. -
api/ Implements various fetches