Comments (4)
Yes this is probably a good first issue to work on if you want to contribute.
from rust_hdl.
I am going to look into implementing this. I am new to the source code, although have some limited experience with Rust. If you have any tips on ideas on how to implement this, feel free to let me know.
At first perusal of the project, my plan is to investigate using the document_symbols(...)
function to see if that will give me a starting point for creating the LSIF dump.
from rust_hdl.
Document symbols is a good place to start. It will give you the location where every signal etc (named entity) is defined.
If you also need every place where a named entity is referenced you would use the Searcher trait to visit every reference in the AST.
I do not recommend using find all references for every named entity individually since it will traverse the entire AST every time. This is a lot more inefficient than doing it once for all references.
from rust_hdl.
Ok, thanks for the tip! I was planning on going the latter method, so thanks. I'll update this thread with progress/questions as I go along.
from rust_hdl.
Related Issues (20)
- In the readme.md add a description how to install VHDL_LS for Neovim HOT 1
- Error in `float_generic_pkg-body.vhd`
- Generic Library Inclusion HOT 2
- Getting errors for `ieee2008/float_generic_pkg-body.vhdl` HOT 3
- Support for VHDL-2019 HOT 2
- [Issue] Support for incremental sync HOT 1
- [BUG] File paths with $ are incorrectly being interpreted as environment variables HOT 2
- Support for VHDL-2019
- Autocompletion in concurrent statements broken (VSCode) HOT 4
- Signal of record type connected to input/output port of same record type reports a mismatch HOT 3
- Unused lint not available in vhdl_lang HOT 3
- Configurable lint settings for third party libraries HOT 3
- VHDL-LS does not appear in the Mason LSP list when searching for VHDL HOT 1
- Neovim on Mac OS cannot find vhdl_library exception and VHDL LS doesn't function HOT 2
- Adding autoformatting HOT 5
- [BUG] Warning reported regarding unused generic procedures/functions HOT 2
- [Clarification] No warning reported if object is not set HOT 2
- Panic when (seemingly) completing a port name HOT 8
- [Bug] Packages can't explicitly reference themselves HOT 1
- [Bug] Warning reported regarding relational operators HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust_hdl.