Skip to content

init-options: support initialization options in .JETLSConfig.toml#398

Merged
aviatesk merged 1 commit intomasterfrom
file-initalization-options
Dec 15, 2025
Merged

init-options: support initialization options in .JETLSConfig.toml#398
aviatesk merged 1 commit intomasterfrom
file-initalization-options

Conversation

@aviatesk
Copy link
Owner

Initialization options can now be configured via the [initialization_options] section in .JETLSConfig.toml, in addition to editor-specific LSP settings. This provides a client-agnostic way to configure initialization options that can be committed to version control.

When both sources are present, file-based configuration takes precedence (file > client > default), as like the dynamic configuration. But I may revise this priority rule in the very near future.

Initialization options can now be configured via the
`[initialization_options]` section in `.JETLSConfig.toml`, in addition
to editor-specific LSP settings. This provides a client-agnostic way to
configure initialization options that can be committed to version
control.

When both sources are present, file-based configuration takes precedence
(file > client > default), as like the dynamic configuration. But I may
revise this priority rule in the very near future.
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 64.70588% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.23%. Comparing base (fc3f2c7) to head (bef46db).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/init_options.jl 54.54% 5 Missing ⚠️
src/initialize.jl 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #398      +/-   ##
==========================================
- Coverage   65.24%   65.23%   -0.01%     
==========================================
  Files          44       44              
  Lines        4975     4991      +16     
==========================================
+ Hits         3246     3256      +10     
- Misses       1729     1735       +6     
Flag Coverage Δ
JETLS.jl 65.23% <64.70%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aviatesk aviatesk merged commit c027eeb into master Dec 15, 2025
11 of 13 checks passed
@aviatesk aviatesk deleted the file-initalization-options branch December 15, 2025 13:41
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