microsoft / microsoft/typespec
Solve the "writing comments" issue in CSharp generator
Open
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
Assessment
This issue has not been assessed yet.