|
|
@ -78,6 +78,7 @@ export function activate(context: vscode.ExtensionContext) { |
|
|
|
// TODO: prune text up to a maximum context length
|
|
|
|
// TODO: prune text up to a maximum context length
|
|
|
|
|
|
|
|
|
|
|
|
// Prefix the filename in a comment
|
|
|
|
// Prefix the filename in a comment
|
|
|
|
|
|
|
|
// TODO: add a config for this
|
|
|
|
let pfx: string, sfx: string; |
|
|
|
let pfx: string, sfx: string; |
|
|
|
const fname = document.fileName.split('/').at(-1); |
|
|
|
const fname = document.fileName.split('/').at(-1); |
|
|
|
const lang = document.languageId; |
|
|
|
const lang = document.languageId; |
|
|
|