hardhat-vscode
hardhat-vscode copied to clipboard
Solidity and Hardhat support for Visual Studio Code
To reproduce: ```solidity IERC20(tokenAddr). // no completion IERC20 token = IERC20(tokenAddr); token. // has completion ``` Completion looks like this: which I assume is the `getDefaultCompletions` branch? https://github.com/NomicFoundation/hardhat-vscode/blob/6c7d5b68d6f53582cc8ed98dfd395578a7e58e64/server/src/services/completion/onCompletion.ts#L176-L178 Randomly tried...
When using named function parameters during a function invocation, like foo({ bar: 42, paz: 36}). Rename action does not properly handle these named parameters Reproduction Repo: https://github.com/DrakeEvans/tools-for-solidity-bug/blob/master/src/Counter.sol Steps: Highlight newNumber...
Version 0.7.3 When importing `.sol` files into a Foundry` .t.sol` test file the Solidity language server begins to crash until it refuses to restart. It started with 3 of my...
Hardhat version: 2.16.1 NPM 9.7.2 Node Version: v18.16.1 OS: Windows 11 for VSCode, but using WSL 2 with Ubuntu 22.04 for project I had tried doing what the error message...
(This is my last issue for today!) I don't know what this means but I see this in the Neovim logs when using the server directly with the built-in LSP...
This is a feature provided by https://github.com/PraneshASP/vscode-solidity-inspector We should show a warning (and ideally a quickfix to remove) for unused imports. This is a good candidate for a first slang...
Just noticed that there are a lot of global completions (i.e. data types, reserved keywords, global vars/functions) that are not shown when editing contracts, but are present on the codebase....
Added additional on_attach and capabilities to nvim-lspconfig - [ ] Because this PR includes a **bug fix**, relevant tests have been included. - [ ] Because this PR includes a...
Sentry Issue: [VSCODE-EXTENSION-1QN](https://sentry.io/organizations/nomic-labs/issues/3130424335/?referrer=github_integration) ``` Error: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined] File "/Users/pvu/.vscode/extensions/nomicfoundation.hardhat-solidity-0.2.0/server/out/index.js", line 31, in Object.Ki [as create] '{snip} s,Ri)};if(s.is(mi)&&s.is(Nn))return{start:mi,end:Nn};throw new Error("Range#create called with invalid...
Sentry data collection uses the anonymized machineId when reporting exceptions. However, because we capture unexpected exceptions these can capture user home directory names, if there is a filesystem exception for...