Comments (6)
I believe this would be better suited to a separate project, since only a small subset of StyleCop Analyzers users will be interested in using verbatim string literals for specific formatting of a different (non-C#) language.
C# projects can have many different analyzers installed at the same time, so creating this feature in an independent project would not impair its usability.
from stylecopanalyzers.
We are using inline SQL only in our C# projects and I know among other teams they do too.
Which independent project are you thinking about? :)
from stylecopanalyzers.
StyleCop Analyzers has more than 100M downloads, so I would expect it is being used by many thousands of projects.
from stylecopanalyzers.
Hello @sharwell ,
I still don't understand. I opened the issue here because it is StyleCop for the .NET-Compiler.
So it's the correct project and will only affect C# -programmers who are using the .NET-Compiler.
Also, SQL is a very common language that is widely used.
Can you explain to me why it doesn't belong here and which other project would be the best one?
Also, I searched for another Plugin, but mostly they are deprecated nor are for VS 2022. So I decided to open an issue for Style Cop.
from stylecopanalyzers.
C# programmers can use more than one set of C# analyzers at the same time. I would recommend creating a new (completely independent) project for this, and then installing both that new project and StyleCop Analyzers in your projects for use.
from stylecopanalyzers.
Hello Sam,
unfortunately, I don't have the skills, the knowledge nor the time to create an independent project for formatting SQL. Therefore, I will stick with existing solutions, sadly the old projects aren't maintained anymore. So I created an issue in an existing formatter we are using.
SQL is not only for a small subset of C# programmers. It is widely used among C# developers thus even more popular than C#.
Have a nice weekend!
from stylecopanalyzers.
Related Issues (20)
- SA1514 is falsely reported when documenting types declared in the global namespace HOT 1
- When using the new collection initializer [] no SA1010 should be raised. HOT 4
- SA1402 is not raised when declaring multiple types in a file-scoped namespace HOT 1
- SA1402 doesn't recognize records HOT 5
- SA1516 is reported between extern alias and global using HOT 5
- Extend SA1129 to cover parameterless struct constructors HOT 1
- SA1015 false positive on object initializer HOT 3
- SA1012 incorrectly reported on opening brace in List Pattern matching HOT 2
- Add option to detect unused using HOT 7
- SA1010 conflicts with SA1024 when invoking a method using named arguments with collection expression HOT 3
- SA1649 code fix (rename file) copies linked files into all referencing projects HOT 1
- New beta? HOT 2
- SA0102 appears to be falsely reported for file scoped namespaces? (1.2.0-beta.556) HOT 1
- SA1122 Inconsistent StyleCopAnalyzers Warning and Compiler Error for Empty Strings in Switch Statements HOT 6
- SA1508 SA1502 SA1500 Nullreference Exception & SA1106 false positive HOT 4
- SA1137 picks the wrong starting indentation
- SA1200 (Using directives must be placed correctly) is firing in file with only global usings
- Code Fix Provider for SA1402 adds extra space
- New Rule Proposal: SA1404 but for ExcludeFromCoverage
- SA1316 should not be reported for tuple deconstruction HOT 7
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.