Noir LSP Doc Symbols
Implemented textDocument/documentSymbol for nargo/noir LSP in the main noir repo's LSP crate
Screenshots



Problem Statement
This project implements thetextDocument/documentSymbolrequest implementation. It provides all the symbols in provided source file. The project usesnoirc_frontend's parser to parse the source files and return document symbols. This is used in vscode to provide the outline part of the code.
Solution
It implements and serves a new request typetextDocument/documentSymbolsfor the noir LSP. It extracts source's document symbols by using the noirc_frontend's parser to parse and return symbols in a given document.This is used in vscode to provide the outline part of the code. It even allows to jump on the given symbols directly. But I am yet to return the ranges, it should be a simple byte offset to line/col conversion.
Hackathon
ETHOnline 2023
2023
Prizes
- 🏆
👩💻 Aztec — Best Dev Tool
Contributors
- kevaundray
1236 contributions
- TomAFrench
413 contributions
- jfecher
332 contributions
- guipublic
222 contributions
- phated
105 contributions
- vezenovm
78 contributions
- joss-aztec
54 contributions
- sirasistant
41 contributions
- kobyhallx
32 contributions
- Ethan-000
31 contributions
- jonybur
20 contributions
- Savio-Sou
15 contributions
- Maddiaa0
15 contributions
- alexvitkov
15 contributions
- yordanmadzhunkov
12 contributions
- nickysn
8 contributions
- ax0
7 contributions
- 0xYYY
5 contributions
- signorecello
5 contributions
- github-actions[bot]
5 contributions
- alexghr
4 contributions
- ludamad
4 contributions
- critesjosh
4 contributions
- mverzilli
3 contributions
- dmvict
3 contributions
- charlielye
3 contributions
- bsikar
3 contributions
- shuklaayush
3 contributions
- alehander92
2 contributions
- ilitteri
2 contributions