You run coursier with "cs" command nowadays.
Users of the new coursier no longer have the old
"coursier" command around.
Yet, the assertion required its presence.
That caused the project creation command to break.
After this change:
- the assertion passes if "cs" or "coursier" is there
("coursier" was only used to install the new "cs" if it was missing)
signal.SIGALRM is not available on Windows, causing test_completion to fail.
Replace with threading.Thread approach (daemon=True) that works on all platforms.
Add 28 new tests across 4 test files for Taplo TOML language support:
- test_toml_edge_cases.py: Tests for inline tables, multiline strings,
arrays of tables, nested tables, datetime values, and dependency tables
- test_toml_ignored_dirs.py: Tests for TOML-specific directory ignoring
(target, .cargo, node_modules)
- test_toml_symbol_retrieval.py: Tests for document overview, symbol tree,
directory overview, and symbol hierarchy operations
- __init__.py: Package initialization
Also adds config.toml test fixture with comprehensive TOML features for
edge case testing.
Total: 35 TOML tests (7 basic + 28 new), all passing.
- Remove unsupported capabilities from Taplo initialization params
(formatting, semanticTokens, configuration) that caused -32602 error
- Remove VS Code extension-specific initializationOptions (evenBetterToml)
- Update tests to match Taplo's actual symbol kinds (kind 19 for tables)
- Fix features symbol test to find top-level section, not nested key
Add TOML language server using Taplo with automatic binary download
for .toml file validation, formatting, and schema support.
Security:
- SHA256 checksum verification for downloaded binaries
- Zip slip vulnerability protection for archive extraction
- Download timeout (120s) to prevent indefinite hangs
Fixes#796: serena project index fails on Rust projects when
project.yml contains languages: ["toml"]. Without TOML in the
Language enum, loading such configurations raises ValueError:
'toml' is not a valid Language. This commonly occurs in Rust
projects where users want to index Cargo.toml alongside .rs files.