File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 14551455 " Search in current workspace and dependencies."
14561456 ]
14571457 },
1458- "rust-analyzer.autoTriggerParameterHints" : {
1459- "type" : " boolean" ,
1460- "default" : true ,
1461- "markdownDescription" : " Enable or disable automatic triggering of parameter hints when accepting suggestions."
1462- },
14631458 "$generated-end" : {}
14641459 }
14651460 },
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ export function shuffleCrateGraph(ctx: CtxInit): Cmd {
8989
9090export function triggerParameterHints ( _ : CtxInit ) : Cmd {
9191 return async ( ) => {
92- const autoTriggerParameterHints = vscode . workspace
93- . getConfiguration ( "rust-analyzer " )
94- . get < boolean > ( "autoTriggerParameterHints " ) ;
92+ const parameterHintsEnabled = vscode . workspace
93+ . getConfiguration ( "editor " )
94+ . get < boolean > ( "parameterHints.enabled " ) ;
9595
96- if ( autoTriggerParameterHints ) {
96+ if ( parameterHintsEnabled ) {
9797 await vscode . commands . executeCommand ( "editor.action.triggerParameterHints" ) ;
9898 }
9999 } ;
You can’t perform that action at this time.
0 commit comments