File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1455
1455
" Search in current workspace and dependencies."
1456
1456
]
1457
1457
},
1458
- "rust-analyzer.autoTriggerParameterHints" : {
1459
- "type" : " boolean" ,
1460
- "default" : true ,
1461
- "markdownDescription" : " Enable or disable automatic triggering of parameter hints when accepting suggestions."
1462
- },
1463
1458
"$generated-end" : {}
1464
1459
}
1465
1460
},
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ export function shuffleCrateGraph(ctx: CtxInit): Cmd {
89
89
90
90
export function triggerParameterHints ( _ : CtxInit ) : Cmd {
91
91
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 " ) ;
95
95
96
- if ( autoTriggerParameterHints ) {
96
+ if ( parameterHintsEnabled ) {
97
97
await vscode . commands . executeCommand ( "editor.action.triggerParameterHints" ) ;
98
98
}
99
99
} ;
You can’t perform that action at this time.
0 commit comments