88 Bell ,
99 Database ,
1010 SquareTerminal ,
11+ Settings as SettingsIcon , // renamed to avoid conflict with component name
1112 FlaskConical ,
1213 AlertTriangle ,
1314 Globe ,
@@ -49,6 +50,7 @@ import { CheckpointSettings } from "./CheckpointSettings"
4950import { NotificationSettings } from "./NotificationSettings"
5051import { ContextManagementSettings } from "./ContextManagementSettings"
5152import { TerminalSettings } from "./TerminalSettings"
53+ import { MiscellaneousSettings } from "./MiscellaneousSettings"
5254import { ExperimentalSettings } from "./ExperimentalSettings"
5355import { LanguageSettings } from "./LanguageSettings"
5456import { About } from "./About"
@@ -66,6 +68,7 @@ const sectionNames = [
6668 "notifications" ,
6769 "contextManagement" ,
6870 "terminal" ,
71+ "miscellaneous" ,
6972 "experimental" ,
7073 "language" ,
7174 "about" ,
@@ -131,6 +134,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
131134 terminalZshOhMy,
132135 terminalZshP10k,
133136 terminalZdotdir,
137+ stickyModesEnabled,
134138 writeDelayMs,
135139 showRooIgnoredFiles,
136140 remoteBrowserEnabled,
@@ -244,6 +248,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
244248 vscode . postMessage ( { type : "terminalZshOhMy" , bool : terminalZshOhMy } )
245249 vscode . postMessage ( { type : "terminalZshP10k" , bool : terminalZshP10k } )
246250 vscode . postMessage ( { type : "terminalZdotdir" , bool : terminalZdotdir } )
251+ vscode . postMessage ( { type : "stickyModesEnabled" , bool : stickyModesEnabled } )
247252 vscode . postMessage ( { type : "mcpEnabled" , bool : mcpEnabled } )
248253 vscode . postMessage ( { type : "alwaysApproveResubmit" , bool : alwaysApproveResubmit } )
249254 vscode . postMessage ( { type : "requestDelaySeconds" , value : requestDelaySeconds } )
@@ -288,6 +293,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
288293 const notificationsRef = useRef < HTMLDivElement > ( null )
289294 const contextManagementRef = useRef < HTMLDivElement > ( null )
290295 const terminalRef = useRef < HTMLDivElement > ( null )
296+ const miscellaneousRef = useRef < HTMLDivElement > ( null )
291297 const experimentalRef = useRef < HTMLDivElement > ( null )
292298 const languageRef = useRef < HTMLDivElement > ( null )
293299 const aboutRef = useRef < HTMLDivElement > ( null )
@@ -301,6 +307,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
301307 { id : "notifications" , icon : Bell , ref : notificationsRef } ,
302308 { id : "contextManagement" , icon : Database , ref : contextManagementRef } ,
303309 { id : "terminal" , icon : SquareTerminal , ref : terminalRef } ,
310+ { id : "miscellaneous" , icon : SettingsIcon , ref : miscellaneousRef } ,
304311 { id : "experimental" , icon : FlaskConical , ref : experimentalRef } ,
305312 { id : "language" , icon : Globe , ref : languageRef } ,
306313 { id : "about" , icon : Info , ref : aboutRef } ,
@@ -313,6 +320,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
313320 notificationsRef ,
314321 contextManagementRef ,
315322 terminalRef ,
323+ miscellaneousRef ,
316324 experimentalRef ,
317325 ] ,
318326 )
@@ -494,6 +502,13 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
494502 />
495503 </ div >
496504
505+ < div ref = { miscellaneousRef } >
506+ < MiscellaneousSettings
507+ stickyModesEnabled = { stickyModesEnabled }
508+ setCachedStateField = { setCachedStateField }
509+ />
510+ </ div >
511+
497512 < div ref = { experimentalRef } >
498513 < ExperimentalSettings
499514 setCachedStateField = { setCachedStateField }
0 commit comments