microsoft / microsoft/typespec

Solve the "writing comments" issue in CSharp generator

Open
#3,591 1 comment 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Now we are writing expressions and statements, therefore we do not have a good way to write comment at all the places we want, for example in between two expressions like this:
```
Foo(1, /* something */ 2)
```
or in between one big structure like this:
```
switch (foo)
{
// something
case 1:
break;
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.