Skip to content

Commit abc7346

Browse files
kevinvandijkmarkijbema
authored andcommitted
Enable autocomplete by default for new installs
and set the default of gutter animation to disabled
1 parent ff244fd commit abc7346

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,9 +2094,13 @@ ${prompt}
20942094
sharingEnabled: sharingEnabled ?? false,
20952095
organizationAllowList,
20962096
// kilocode_change start
2097-
ghostServiceSettings: ghostServiceSettings ?? {
2098-
enableQuickInlineTaskKeybinding: true,
2099-
enableSmartInlineTaskKeybinding: true,
2097+
ghostServiceSettings: {
2098+
enableAutoTrigger: ghostServiceSettings?.enableAutoTrigger ?? true,
2099+
enableQuickInlineTaskKeybinding: ghostServiceSettings?.enableQuickInlineTaskKeybinding ?? true,
2100+
enableSmartInlineTaskKeybinding: ghostServiceSettings?.enableSmartInlineTaskKeybinding ?? true,
2101+
showGutterAnimation: ghostServiceSettings?.showGutterAnimation ?? false,
2102+
provider: ghostServiceSettings?.provider,
2103+
model: ghostServiceSettings?.model,
21002104
},
21012105
// kilocode_change end
21022106
organizationSettingsVersion,
@@ -2310,9 +2314,15 @@ ${prompt}
23102314
commitMessageApiConfigId: stateValues.commitMessageApiConfigId, // kilocode_change
23112315
terminalCommandApiConfigId: stateValues.terminalCommandApiConfigId, // kilocode_change
23122316
// kilocode_change start
2313-
ghostServiceSettings: stateValues.ghostServiceSettings ?? {
2314-
enableQuickInlineTaskKeybinding: true,
2315-
enableSmartInlineTaskKeybinding: true,
2317+
ghostServiceSettings: {
2318+
enableAutoTrigger: stateValues.ghostServiceSettings?.enableAutoTrigger ?? true,
2319+
enableQuickInlineTaskKeybinding:
2320+
stateValues.ghostServiceSettings?.enableQuickInlineTaskKeybinding ?? true,
2321+
enableSmartInlineTaskKeybinding:
2322+
stateValues.ghostServiceSettings?.enableSmartInlineTaskKeybinding ?? true,
2323+
showGutterAnimation: stateValues.ghostServiceSettings?.showGutterAnimation,
2324+
provider: stateValues.ghostServiceSettings?.provider,
2325+
model: stateValues.ghostServiceSettings?.model,
23162326
},
23172327
// kilocode_change end
23182328
experiments: stateValues.experiments ?? experimentDefault,

src/services/ghost/GhostGutterAnimation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { GhostServiceSettings } from "@roo-code/types"
44
export class GhostGutterAnimation {
55
private state: "hide" | "active" = "hide"
66
private decorationActive: vscode.TextEditorDecorationType
7-
private isEnabled: boolean = true
7+
private isEnabled: boolean = false
88

99
public constructor(context: vscode.ExtensionContext) {
1010
this.decorationActive = vscode.window.createTextEditorDecorationType({
@@ -15,7 +15,7 @@ export class GhostGutterAnimation {
1515
}
1616

1717
public updateSettings(settings: GhostServiceSettings | undefined) {
18-
this.isEnabled = settings?.showGutterAnimation !== false
18+
this.isEnabled = settings?.showGutterAnimation === true
1919
if (!this.isEnabled) {
2020
this.clearDecorations()
2121
}

src/services/ghost/GhostServiceManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class GhostServiceManager {
121121
enableAutoTrigger: false,
122122
enableSmartInlineTaskKeybinding: false,
123123
enableQuickInlineTaskKeybinding: false,
124-
showGutterAnimation: true,
124+
showGutterAnimation: false,
125125
}
126126
await this.saveSettings()
127127
await this.load()
@@ -133,7 +133,7 @@ export class GhostServiceManager {
133133
enableAutoTrigger: true,
134134
enableSmartInlineTaskKeybinding: true,
135135
enableQuickInlineTaskKeybinding: true,
136-
showGutterAnimation: true,
136+
showGutterAnimation: false,
137137
}
138138
await this.saveSettings()
139139
await this.load()

webview-ui/src/components/settings/DisplaySettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export const DisplaySettings = ({
136136
<div className="mt-6 pt-6 border-t border-vscode-panel-border">
137137
<div className="flex flex-col gap-1">
138138
<VSCodeCheckbox
139-
checked={ghostServiceSettings?.showGutterAnimation !== false}
139+
checked={ghostServiceSettings?.showGutterAnimation === true}
140140
onChange={(e) => {
141141
onShowGutterAnimationChange((e as any).target?.checked || false)
142142
}}>

0 commit comments

Comments
 (0)