Comments (1)
The closest existing rule for this would (in theory) allow the following style:
new ValueTuple<string, string>(
"------------------------ long string -----------------------",
"------------------------ long string -----------------------")
This would suggest the following as the corresponding tuple style:
(
"------------------------ long string -----------------------",
"------------------------ long string -----------------------")
I'm not sure I'm ready for this format yet.
Placing the first argument on the same line as the brace breaks the natural vertical alignment (aligment which doesn't require indentation adjustment) provided by all the other argument wrapping rules already in StyleCop Analyzers, so that doesn't appear to be an option either.
from stylecopanalyzers.
Related Issues (20)
- False positive SA1015 when using generic attribute HOT 2
- SA1010 false positive when list syntax is used in a field initializer HOT 5
- SA1011 false positive if square bracket is followed by an exclamation mark HOT 1
- Is it safe to use StyleCop.Analyzers NuGet package with Visual Studio 2022? HOT 1
- SA1000 doesn't handle 'target-typed' new expressions with parameters HOT 1
- SA1649 does not work with file-scoped namespaces HOT 1
- SA1513 fires in conditions using multiline pattern matching HOT 2
- SA1202 doesn't work in record types HOT 3
- SA1308 does not allow "t_" Prefix. HOT 2
- Rule SA1622 error doesn't fail msbuild HOT 3
- SA1000 ("'new' keyword should be followed by space") shouldn't be thrown for target-typed new() HOT 2
- Possible to analyze ASP.NET Web Forms Site project? HOT 1
- Current version of StyleCop Analyzers cannot handle collection expressions HOT 2
- SA1011 triggers for indexer with range syntax
- SA1119 (Statement should not use unnecessary parenthesis) false positive
- SA1516 falsely triggers on top level statements HOT 2
- SA1119 is too sensitive for Preprocessor directives in Dotnet Templates HOT 4
- SA1600 should not trigger for explicit interface implementations HOT 7
- SA1313: False positive for records HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylecopanalyzers.