[Textmate] `scoped ref` modifier

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

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the provided C# snippet in VS Code 1.85.1 with the Dark Plus theme, then inspect the csharp-tmLanguage syntax grammar for the rules handling parameter modifiers. Done means the scoped ref modifier is colorized appropriately in the example.

Written by the indexing model from the issue text.

Description

Details

What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.)
vscode
What version of the editor are you using?
1.85.1
What color theme are you using?
dark plus

Repro

class C
{
    public static Span<T> CreateSpan<T>(scoped ref T reference, int length)
    {
        return MemoryMarshal.CreateSpan(ref reference, length);
    }
}

image

Please provide a code example and (optionally) a screenshot demonstrating the problem.

Dominant language
TypeScript
Stars
78
Forks
43
Avg merge
34m
Merged PRs (30d)
1

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.

More from dotnet/csharp-tmLanguage

All issues in dotnet/csharp-tmLanguage

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.