Setting to allow .editorconfig take control over soft-wrap #26065
Replies: 2 comments 1 reply
-
There is pull request (closed for now) which was linked to issue, but since issue was "converted" into discussion it is not linked anymore: #25889 @notpeter I still think this is more "issue" than something we need to discuss - zed had functionality that allowed .editorconfig soft-wrap and set ruler, which was removed. I think it is okay to disable that functionality by default, but why to remove it completely? There are obviously people using it that way (after all, for some reason it was originally implemented that way). |
Beta Was this translation helpful? Give feedback.
-
It is not clear to me from the description what this issue is actually about:
Is this actually a bug or a feature request (or a regression). Perhaps with a clearer description with multiple sentences (feel free to edit!) it would be possible to discuss possible options for addressing it (or whether it's a behavior we definitely want / definitely want to change). At first glance, a new top-level settings key to change the behavior for how an But instead you filed an issue 7minutes before opening your PR. While we appreciate the desire for members of the community contribute towards Zed's development, you've skipped past the part where you attempt to define the issue and jumped to the solutions/outrage that your PR wasn't merged. Please don't @ tag me -- just because you wrote a comment does not entitle you to spam my notifications. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Since #20198 PR is merged, it is not possible to have
.editorconfig
property max_line_length set overwrite zed preferred_line_length and soft_wrap setting which was obviously purpose of PR but there are people (including me), who want to use max_line_length exactly that way - specially the ruler not set on max_line_length can be confusing.I know it is non-standard feature, so I suggest create new boolean setting
editorconfig_soft_wrap
by default set on false, that allows.editorconfig
to overwrite zed preferred_line_length and soft_wrap setting.In other words, Zed had a (miss-)feature, that allowed
.editorconfig
to set editor ruler and take control over soft-wrap, which was useful for some users. This feature was completely removed because it was non-standard, but non-standard does not mean it can`t be useful for someone, and better solution would be disabling it by default and keep possibility to use it.Zed Version and System Specs
Zed: v0.175.6 (Zed)
OS: Linux Wayland arch unknown
Memory: 61.5 GiB
Architecture: x86_64
GPU: AMD Radeon 780M (RADV GFX1103_R1) || radv || Mesa 24.3.4-arch1.1
Beta Was this translation helpful? Give feedback.
All reactions