wmjordan / wmjordan/Codist

Suggestion: special glyphs/icons for syntax elements

Open
#302 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Highlight
Dominant language
C#
Stars
394
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Proposal

Add the ability to decorate a syntax element with special glyphs. These glyphs could be:

  • a regular Unicode character
  • a special Unicode character, such as those in Nerd Fonts
  • an image (bad idea, likely causes performance penalties)

Example

Here is a rough example.

  • Red bounding box shows the boundaries within which the glyph can be placed.

  • The user would choose where the glyph is placed (e.g., top left, top center, ...) relative to the center of the syntax element.

IMG_20230915_050359.png

Example 1

glyph is
placed top right

Example 2

glyph is 🔅
placed top left

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or entry points; start by locating the syntax-element rendering path in the Visual Studio extension. Define the supported glyph sources and placement behavior from the proposal, then verify that the supplied examples render at their requested positions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.