-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with emacs lsp-bridge package, textDocument/definition find contract definition not work #573
Comments
I have not been able to reproduce this error when navigating within the vscode extension against the protokol template repo. Which version of the language server is being used by the emacs package? |
0.9.0 |
The latest version of the solidity language server is Can you try updating to the last language server and retesting? I initially thought there might be a mapping issue with the line/column numbers coming from the emacs package, but the message shown matches the message that vscode sends for |
I update it with
same error Does it setup with initial setting? |
The defaults should work in this case. The directory that you start the language server might have an effect, if its not able to identify the Hardhat/Foundry project directory. Can you point me to the emacs package you are using to interact with our Language Server? |
The code file example
contracts/BasicERC20.sol
fromhttps://github.com/protokol/solidity-typescript-hardhat-template
The code sample:
find
ERC20Pausable
definition fail:But find the file definition works, find the
"@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"
, it jump to the right fileI also test the code with emacs lsp-mode package, same behaviour, same error.
The text was updated successfully, but these errors were encountered: