rust_hdl icon indicating copy to clipboard operation
rust_hdl copied to clipboard

Selected names from 'unusual' places

Open Schottkyc137 opened this issue 1 year ago • 1 comments

VHDL allows to prefix a name with the label of the enclosing element as 'scope'. For example, for processes:

P: process
    variable DATA: INTEGER;
begin
    -- Within process P, the name "P.DATA" denotes a named entity
    -- declared in process P.
end process;

This example is directly taken from the LRM (8.3; examples)

At the moment, the language server sees this as an error.

The same is likely true for blocks, generate statements and probably more.

Schottkyc137 avatar Jan 07 '24 14:01 Schottkyc137

I didn't even know this existed in VHDL, but I find it amazing to help readability in code when you have for..generate and block. Would be cool to see this fixed!

lgu-appear avatar Jan 12 '24 09:01 lgu-appear