'Trouble Accessing Solidity on VSCode

When I do Ctrl+Shift+P on VSCode, I am unable to see Solidity as an option. If unfamiliar with Solidity, it is a language for writing smart contracts on the Ethereum blockchain.

I tried typing

% brew tap ethereum/ethereum

followed by

% brew install solidity

on the terminal line (Mac) as described on many internet resources, but an error comes up which keeps suggesting I try "brew install --cask cmake", which I have done and has been successful.

Is there anything I can do to access Solidity in VSCode? Thank you.



Solution 1:[1]

You must install solidity as an extension.

You do that :

  • By pressing Ctrl/cmd + Shift + x
  • And then writing solidity into the search bar.
  • After that, you click on the Install button.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 cursorrux