#editorconfig — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #editorconfig, aggregated by home.social.
-
@PvN
> #Emacs config for working with #Python* #EditorConfig for seamless project-specific configuration of basic text editing rules, that every modern text editor can obey.
* The default 'python-mode' is fine.
* #Eglot for #LSP enhances that. Follow Eglot documentation to set up for Python.
* #Magit for excellent Git porcelain.
* 'pyvenv-mode' to detect and activate Python virtualenv in a project. -
@PvN
> #Emacs config for working with #Python* #EditorConfig for seamless project-specific configuration of basic text editing rules, that every modern text editor can obey.
* The default 'python-mode' is fine.
* #Eglot for #LSP enhances that. Follow Eglot documentation to set up for Python.
* #Magit for excellent Git porcelain.
* 'pyvenv-mode' to detect and activate Python virtualenv in a project. -
https://blog.danskingdom.com/Visual-Studio-has-a-built-in-EditorConfig-editor/ - There's a built-in GUI editor for #EditorConfig files in #VisualStudio.
-
https://blog.danskingdom.com/Visual-Studio-has-a-built-in-EditorConfig-editor/ - There's a built-in GUI editor for #EditorConfig files in #VisualStudio.
-
What’s a good unopinionated TypeScript / JavaScript CLI code formatting tool, which I can configure with EditorConfig, that only formats the indenting? #TypeScript #EditorConfig
-
What’s a good unopinionated TypeScript / JavaScript CLI code formatting tool, which I can configure with EditorConfig, that only formats the indenting? #TypeScript #EditorConfig
-
Late evening release of a blog post I've worked on today on a day off (it's enjoyable, OK?) on what I did to make the combo of the Bash language server and shfmt work with Editorconfig settings for Bash script files that don't have extensions. In Neovim 🚀
Share & enjoy! https://qmacro.org/blog/posts/2025/09/01/auto-formatting-extensionless-bash-scripts-in-neovim/
-
Late evening release of a blog post I've worked on today on a day off (it's enjoyable, OK?) on what I did to make the combo of the Bash language server and shfmt work with Editorconfig settings for Bash script files that don't have extensions. In Neovim 🚀
Share & enjoy! https://qmacro.org/blog/posts/2025/09/01/auto-formatting-extensionless-bash-scripts-in-neovim/
-
Trying out @Posit’s `air` formatter for #rlang and super impressed so far. It even respects my #editorconfig which I wasn’t expecting to see in the R world.
I spent some time packaging it in a local container because I’m not crazy about the `curl script | sh` trend of binary installs, but it was pretty painless to throw it in a slim image and land somewhere a bit more controlled.
Finally I can format on save in a blink. Looking forward to it including the rest of the LSP
-
いつの間にかVimでも外部プラグインなしでもEditorConfigが使えるようになっていた
https://qiita.com/mitsu-yuki/items/a438b1dbddd240253d86?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items -
It's been a little over a year that I've been using #vanilla #emacs and customizing it almost from scratch.
I liked it, I learned a few things here and there about its inner workings, but now is time to have a setup that gets me up to speed in a matter of seconds.
Any suggestions ?
I am particularly looking for a sane config that works out of the box for almost anything and is ergonomic (something like #ergoemacs) with stuff like:
#devcontainers
#lsp
#snippets
#editorconfig
… -
one of the coolest config changes: indent 2 instead of 4. improves readability, more side-by-side views
#editorconfig #dotnet -
one of the coolest config changes: indent 2 instead of 4. improves readability, more side-by-side views
#editorconfig #dotnet -
God damn, when did .editorconfig become a thing? This is brilliant!
-
God damn, when did .editorconfig become a thing? This is brilliant!
-
#WebDev question: Is it recommended to use the #editorconfig extension AND #prettier extension for visual studio code? https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
Or is the prettier extension enough?
(I have a repo with '.editorconfig' and '.prettierrc', I know that prettier parses editorconfig as well)
-
#WebDev question: Is it recommended to use the #editorconfig extension AND #prettier extension for visual studio code? https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
Or is the prettier extension enough?
(I have a repo with '.editorconfig' and '.prettierrc', I know that prettier parses editorconfig as well)
-
Editing with EditorConfig
#EditorConfig helps to codify your #CSharp coding styles for your #dotnet project.
It's supported by many IDEs and code editors, and soon, also by our #Roslyn tool.on 2024-11-04 (Monday)
at 18:00 UTC -
Editing with EditorConfig
#EditorConfig helps to codify your #CSharp coding styles for your #dotnet project.
It's supported by many IDEs and code editors, and soon, also by our #Roslyn tool.on 2024-11-04 (Monday)
at 18:00 UTC -
@cwilcox808 indent_size = 2
indent_style = tabCommit an #EditorConfig file to your source repo so contributors can conform to your preferred #coding style per-language regardless of their editor: https://EditorConfig.org
-
Whoa, when did #VisualStudio add this sweet #editorconfig editor? 🤯 I often open .editorconfig files in VS Code and modify the text, but this is nice since you don't need to know the magic text values to use
-
Whoa, when did #VisualStudio add this sweet #editorconfig editor? 🤯 I often open .editorconfig files in VS Code and modify the text, but this is nice since you don't need to know the magic text values to use
-
so what am I doing wrong here?
#resharper #editorconfig #rider -
so what am I doing wrong here?
#resharper #editorconfig #rider -
I know Prettier supports #EditorConfig, however I am curious to know, is there is a less opinionated way that you can reformat an existing code base?
-
I know Prettier supports #EditorConfig, however I am curious to know, is there is a less opinionated way that you can reformat an existing code base?
-
Thinking today about how I'm grateful for Hong Xu's work on EditorConfig.
He put so much effort into grokking the plugin systems for so many different editors and writing most of the plugins for .editorconfig files in the early days of the project.
His work allowed me to spend more time on the core plugins and on marketing.
Without plugin support, wide-spread adoption would have made little sense.
-
Thinking today about how I'm grateful for Hong Xu's work on EditorConfig.
He put so much effort into grokking the plugin systems for so many different editors and writing most of the plugins for .editorconfig files in the early days of the project.
His work allowed me to spend more time on the core plugins and on marketing.
Without plugin support, wide-spread adoption would have made little sense.
-
EditorConfig is awesome, but I don't use it very often. Most of the time, language-specific formatters and linters, as well as my IDE's built-in features, are enough to keep a project well-formatted.
However, today, EditorConfig helped me combat my IDE's weakness 💚 https://angelika.me/2024/03/29/how-to-prevent-webstorm-from-removing-trailing-spaces-from-one-file/
-
EditorConfig is awesome, but I don't use it very often. Most of the time, language-specific formatters and linters, as well as my IDE's built-in features, are enough to keep a project well-formatted.
However, today, EditorConfig helped me combat my IDE's weakness 💚 https://angelika.me/2024/03/29/how-to-prevent-webstorm-from-removing-trailing-spaces-from-one-file/
-
why do you use editorconfig? why not?
-
why do you use editorconfig? why not?
-
@jacobydave Check out https://EditorConfig.org and the corresponding #EditorConfig https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig #VScode extension so you can share consistent #coding style for multiple #programming languages regardless of whether others on your #development team use your #editor or toolchain.
-
I had good hopes for #EditorConfig to be a standardized way to config a bunch of parameters for my projects.
OTOH it appears that the current implementation went down the route of "It's up to each plugin to decide what to support and how" so I can't find most of the utility once I take into consideration that I already enforce formatting with clang-format.
Once again, it's all in the schema: https://flameeyes.blog/2020/05/14/all-in-the-schema/?mtm_campaign=social&mtm_kwd=mastodon
-
I had good hopes for #EditorConfig to be a standardized way to config a bunch of parameters for my projects.
OTOH it appears that the current implementation went down the route of "It's up to each plugin to decide what to support and how" so I can't find most of the utility once I take into consideration that I already enforce formatting with clang-format.
Once again, it's all in the schema: https://flameeyes.blog/2020/05/14/all-in-the-schema/?mtm_campaign=social&mtm_kwd=mastodon
-
#PSA If you are using #VSCode with #EditorConfig and have `editor.detectIndentation` enabled: Disable that.
It overwrites your .editorconfig settings. -
"trim_trailing_whitespace = false" for *.md files?
Believe it or not, straight to jail.
#editorconfig #markdown -
-
-
@ovid #EditorConfig: learn it, set it in your projects, enforce it (many editors “just work” with it): https://editorconfig.org
-
PSA: If you’re working on #opensource code, or basically collaborating on #code with anyone, make sure that your #editor or #IDE understands #EditorConfig!
It’s a really helpful way for teams to define basic style settings for the project, which ensures consistent files and reduces unnecessary merge conflicts.
-
PSA: If you’re working on #opensource code, or basically collaborating on #code with anyone, make sure that your #editor or #IDE understands #EditorConfig!
It’s a really helpful way for teams to define basic style settings for the project, which ensures consistent files and reduces unnecessary merge conflicts.
-
CW: re: work, codecs gibberish
@brion You can fix it! Setup https://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#EditorConfig , you will never look back!
-
CW: re: work, codecs gibberish
@brion You can fix it! Setup https://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#EditorConfig , you will never look back!
-
The second part of coding standards is now live, focusing .editorconfig, documentation, and strict types:
https://marcuskober.com/coding-standards-part-2-editorconfig-documentation-and-strict-types/
#wordpress #webdevelopment #webdev #php #editorconfig #documentation
-
Another drawback of generating code: It does not automatically adhere to your coding style. So just having an #EditorConfig is not enough, you absolutely need something else that fixes styling for you. That is especially a problem for something like #YAML, for which I not always have some linter setup.
-
Began adding some of the code style rules in the category "Unnecesary code" rules to my EditorConfig Wizard. Still, more to add. 😁
Project: https://github.com/KristofferStrube/EditorConfigWizard
Demo: https://kristofferstrube.github.io/EditorConfigWizard/wizard
#editorconfig #blazor #dotnet #csharp -
Began adding some of the code style rules in the category "Unnecesary code" rules to my EditorConfig Wizard. Still, more to add. 😁
Project: https://github.com/KristofferStrube/EditorConfigWizard
Demo: https://kristofferstrube.github.io/EditorConfigWizard/wizard
#editorconfig #blazor #dotnet #csharp -
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 -
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 -
#CSharpForMarkup 2 for #WinUI3 and @unoplatform is coming along nicely🙂
-🔥Windows C# #hotreload updates UI on Ctrl+S
- All #dotnet 7 target platforms, #csharp 11
- Nested view files in sln explorer
- Fully #nullable + #editorconfig enabled dotnet new template -
#CSharpForMarkup 2 for #WinUI3 and @unoplatform is coming along nicely🙂
-🔥Windows C# #hotreload updates UI on Ctrl+S
- All #dotnet 7 target platforms, #csharp 11
- Nested view files in sln explorer
- Fully #nullable + #editorconfig enabled dotnet new template