AdaCore / AdaCore/gnatstudio

New feature suggestion: Enrich syntax highlighting with rainbow braces

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ada
Stars
531
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Dear GPS developers!
Please add rainbow braces to Ada 2012 syntax highlighting in the 2017 release of GPS.
Rainbow braces are colorization of braces {}, brackets [] and parenthesis (), so language users visually see the corresponding matching brace. As braces are enclosed inside one another, the color changes, so the depth of the expression can be easily seen by language users.

Usage example (in C# from Microsoft Visual Studio):
rainbowbraces
From my experience I can tell you that it is a pleasure to code with rainbow braces.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating GNAT Studio's Ada 2012 syntax-highlighting entry point and reviewing how delimiters are currently colored. Done means matching braces, brackets, and parentheses receive depth-based colors in the editor; the issue names no files or tests, so the relevant implementation and verification paths must first be identified.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.