John Kane

Results 281 issues of John Kane

Respond to a missing contract/function by auti-importing the sol file containing the contract. Something like typescripts auto-import functionality. Doing this in general would be the ideal. But there may be...

enhancement

An import line error on a mispelt/non-existant indirect import gets a diagnostic (red squiggle line), a mispelt/non-existant direct import does not: ```solidity import "hardhat/consoleALMOST.sol"; ``` leads to ![image](https://user-images.githubusercontent.com/24030/186371068-eb9d4339-5f60-44eb-a130-67394ad91dea.png) But no...

improvement

This is feedback: https://github.com/nomiclabs/hardhat-vscode-feedback/issues/8 Currently, we only resolve dependencies based on Hardhat's project structure, which means resolving external dependencies using resolve with the project's root as basedir. We need to...

enhancement

If you click on the solidity status bar item and then click the hardhat config link to navigate to the config file, you get an error if you are in...

bug

Currently a warning can't be suppressed if its coming from hardhat/solc. One option is to allow hardhat vscode to suppress the warning perhaps as a workspace level setting?

enhancement

VSCode provides the an enhanced syntax highlighting feature that gives further refinement on the highlighting. See https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide for a guide. Currently `hardhat-vscode` provides a textmate grammar but would need to...

enhancement

If a user edits a file and leaves the code such that the `solidity-parser` errors, then we lose code navigation in that file. ## Reproduction Steps https://user-images.githubusercontent.com/24030/173074968-43eaebd0-7657-49e7-aa05-9b3aa543680a.mov ## Options 1....

type:bug
blocked-reason:needs-slang-usedef
status:blocked

Signature help is erroring after parsing out the function/event/error from the doc and getting no signature. This is showing up in our telemetry but there is no specific information on...

bug

In the language server spec this feature is referred to as `hover`: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover You can see it in action in typescript: ![image](https://user-images.githubusercontent.com/24030/152982225-3e029f25-4a60-44f0-aec3-95f0ef16c060.png) We may want to split out different syntactic...

enhancement

Within openzepplin, if you navigate to a nested type like `BitMaps.BitMap` the navigation fails: ![Apr-27-2022 15-29-22](https://user-images.githubusercontent.com/24030/165542154-70811976-2999-455b-a74f-2ea7857898c7.gif) The source file for this is `contracts/mocks/BitMapMock.sol`

type:bug
blocked-reason:needs-slang-usedef
status:blocked