micro-editor / micro-editor/micro
PowerShell syntax highlighting is case sensitive for operators
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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