Contest proposal: Syntax highlighting for Solidify source code files written for Free TON
Contest dates: (2 weeks)
With many new smart contract developers joining the Free TON community, the need to implement syntax highlighting for popular source code editors and IDEs is here. Given that Free TON has its own flavor of Solidity, the use of syntax highlighting tools written for Ethereum flavor is impractical - the differences are too big.
We need our own plugins for the task of syntax highlighting. The object of this contest is to get many new plugins fulfilling this goal.
- A fully working extension is required. Any MVPs will be rejected.
- Support for 6 months is a requirement of entry.
- syntax highlighting
- other things from the language specification and Free TON additions
- code completion
- variable names
- classes names
- method names
- Intellisense like behavior (pop-up hints showing you parameters needed as you code)
- Error mos highlighting: squiggly underlining of invalid commands (e.g., commands that do not match what the spec says - like misspelled or unrecognized, missing parameters, too few or not enough parameters)(either the command itself should be underlined, or the parameters should be underlined - depending on the situation);
- change suggestions: ideally, the underline will display one of these messages with an explanation when hovered, according to the situation: “Unknown Command” or “Missing parameter(s)” or “Incorrect parameter(s)”
- Need to allow for co-existence with the current Ethereum solidity syntax highlighters. Possible solutions: a different file extension, a smart header parser, or suggest your own.
- The color scheme needs to be redefinable. Bonus: user-provided exceptions list for colors used.
Each team will provide its own test suite of smart contract code. The jury will test all submissions against every piece of smart contract code submitted. Any improperly handled or unhandled condition will lead to the submission score being lowered.
The first stage being discussed here is only for MS Visual Studio Code. It’s the most widely used editor by far, and, compared to the rest, it allows for a rather straightforward extension implementation.
Once the first stage is done, and the winners are announced, a vote for the most popular editors and IDEs will commence.
Winners of the popular vote will be grouped, and several further contests will be announced.
- 1 place: 50K = 20K + 5K every month during 6 months;
- 2 place: 39K = 15K + 4K vesting;
- 3 place: 28K = 10K + 3K vesting;
- 4 place: 10K
- 5 place: 9K
- 6 place: 8K
- 7 place: 7K
- 8 place: 6K
- 9 place: 5K
- 10 place: 4K
Notes on vesting: the condition of successful vesting is the fixing of bugs within 1 month of reporting, and adherence to the latest version of the Free TON Solidity compiler for the period of vesting.