What
This is the a sibling RFC with RFC: hardhat-fe (Hardhat plugin to develop smart contracts with Fe), the hardhat-fe
plugin is in a relatively mature status, implementing Language Server Protocol and editor plugins (VsCode
, VIM
, Intellij IDEA
, Emacs
, Sublime
etc.) for the Fe smart contract language could be the next step to contribute to the Fe ecosystem.
Why
Sophisticated editor plugins are required by any modern programming languages, including our new baby Fe, and we will follow the Language Server Protocol Server and Client best practice to make it.
How
We will implement the LSP server and VsCode plugin first.
Possible steps:
- syntax highlighting
- auto completion
- display type definition on hover
- go to definition
- go to a symbol in current file
- search a symbol
- find all references
- rename a symbol
- change all occurrences