Skip to content

added Solidity (Ethereum Blockchain) language definition

Mohamed Amine LEGHERABA requested to merge MoLegh/gtksourceview:master into master

Solidity is a language used to create smart contracts on the Ethereum Blockchain. The syntax is similar to C++/Javascript but there is a lot of specific keywords for the Ethereum blockchain context.

There is solidity syntax highlighting for Atom,VS Code and Sublime Text but I didn't find one for Gedit/gtksourceview.

I mainly use gedit and Elementary Code Editor to write code and smart contracts so I made this .lang file to add syntax highlighting for gtksourceview.

I started from the c.lang file as a starting point

Edited by Mohamed Amine LEGHERABA

Merge request reports