Compare commits

..

11 commits

Author SHA1 Message Date
43ec0a56de
fix: fix timestamp insertion
Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 1m34s
Continuous Integration / Build Package (push) Successful in 3m22s
2026-04-19 21:02:52 +02:00
073a04c337
fix: use actual timestamps for completion 2026-04-19 21:02:51 +02:00
61c4c00a57
docs: expand Neovim LSP setup with step-by-step guide and keymaps 2026-04-19 21:02:50 +02:00
2307891d0d
fix: fix lsp adding two @ 2026-04-19 21:02:49 +02:00
76a1a6b695
feat: add zed extension 2026-04-19 21:02:48 +02:00
dbf0808233
fix(daily): use midnight when creating file for non-today date 2026-04-19 21:02:47 +02:00
5c6a88a211
refactor: simplify LSP implementation
- 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-19 21:02:46 +02:00
d0316e8dac
fix: resolve clippy warnings in lsp module
- 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-19 21:02:45 +02:00
448cf31b39
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-19 21:02:44 +02:00
dfd21cb1f7 chore(deps): update https://git.konstantinfickel.de/actions/checkout digest to 34e1148
All checks were successful
Release / Build and Release (push) Successful in 6s
Continuous Integration / Build Package (push) Successful in 48s
Continuous Integration / Lint, Check & Test (push) Successful in 1m13s
2026-04-17 00:07:48 +00:00
2fcd64f616 chore(deps): update rust crate clap to v4.6.1
All checks were successful
Release / Build and Release (push) Successful in 6s
Continuous Integration / Build Package (push) Successful in 40s
Continuous Integration / Lint, Check & Test (push) Successful in 1m5s
2026-04-16 00:07:02 +00:00
2 changed files with 3 additions and 3 deletions

View file

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

View file

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