Y

YUL-LSP

Langauge Server Protocol (LSP) for YUL language.

3
Y

YUL-LSP

Langauge Server Protocol (LSP) for YUL language.

The problem YUL-LSP solves

It supports:

  1. "Go to definition" feature: when the developer hovers in a function name and then clicks the "Go to definition" shortcut and finally the mouse cursor will be moved to point to the function definition.
  2. Send info about function signature when the cursor hovers into the function selector.
  3. Send info about hovered address when the cursor hovers into the contract address.
  4. API service to connect with Dune to fetch functions signature, and the contract name.

Challenges I ran into

  • Learning Rust while building the project.
  • Challenge in integrating 3 different parts, Dune APIs, LSP, and Yul.
  • Staying up all night focusing.

Discussion