VSCode-SystemVerilog
VSCode-SystemVerilog copied to clipboard
LSP: DocumentSymbolProvider
- Add a listener or visitor to extract symbols from the current file:
- [ ] Modules/Interfaces/Classes/Packages/..
- [ ] Functions/Tasks
- [ ] Instantiated modules/Variables
- [ ] Ports/Parameters
- [ ] Labels/Assertions
- [ ] Compiler directives (`define)
Basically incrementally replace the regular expressions in parser.ts. The documentSymbolProvider in the client can be replaced with that on the server when it eclipses the current parser.