Nimblesite / Nimblesite/SharpLsp

[Bug]: Syntax highlighting

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

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
132
Forks
5
Avg merge
6h 24m
Merged PRs (30d)
27

Description

What happened?

When the SharpLsp Extension is on, C# decision and iteration constructs (such as for, while, if...) use the same color as access modifiers or variable's data types. Since they are not the same type of keywords, a distinction should be made.

Steps to reproduce

N/A

Component

Not sure

Language

C#

SharpLsp version

0.21.0

Editor & OS

VS Code 1.139.0, Windows 11 (x64), .NET 10.0.201

Relevant logs

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 by reproducing the syntax highlighting issue in VS Code 1.139.0 with SharpLsp 0.21.0 on Windows and inspect the extension's highlighting behavior for C# decision and iteration constructs. Done means constructs such as for, while, and if use a distinct color from access modifiers and variable data types.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.