The mini_diff functionality is not actually part of any package, but a core part of the editor. The default setting to control it is in the Default package because that is where all default settings go.
Dev Build 3190
I know thats the âdesign decision hereâ. I just donât like it but well Is fine. We have a package named âDiffâ and the setting mini diff is outside that package I know, I understand, you doing pretty good stuff, keep it up.
If we put the setting into the Diff package there would be two issues:
- If the user disabled the Diff package, mini_diff would be in the default state (on)
- If we put the setting in the Diff package, users would not see it is a setting when they viewed the Preferences
So I donât see any upside to the idea of putting the setting into the Diff package. I think it would just lead to confusion.
I understand people is used to the âdefaultâ package.
If the user disabled the Diff package, mini_diff would be in the default state (on)
The default setting should be off, and the Diff package should have the setting to default on. So when you disable diff package the expect thing happens: any command on the diff package is disable regardless of the preference. Thats consistent with how other packages works. I think you just confirming the inconsistency Im saying.
If we put the setting in the Diff package, users would not see it is a setting when they viewed the Preferences
Thatâs because the Preferences settings has a lot of random stuff together. It shouldnât exists at all. Im not saying in a bad way.
I believe core sublime text settings should be organized, more modular. Imagine this situation, someone new wants to disable mini diff. So then you reply to them âedit the settings of the Diff packageâ, it makes more sense.
If they ask how to disable mini diff and then you tell them to edit core settings and then they ask to disable Diff package and you tell them to disable the Diff package, is not going to be consistent.
btw Im just saying not criticising.
I totally understand the point that you want to have a way to say âthis is ST core settingsâ, well the core settings are too random, unorganized, and sometimes overlap with also some default packages. While the learning curve maybe gets a bit more pronounced, I think is nice to organize it because everything will become more intuitive.
Hi Jon, just wondering if next build could come sooner. The hidden block cursor hurts my eyes quite badly. Block cursor is not new to users who use any of the vim packages.
We have a package named âDiffâ and the setting mini diff
I never really used the âDiffâ package, while I find the new âmini diffâ a useful thing. I donât see any relation between those two functions.
The default setting should be off,
No
It shouldnât exists at all.
No, as it is the template for user settings and the place to lookup defaults and descriptions!
should be organized, more modular.
With each package providing its own settings file(s), there are enough places to configure ST, already. Furthermore the Preference.sublime-settings is only one of the highly modular configuration file eco system. Think of syntax specific settings, widget specific settings, project specific settings, ⌠which all use the same structure for different parts of ST. I donât see how further scattering the main user preferences would help to make ST more âintuitiveâ.
FWIW I find mini diff extremely useful. Especially for files that are not git tracked. Too often I open some random scripts and make changes (trial and error to test something new, for example), get distracted by life and forget about whatâs been changed so far. Mini diff is a life changer in those cases. I think I should for sure be on by default.
Itâs already in the issue tracker. The quick_panel was updated to support clear type and fix some font issues. The matched fontâs just donât pick up the theme settings correctly.
To expand upon what @deathaxe said, here is the tracking issue: https://github.com/SublimeTextIssues/Core/issues/2635.
Yes, minidiff is amazing! Especially because it works everywhere, all the time. I love being able to see what Iâve touched in a file and even to jump between those sections. Itâs like automatic bookmarks.