Compare commits

..

9 commits

Author SHA1 Message Date
74dae9a9eb
fix: fix timestamp insertion
Some checks failed
Continuous Integration / Build Package (push) Has been cancelled
Continuous Integration / Lint, Check & Test (push) Has been cancelled
2026-04-19 21:01:37 +02:00
50cdc14c06
fix: use actual timestamps for completion
Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 59s
Continuous Integration / Build Package (push) Successful in 2m18s
2026-04-19 20:56:34 +02:00
0444574ea1
docs: expand Neovim LSP setup with step-by-step guide and keymaps 2026-04-19 20:54:11 +02:00
036d57176f
fix: fix lsp adding two @
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 1m41s
Continuous Integration / Build Package (push) Successful in 2m21s
2026-04-19 20:48:56 +02:00
3b116782cc
feat: add zed extension
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 2m21s
Continuous Integration / Build Package (push) Successful in 3m28s
2026-04-19 20:29:10 +02:00
d872e9e338
fix(daily): use midnight when creating file for non-today date
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 4m17s
Continuous Integration / Build Package (push) Successful in 5m24s
2026-04-19 10:55:13 +02:00
d0e4dccd1a
refactor: simplify LSP implementation
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 1m34s
Continuous Integration / Build Package (push) Successful in 2m17s
- Extract find_pattern_occurrences_in_lines helper; use in both references and rename handlers (deduplicates word-boundary search logic)
- Add MD_EXT constant to replace three repeated "md" string literals
- Fix double lock acquire/drop/re-acquire in code_action (use single guard)
- Fix symbol() to populate file_lines cache when parsing from disk (avoids redundant re-reads on subsequent requests)
- Remove section separator comment blocks (code structure is self-evident from Rust syntax)
2026-04-13 21:52:41 +02:00
b224620212
fix: resolve clippy warnings in lsp module
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 2m30s
Continuous Integration / Build Package (push) Successful in 3m38s
- Replace map_or(false, ...) with is_none_or(... !=)
- Replace explicit auto-derefs (&*Static) with auto-deref (&Static)
- Refactor range-indexed loop to iterator with enumerate + skip/take
- Suppress deprecated root_path field with allow(deprecated)

docs: update README and REQUIREMENTS for streamd lsp

- Add streamd lsp to commands table in README
- Add Editor Integration section with Zed, Neovim, VS Code snippets
- Add R25 LSP requirements (R25a–R25e) to REQUIREMENTS.md
2026-04-13 21:42:15 +02:00
50c592a641
feat: add streamd lsp subcommand with LSP server
Implements a full Language Server Protocol server accessible via
`streamd lsp`. The server communicates over stdin/stdout and auto-
detects the workspace root from the LSP initialize request.

Features implemented:
- Passive mode when no .streamd.toml exists in workspace root
- Workspace-root-based config loading (bypasses R22/R23 global config)
- .streamd.toml file watcher (config reloads without restart)
- textDocument/completion with @ trigger, conditional suggestions
  (if_with relationships), and temporal date/time snippets (R16)
- textDocument/publishDiagnostics: R15 file-name format + R18
  timesheet violations (overlapping timecards, unclosed days)
- textDocument/documentSymbol: shard tree exposed as nested symbols
- textDocument/codeAction: "Mark task as done" quickfix for @Task
- workspace/symbol: cross-file shard search
- textDocument/references: find all @Marker occurrences
- textDocument/rename: rename @Marker across all files

Dependencies added: tower-lsp 0.20, tokio, dashmap, serde_json
2026-04-13 21:37:38 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ jobs:
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v6
uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix --version
- run: nix flake check
@ -22,6 +22,6 @@ jobs:
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v6
uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix build

View file

@ -13,7 +13,7 @@ jobs:
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v6
uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0