Skip to content

VHDL Syntax: Add text mod and byte offset <-> source location mapping#473

Merged
Schottkyc137 merged 13 commits into
VHDL-LS:masterfrom
Schottkyc137:source-loc
May 27, 2026
Merged

VHDL Syntax: Add text mod and byte offset <-> source location mapping#473
Schottkyc137 merged 13 commits into
VHDL-LS:masterfrom
Schottkyc137:source-loc

Conversation

@Schottkyc137
Copy link
Copy Markdown
Contributor

Branched out from #471

This PR adds a new mod: vhdl_syntax/text for conversions between byte-offsets and source location as required by a linter or LSP.

The converter can be used with any comment encoding and any target encoding (LSP wants UTF-16; linters likely want UTF-8).

@Schottkyc137 Schottkyc137 merged commit ad6214c into VHDL-LS:master May 27, 2026
19 checks passed
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