github1s icon indicating copy to clipboard operation
github1s copied to clipboard

Support Syntax Highlighting for Solidity

Open bijoy26 opened this issue 4 years ago โ€ข 7 comments

Solidity is a programming language designed for developing smart contracts that run on Ethereum blockchain.

It would be great for this project to have syntax highlighting support for Solidity. Here is the Solidity extension repo for VS code and here's the json syntax file.

Additionally, if you want me to do this, I'm up for adding this feature.

bijoy26 avatar Jun 10 '21 13:06 bijoy26

Hello there!๐Ÿ‘‹ Welcome to the project!๐Ÿ’– Thank you and congrats๐ŸŽ‰for opening your very first issue in this project.Be patient while we get back to you.๐Ÿ˜„

welcome[bot] avatar Jun 10 '21 13:06 welcome[bot]

You Can Go Ahead, And Create an PR for the same.

Siddhant-K-code avatar Jun 10 '21 14:06 Siddhant-K-code

Awesome. I'm a newcomer in this project, so would you mind sharing the high level steps to add the extension? Also, should I use cloud development (gitpod) or build the project locally?

bijoy26 avatar Jun 10 '21 16:06 bijoy26

You can follow the examples like these https://github.com/conwnet/github1s/tree/master/extensions/scala-web https://github.com/conwnet/github1s/tree/master/extensions/elm-web https://github.com/conwnet/github1s/tree/master/extensions/dart-web

I suggest building the project locally.

xcv58 avatar Jun 10 '21 16:06 xcv58

Any workarounds to support the solidity syntax?

arbazkiraak avatar Aug 09 '21 07:08 arbazkiraak

Any workarounds to support the solidity syntax?

I am planning to support more native VS Code extensions in GitHub1s. Once we achieve this, we can support solidity syntax by installing native Solidity extension. ๐Ÿ˜€

conwnet avatar Aug 11 '21 06:08 conwnet

We Can use it with This Extension after #353

Siddhant-K-code avatar Sep 05 '21 16:09 Siddhant-K-code