Anthony Steele · @anthony_steele
246 followers · 2780 posts · Server dotnet.social

Do we favour

[*.csproj]
indent_size = 2

or

[*.csproj]
indent_size = 4

#dotnet #editorconfig

Last updated 1 year ago

aburka 🫣 · @aburka
323 followers · 3289 posts · Server hachyderm.io

@normalmode It looks like we have `insert_final_newline = false` in and nvim is interpreting that as not only don't add a newline if I didn't, but remove it if it was there already. Is that correct behavior?

#editorconfig

Last updated 1 year ago

Mark Gardner ‍:sdf: · @mjgardner
678 followers · 4277 posts · Server social.sdf.org

@ovid : learn it, set it in your projects, enforce it (many editors “just work” with it): editorconfig.org

#editorconfig

Last updated 1 year ago

Antoine Musso · @hashar
12 followers · 14 posts · Server wikis.world

@brion You can fix it! Setup editorconfig.org/ for your editor and propose upstream a patch introducing an `.editorconfig` indicating their 2-space indent:

root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2

, you will never look back!

#editorconfig

Last updated 1 year ago

· @danrot
64 followers · 264 posts · Server mastodon.social

Another drawback of generating code: It does not automatically adhere to your coding style. So just having an is not enough, you absolutely need something else that fixes styling for you. That is especially a problem for something like , for which I not always have some linter setup.

#editorconfig #yaml

Last updated 1 year ago

Kristoffer Strube · @KristofferStrube
199 followers · 146 posts · Server hachyderm.io

Began adding some of the code style rules in the category "Unnecesary code" rules to my EditorConfig Wizard. Still, more to add. 😁
Project: github.com/KristofferStrube/Ed
Demo: kristofferstrube.github.io/Edi

#editorconfig #blazor #dotnet #csharp

Last updated 1 year ago

Kristoffer Strube · @KristofferStrube
189 followers · 133 posts · Server hachyderm.io

I'm trying to come up with some sample code that would make the two EditorConfig rule options at the bottom distinguishable. Is there some example or are they actually just the same?

#dotnet #csharp #editorconfig

Last updated 2 years ago

VincentH.NET · @VincentH_NET
61 followers · 8 posts · Server fosstodon.org

2 for and @unoplatform is coming along nicely🙂

-🔥Windows C# updates UI on Ctrl+S
- All 7 target platforms, 11
- Nested view files in sln explorer
- Fully + enabled dotnet new template

#CSharpForMarkup #WinUI3 #HotReload #dotnet #csharp #nullable #editorconfig

Last updated 2 years ago

TwistedRaven · @TwistedRaven
68 followers · 37 posts · Server social.vivaldi.net

Picked up some tasks on a project in my and I'm really by the way someone has set it up. I really dislike some of the rules and settings that are being enforced. My is going ballistic. I'm fighting the urge to change all the settings to follow the dotnet style guidlines.

#dotnet #dayjob #triggered #fxcop #editorconfig #resharper #mustnotrefactor

Last updated 2 years ago

Marcel van der Boom · @mrb
325 followers · 681 posts · Server mastodon.nl

Just stumbled upon editorconfig.org/ searching for ways to support different people in a project with basic formatting rules. Looks like it's spot on. (I haven't dived in yet)

I'm a bit surprised I can't recall seeing this before. Is it me, or is this just not used much?

#editorconfig

Last updated 5 years ago

Valvin · @valvin
289 followers · 2920 posts · Server framapiaf.org

[RSS] "EditorConfig, restez consistants sur l’écriture du code !" blog.seboss666.info/2019/03/ed "Le hasard fait parfois bien les choses. En faisant le ménage dans mes flux rss inactifs, je découvre..."

#developpement #editorconfig #sublimetext #convention #extension #astuces #projets #code

Last updated 6 years ago