Skip to main content
Tooling
0 votes
0 replies
32 views

I am setting up an .editorconfig file to enforce certain conventions and code styles. I have noticed that C# style rules only seem to apply to *.cs files and not Razor C# code blocks. Take, as an ...
LostSoul's user avatar
  • 431
0 votes
1 answer
70 views

I want to set a rule in .editorconfig so that all C# files where namespace is not explicitly set should render an error. I've added these: dotnet_diagnostic.IDE0130.severity = error # Namespace does ...
Max's user avatar
  • 757
0 votes
1 answer
85 views

When I format the page in VS Code, @if and @else, for example, are not formatted properly. That is, we get something like this: <div> @if { <div>something</div> } @...
Eric's user avatar
  • 1,240
1 vote
1 answer
95 views

I've read that Go uses tabs for indentation spaces for alignment and this sounds like a great idea to resolve the tabs-versus-spaces fight and get the benefits that tabs promise without the problems ...
iconoclast's user avatar
1 vote
0 answers
163 views

I've been trying to get automatic code formatting working with my .editorconfig settings in Windsurf IDE for my C# codebase. I tried the Prettier extension, but found it doesn't support C#. I also ...
Martina's user avatar
  • 829
2 votes
1 answer
162 views

I have the following code: internal class Program { private static bool IsMatchingThing1(IThing thing) { return thing is AThing { Children: [ ...
fractor's user avatar
  • 1,698
0 votes
0 answers
63 views

I can't for the life of me figure out how to do this, if possible. When using explicit expressions as values for EventHandlers or actions on components, is there a way to define how you want them ...
Casper Thamdrup's user avatar
1 vote
0 answers
55 views

IntelliJ's log has several lines like this one: 2025-04-24 09:52:05,878 [ 14206] WARN - #org.editorconfig.language.schema.parser.EditorConfigJsonSchemaParser - Found illegal descriptor: {} I have ...
Dan R.'s user avatar
  • 835
1 vote
1 answer
406 views

I have a solution with multiple c# projects the .editorconfig is working fine except for one Project. The csproj file of the effected project is the is the legacy csproj formate. I tried: to copy the ...
Robert's user avatar
  • 41
4 votes
0 answers
228 views

In my solution I have an .editorconfig file with the following section: [*.cs;*.md] spelling_languages = en-us spelling_checkable_types = strings, identifiers, comments spelling_exclusion_path = ./....
Mike Nakis's user avatar
  • 63.1k
0 votes
0 answers
118 views

In JetBrains Rider, the following code: var p = new { companyId, includeHistory, getDescriptions, includeFlexiFields, includeRelatedValues, }; formats like this: var p = new { ...
Lasse V. Karlsen's user avatar
0 votes
1 answer
94 views

I am working on a C# .NET Code Base, where a Custom Roslyn Analyzer is involved that analyze Existence of Todo Comments. We work with the IDE JetBrains Rider 2024.2.4. Recently we integrated ...
kbisang's user avatar
  • 574
0 votes
1 answer
89 views

I am currently facing a scenario where I have an .editorconfig file in the root directory with [{*Test.cs,*Tests.cs}] dotnet_diagnostic.CA1707.severity = none This rule should disable the warning (...
Nathaniel Cutajar's user avatar
1 vote
0 answers
293 views

I have a project that I have been adding several class files. It's a pain to stop and add the standard header because I'm in thought about what I'm coding and don;t want to break the flow of thought. ...
Rich Shealer's user avatar
  • 3,584
2 votes
1 answer
693 views

With the release of Xcode 16 apple added support for EditorConfig: Added support for EditorConfig. The editor now respects indentation settings given in .editorconfig files. Xcode supports the ...
Hamid Yusifli's user avatar

15 30 50 per page
1
2 3 4 5
23