Open lonix1 opened 3 years ago
Related to (but not duplicate of): https://github.com/dotnet/roslyn/issues/38241
Please consider this for C++ as well.
@levicki Roslyn is unrelated to the c++ vs experience. Please file requests for that experience over at developercommunity. Thanks!
Like anyone is going to read that. It would be just another "closed due to inactivity" thread.
Like anyone is going to read that. It would be just another "closed due to inactivity" thread.
@levicki This is not the c++ repro. No one on C++ is present here, and no one here works on the C++ components. If you would like teh C++ to investigate and/or triage issues relates to their experience, then issues will need to be filed against them. Thanks!
This is not the c++ repro. No one on C++ is present here, and no one here works on the C++ components. If you would like teh C++ to investigate and/or triage issues relates to their experience, then issues will need to be filed against them. Thanks!
And if I am writing C++/CLI code and have this issue, where do I report that? /sarcasm (if not obvious).
@levicki I'm not sure why sarcasm is appropriate. C++/cli has nothing to do with Roslyn. You would report it to the c++ team.
It may be obvious to anyone working on this issue, but calling out this alternate switch expression spacing to be considered as well...
static int Foo(int x, int y) => (x, y) switch {
(0, 0) => 0,
(int i, 0) => 11,
(int i, int j) => i + j,
};
No idea why but the last version of Visual Studio 2022 (17.12.0) made it worse, I have hundread of IDE0055
warnings
Brief description:
The
csharp_space_around_declaration_statements
allows this:But all the following have no support:
Please consider adding support for them?
Languages applicable:
C#
Code example that the analyzer should report:
See above
Documentation requirements:
When this analyzer is implemented, it must be documented by following the steps at Documentation for IDE CodeStyle analyzers.