Skip to content

Improve library snippet generation #31

@dominiksalvet

Description

@dominiksalvet

Hello,
The current library generation based on ieee prefix is pretty weak and inflexible. It would be great if it could respect either vhdl.suggestLibraryCase settings or current typing case - e.g., writing it without capitals would generate following:

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

... instead of ...

library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;

It may be somewhat connected with #6 but this particular case was not covered in the proposed changes.

What do you think about this suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions