micro-editor / micro-editor/micro

PowerShell syntax highlighting is case sensitive for operators

Open Beginner friendly
#2,494 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

As defined here: https://github.com/zyedidia/micro/blob/master/runtime/syntax/PowerShell.yaml
The PowerShell operators like "if", "else", "try", "catch" are defined as all lowercase in a case sensitive manner...but PowerShell isn't case sensitive for these operators. Is it possible to use a case-insensitive regex.

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

Start with runtime/syntax/PowerShell.yaml and inspect the operator definitions for if, else, try, and catch. Verify how the syntax rules handle case sensitivity, then confirm that equivalent casing receives the same highlighting; done means the PowerShell operators are highlighted regardless of letter case.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.