diff --git a/.clinerules b/.clinerules index 4f726299d61..9bd9ff02ee8 100644 --- a/.clinerules +++ b/.clinerules @@ -16,6 +16,11 @@ - Logs can be found in `logs\app.log` - Logfile is overwritten on each run to keep it to a manageable volume. +4. Styling Guidelines: + - Use Tailwind CSS classes instead of inline style objects for new markup + - VSCode CSS variables must be added to webview-ui/src/index.css before using them in Tailwind classes + - Example: `
` instead of style objects + # Adding a New Setting diff --git a/src/core/config/CustomModesManager.ts b/src/core/config/CustomModesManager.ts index ad3a2b8b100..331e3fb9097 100644 --- a/src/core/config/CustomModesManager.ts +++ b/src/core/config/CustomModesManager.ts @@ -6,6 +6,8 @@ import { ModeConfig } from "../../shared/modes" import { fileExistsAtPath } from "../../utils/fs" import { arePathsEqual } from "../../utils/path" +const ROOMODES_FILENAME = ".roomodes" + export class CustomModesManager { private disposables: vscode.Disposable[] = [] private isWriting = false @@ -15,7 +17,7 @@ export class CustomModesManager { private readonly context: vscode.ExtensionContext, private readonly onUpdate: () => Promise+
Select the language that Cline should use for communication.