.continuerules
This commit is contained in:
parent
7105be0bee
commit
1e98e366fc
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { IDE } from "..";
|
||||
|
||||
export const SYSTEM_PROMPT_DOT_FILE = ".instructions";
|
||||
export const SYSTEM_PROMPT_DOT_FILE = ".continuerules";
|
||||
|
||||
export async function getSystemPromptDotFile(ide: IDE): Promise<string | null> {
|
||||
const dirs = await ide.getWorkspaceDirs();
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ import { VsCodeIde } from "../VsCodeIde";
|
|||
|
||||
import { VsCodeMessenger } from "./VsCodeMessenger";
|
||||
|
||||
import { SYSTEM_PROMPT_DOT_FILE } from "core/config/getSystemPromptDotFile";
|
||||
import type { VsCodeWebviewProtocol } from "../webviewProtocol";
|
||||
|
||||
export class VsCodeExtension {
|
||||
|
|
@ -285,7 +286,7 @@ export class VsCodeExtension {
|
|||
if (
|
||||
filepath.endsWith(".continuerc.json") ||
|
||||
filepath.endsWith(".prompt") ||
|
||||
filepath.endsWith(".instructions")
|
||||
filepath.endsWith(SYSTEM_PROMPT_DOT_FILE)
|
||||
) {
|
||||
this.configHandler.reloadConfig();
|
||||
} else if (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue