https://bugs.kde.org/show_bug.cgi?id=411867

            Bug ID: 411867
           Summary: [New Syntax] Highlighting for Solidity (Ethereum)
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: ka...@kairo.at
  Target Milestone: ---

Created attachment 122631
  --> https://bugs.kde.org/attachment.cgi?id=122631&action=edit
First take on Solidity highlighting rules

Kate has no syntax highlighting for Ethereum's Solidity language yet, but it
would be really nice to have for people who work with Smart Contracts on that
popular blockchain.

Language docs are at https://solidity.readthedocs.io/en/latest/index.html

I have a very preliminary XML I just created in the last few hours (attached),
it may not be optimal but it seems to work decent with the Solidity files I
tried so far.
There may be things missing (though I read through all the docs to try and
catch all keywords, units, and built-ins at least) or things not detected in
the right way, but this should be a start.

I'll keep trying and testing that XML in my
~/.local/share/org.kde.syntax-highlighting/syntax/ directories and I'm happy
for any suggestions, improvements and help in maybe getting this into Kate
proper.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to