C
C#

help

✅ editorconfig with visual studio

Iironmetalhead2/9/2023
Is there a way to setup rules for the comments in editorconfig file. For example that the comments should start with a space (// comment). And will start a new line after 100 characters
Eero2/9/2023
The second one isn't a thing. You can't even enable rulers in VS on Windows (but you can on Mac?????) The first probably isn't a thing, but i could only Google as well
PPobiega2/9/2023
StyleCop has an analyzer for the comments whitespace thing, but afaik there isnt an editorconfig for it https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md
Iironmetalhead2/9/2023
My boss doesn’t want plug ins 😂 he wants it from the vanilla visual studio community to control the comments format
PPobiega2/9/2023
boss VS Community
Iironmetalhead2/9/2023
Yes I googled a lot , I didn’t find anything
PPobiega2/9/2023
Sir, I think your company is comitting license fraud?
Iironmetalhead2/9/2023
How so ?
PPobiega2/9/2023
Companies are not allowed to use VS Community they must use a paid license
PPobiega2/9/2023
Visual Studio
Pricing and Purchasing Options | Visual Studio
Professional developer tools subscription & licenses. See our Visual Studio Professional, Enterprise, Test Professional, & MSDN Platforms pricing today.
Iironmetalhead2/9/2023
Oh ok, but there is paid license on my account so probably fine
PPobiega2/9/2023
Then you are likely not actually using VS Community, but VS Pro? But yeah, if no plugins/analyzers etc are allowed then I dunno if that is possible. You could write your own dotnet tooling, but thats the same as using a plugin I guess
Iironmetalhead2/9/2023
Yeah exactly, thank u anyway, I will keep googling then 🙃🙃

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
❔ Transform foreach to LINQ for optimizationis there a way to transform this logic from foreach to LINQ? I'm talking about the two foreaches. Th✅ Multiple level try-catch statementI have a multiple try-catch statement and they behavior differently in different machine.❔ What is the recommended way to read excel(*.xlsx) files?in .NET Framework 4.8. I don't need any info of fonts, colors, styles, or anything else; i only need❔ Editing .CSV with visual studio, with highlight String?I have a project, to translation old game, so i unpack text from the game with my tools and output t❔ Text fileSo I am wondering how this works, so I am calling a textfile and then splitting it into multiple and❔ Encapsulate an enum from legacy code.Hi everyone, I'd like to encapsulate (?) an enum which had a lot of implements in legacy code. I wa❔ How do I look a bool method every 5 minutes?So I have a bool method called WindowWatch(), and it works and returns true and false when I need it❔ Implementing shifts for 256 bit integer classI'm writing a custom 256 bit int class for Godot. Internally it is stored as 4 `ulong` types. I've t❔ Nullability issueI have this code ```cs public bool Equals(Money money) { if (money is nu❔ Using the Visual Studio "Properties" folder for custom settings?Is it appropriate to place files in the built-in Visual Studio project's Properties folder for custo❔ Mixing EF Core and another SQL libraryHello, I need to write some raw SQL queries outside the ORM but EF Core doesn't support that, how go❔ How can I do this?So you can add "tasks" to the listbox and when you press "verwijderen" it removes the items but when❔ Git - how to undo dumb stuffim using visual studio 2022 and it gone like this : 1- i made a commit with wrong staged files (allBasic Visual Studio DebuggingHi, I am having problems with the debugging process, It wants me to attach the program before starti❔ basic c# how to inherits toolkit ObservableRecipient when you are already inherit something else ?❔ SQL Timeout Error Deployed ASP.NET Core appi just deployed my web app with react and .net core and it runs locally but when i run it on the ser❔ Font problemI created option buttons with Onpaint. However, I want the font to be as high as its height. How can❔ [Unity?] How to have a list of generic classes in inspector cast as derived classI have some classes as follows: ```c# [System.Serializable] public class TrackedMarkers<T, U> wher❔ C# Help Outputs HelpHi guys i need help in displaying the Subtotal and total for this programme and then the discount ofGenerate random array and quicksort algorithmWant to make a program that contains functions that generates random array, prints it and sorts it.