Skip to content

feat(solidlsp): add ls_args and ls_extra_args for custom LS launch command#1267

Open
arikon wants to merge 1 commit intooraios:mainfrom
arikon:feature/ls-args-ls-extra-args
Open

feat(solidlsp): add ls_args and ls_extra_args for custom LS launch command#1267
arikon wants to merge 1 commit intooraios:mainfrom
arikon:feature/ls-args-ls-extra-args

Conversation

@arikon
Copy link
Copy Markdown
Contributor

@arikon arikon commented Apr 1, 2026

Summary

  • ls_extra_args — extra arguments appended to the default language server launch command (e.g. ["--query-driver=/usr/bin/arm-none-eabi-gcc"])
  • ls_args — fully replaces default arguments; only the executable path is kept (e.g. ["--log=verbose"])
  • Both options work via ls_specific_settings in .serena/project.yml and apply to all language servers using LanguageServerDependencyProviderSinglePath
  • Documented new options in ClangdLanguageServer docstring as an example

Example config

ls_specific_settings:
  cpp:
    ls_extra_args:
      - "--query-driver=/usr/bin/arm-none-eabi-gcc"

…encyProviderSinglePath

- ls_extra_args appends to the default launch command args
- ls_args fully replaces the default args (executable path is always kept)
- Documented new options in ClangdLanguageServer docstring
- Added unit tests for all combinations in test_cpp_dependency_provider.py
@opcode81 opcode81 force-pushed the main branch 3 times, most recently from 089706c to 0e22958 Compare April 4, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant