conwnet / github1s

One second to read GitHub code with VS Code.
https://github1s.com
MIT License
22.84k stars 867 forks source link

Support Syntax Highlighting for Solidity #327

Open bijoy26 opened 3 years ago

bijoy26 commented 3 years ago

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.

welcome[bot] commented 3 years ago

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.๐Ÿ˜„

Siddhant-K-code commented 3 years ago

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

bijoy26 commented 3 years ago

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?

xcv58 commented 3 years ago

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.

arbazkiraak commented 3 years ago

Any workarounds to support the solidity syntax?

conwnet commented 3 years ago

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. ๐Ÿ˜€

Siddhant-K-code commented 3 years ago

We Can use it with This Extension after #353