home.social

#editorconfig — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #editorconfig, aggregated by home.social.

fetched live
  1. @PvN
    > config for working with

    * for seamless project-specific configuration of basic text editing rules, that every modern text editor can obey.
    * The default 'python-mode' is fine.
    * for enhances that. Follow Eglot documentation to set up for Python.
    * for excellent Git porcelain.
    * 'pyvenv-mode' to detect and activate Python virtualenv in a project.

  2. @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.

  3. What’s a good unopinionated TypeScript / JavaScript CLI code formatting tool, which I can configure with EditorConfig, that only formats the indenting? #TypeScript #EditorConfig

  4. What’s a good unopinionated TypeScript / JavaScript CLI code formatting tool, which I can configure with EditorConfig, that only formats the indenting? #TypeScript #EditorConfig

  5. 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! qmacro.org/blog/posts/2025/09/

    #Neovim #LSP #Bash #Editorconfig #Shfmt

  6. 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! qmacro.org/blog/posts/2025/09/

    #Neovim #LSP #Bash #Editorconfig #Shfmt

  7. Trying out @Posit’s `air` formatter for and super impressed so far. It even respects my 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

  8. 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

  9. one of the coolest config changes: indent 2 instead of 4. improves readability, more side-by-side views
    #editorconfig #dotnet

  10. one of the coolest config changes: indent 2 instead of 4. improves readability, more side-by-side views
    #editorconfig #dotnet

  11. God damn, when did .editorconfig become a thing? This is brilliant!

    #PHP #IDE #EditorConfig

  12. God damn, when did .editorconfig become a thing? This is brilliant!

    #PHP #IDE #EditorConfig

  13. #WebDev question: Is it recommended to use the #editorconfig extension AND #prettier extension for visual studio code? marketplace.visualstudio.com/i

    Or is the prettier extension enough?

    (I have a repo with '.editorconfig' and '.prettierrc', I know that prettier parses editorconfig as well)

    #vscode #linting #formatting #webdevelopment

  14. #WebDev question: Is it recommended to use the #editorconfig extension AND #prettier extension for visual studio code? marketplace.visualstudio.com/i

    Or is the prettier extension enough?

    (I have a repo with '.editorconfig' and '.prettierrc', I know that prettier parses editorconfig as well)

    #vscode #linting #formatting #webdevelopment

  15. 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

    #2codeOrNot2code

    youtube.com/watch?v=s3Fi0joawE

  16. 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

    #2codeOrNot2code

    youtube.com/watch?v=s3Fi0joawE

  17. @cwilcox808 indent_size = 2
    indent_style = tab

    Commit an #EditorConfig file to your source repo so contributors can conform to your preferred #coding style per-language regardless of their editor: EditorConfig.org

    #programming

  18. 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

  19. 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

  20. 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?

  21. 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?

  22. 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 #gratitude

  23. 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 #gratitude

  24. 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 💚 angelika.me/2024/03/29/how-to-

    #EditorConfig #WebStorm #WebDev

  25. 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 💚 angelika.me/2024/03/29/how-to-

    #EditorConfig #WebStorm #WebDev

  26. 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: flameeyes.blog/2020/05/14/all-

  27. 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: flameeyes.blog/2020/05/14/all-

  28. #PSA If you are using #VSCode with #EditorConfig and have `editor.detectIndentation` enabled: Disable that.
    It overwrites your .editorconfig settings.

    #CSharp #VisualStudio #VisualStudioCode

  29. "trim_trailing_whitespace = false" for *.md files?
    Believe it or not, straight to jail.
    #editorconfig #markdown

  30. #dotnet #editorconfig

    Do we favour

    [*.csproj]
    indent_size = 2

    or

    [*.csproj]
    indent_size = 4

  31. #dotnet #editorconfig

    Do we favour

    [*.csproj]
    indent_size = 2

    or

    [*.csproj]
    indent_size = 4

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

  33. PSA: If you’re working on #opensource code, or basically collaborating on #code with anyone, make sure that your #editor or #IDE understands #EditorConfig!

    editorconfig.org/

    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.

    #codestyle #collaboration #editing

  34. PSA: If you’re working on #opensource code, or basically collaborating on #code with anyone, make sure that your #editor or #IDE understands #EditorConfig!

    editorconfig.org/

    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.

    #codestyle #collaboration #editing

  35. CW: re: work, codecs gibberish

    @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

    #EditorConfig , you will never look back!

  36. CW: re: work, codecs gibberish

    @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

    #EditorConfig , you will never look back!

  37. 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.

  38. 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

  39. 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

  40. 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

  41. 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

  42. 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

  43. #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