Code on the Rocks Language
COTR

To Semicolon, Or Not To Semicolon

npx --package yo --package generator-code -- yo code

Update package.json:

"contributes": {
"commands": [
{
"command": "cotr-chat.helloWorld",
"title": "Hello World"
}
], "chatParticipants": [
{
"id": "cotr-chat",
"name": "cotr",
"description": "Use COTR snippets in Copilot Chat",
"isSticky": true
}
]
},
"extensionDependencies": [
"github.copilot-chat"
],
"enabledApiProposals": [
"chatParticipant",
"chatVariableResolver",
"languageModels"
],

Copy .d.ts files from chat example into project.

https://code.visualstudio.com/api/extension-guides/chat

https://code.visualstudio.com/api/extension-guides/language-model

https://supabase.com/docs/guides/auth/auth-deep-dive/auth-deep-dive-jwts#jwts-in-supabase

https://supabase.com/docs/reference/javascript/auth-refreshsession?queryGroups=example&example=refresh-session-using-a-passed-in-session

https://github.com/microsoft/vscode-extension-samples/tree/main/chat-sample

Copyright © 2024 Code On The Rocks. All rights reserved.