@@ -309,7 +309,7 @@ function createProfileSession(
309309 stdio : 'pipe' ,
310310 } ) ;
311311
312- return new LspProfileSession ( child , channel , readVizslaInitializationOptions ) ;
312+ return new LspProfileSession ( child , channel , readDiagnosticsProfilingInitializationOptions ) ;
313313}
314314
315315async function stopProfileSession (
@@ -349,28 +349,12 @@ async function showProfileCompleteMessage(
349349 }
350350}
351351
352- function readVizslaInitializationOptions ( ) : Record < string , unknown > {
352+ function readDiagnosticsProfilingInitializationOptions ( ) : Record < string , unknown > {
353353 const config = vscode . workspace . getConfiguration ( 'vizsla' ) ;
354354 return {
355355 files_excludeDirs : config . get ( 'files.excludeDirs' ) ?? [ ] ,
356356 files_watcher : config . get ( 'files.watcher' ) ?? 'client' ,
357- workspace_auto_reload : config . get ( 'workspace.auto.reload' ) ?? true ,
358357 scope_visibility : config . get ( 'scope.visibility' ) ?? 'private' ,
359- formatter_provider : config . get ( 'formatter.provider' ) ?? 'verible' ,
360- formatter_path : config . get ( 'formatter.path' ) ?? null ,
361- formatter_args : config . get ( 'formatter.args' ) ?? [ '--failsafe_success=false' ] ,
362- formatting_on_enter : config . get ( 'formatting.on.enter' ) ?? true ,
363- formatting_in_comments : config . get ( 'formatting.in.comments' ) ?? true ,
364- formatting_indent_width : config . get ( 'formatting.indent.width' ) ?? 4 ,
365- inlayHints_port_connection_enable : config . get ( 'inlayHints.port.connection.enable' ) ?? true ,
366- inlayHints_parameter_assignment_enable :
367- config . get ( 'inlayHints.parameter.assignment.enable' ) ?? true ,
368- inlayHints_end_structure_enable : config . get ( 'inlayHints.end.structure.enable' ) ?? true ,
369- lens_instantiations_enable : config . get ( 'lens.instantiations.enable' ) ?? true ,
370- semantic_tokens_port_clk_rst_enable :
371- config . get ( 'semantic.tokens.port.clk.rst.enable' ) ?? true ,
372- semantic_tokens_port_input_output_enable :
373- config . get ( 'semantic.tokens.port.input.output.enable' ) ?? true ,
374358 diagnostics : {
375359 enable : config . get ( 'diagnostics.enable' ) ?? true ,
376360 update : config . get ( 'diagnostics.update' ) ?? 'onSave' ,
@@ -381,12 +365,6 @@ function readVizslaInitializationOptions(): Record<string, unknown> {
381365 rules : config . get ( 'diagnostics.slang.rules' ) ?? [ ] ,
382366 } ,
383367 } ,
384- signature_help_params_only : config . get ( 'signature.help.params.only' ) ?? false ,
385- qihe_command : config . get ( 'qihe.command' ) ?? 'qihe' ,
386- qihe_autoConfigureArgsFromManifest :
387- config . get ( 'qihe.autoConfigureArgsFromManifest' ) ?? true ,
388- qihe_compileArgs : config . get ( 'qihe.compileArgs' ) ?? [ ] ,
389- qihe_runArgs : config . get ( 'qihe.runArgs' ) ?? [ '-g' , 'std' ] ,
390368 } ;
391369}
392370
0 commit comments