-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Semantic highlight and document symbols on slang 0.10 (#523)
* feat: semantic highlighting * feat: documentSymbol - project outline * chore: migrate to slang 0.10.1 semantic highlight * track performance spans * error tolerance for document symbols * decouple onSemanticTokens from solidity-parser * optimize walking by storing references * leverage trackTimingSync error handling * enable documentSymbol and semanticHighlight only on slang-supported platforms * feature flags * use finders for walking the cst * rework semantic highlighting to use cursor finders * fix linter * Changes based on PR feedback (part 1) * Support unnamed function definition on documentSymbols * refactor based on feedback * moving version selection to slangHelpers * add comment to semantic tokens test
- Loading branch information
Showing
58 changed files
with
2,563 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"documentSymbol": { | ||
"percent": 0 | ||
}, | ||
|
||
"semanticHighlighting": { | ||
"percent": 0 | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
"url": "https://github.com/NomicFoundation/hardhat-vscode/issues" | ||
}, | ||
"scripts": { | ||
"postinstall": "npm install --no-save --ignore-scripts --force @nomicfoundation/[email protected]", | ||
"build": "tsc -b ./client/tsconfig.json && tsc -b ./server/tsconfig.build.json && tsc -b ./coc/tsconfig.json && tsc -b", | ||
"watch": "concurrently -n client,server \"tsc -b -w ./client/tsconfig.json\" \"tsc -b -w ./server/tsconfig.build.json\"", | ||
"test:unit": "npm -w server run test", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.