PowerShell / PowerShell/PowerShellEditorServices

Feature Request: Present regions as independent tokens for syntax highlighter

Open
#1,624 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-IntelliSense Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Currently, regions are just treated as comments, and thus the new built-in bracket colorizer fails to recognize them as sections. Changing their tokens to non-comments will allow them to be highlighted as such appropriately.

image

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

No file, test, or entry point is named. Start by locating how regions are tokenized and how the built-in bracket colorizer recognizes sections; done means regions are emitted as non-comment tokens and highlighted as sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.