Skip to content

Verilog-mode with LSP? #1814

Description

@unfrostedpoptart

Sorry - this is more a help request than an issue with verilog-mode although I think this is the best place for it to be seen by the desired audience.

A while back ( https://github.com/veripool/verilog-mode/issues/1710 ), I asked about using LSP with Verilog-mode but Wilson wasn't interested in adding support. Now that I understand LSP a tiny bit better, I think I can ask a more intelligent question:

Is anyone using verilog-mode and LSP together and have a working configuration? From my slightly better understanding of LSP, verilog-mode would still be used for the wonderful AUTO functionality. It might also be in charge of indentation but I'm not positive on this. However, the font-lock stuff would all be disabled and LSP would handle this. And, LSP would also deal with all the completion and links to definitions. Therefore, I don't think verilog-mode needs any changes to work with LSP - just a few setq-s.

So, I'm hoping someone here has set this up and can give installation and configuration tips!

Activity

  1. gmlarumbe commented on Jan 29, 2023

    @gmlarumbe
    Contributor

    Hi @unfrostedpoptart

    You could take a look at verilog-ext package. It provides functions that ease the setup of lsp and eglot for verilog-mode:

  2. unfrostedpoptart commented on Jan 29, 2023

    @unfrostedpoptart
    Author

    Thanks! It's still about a hundred steps from the docs but I think I can follow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions