massCodeIO / massCode

A free and open source code snippets manager for developers
https://masscode.io
GNU Affero General Public License v3.0
5.77k stars 198 forks source link

Added "Always Show Fragments" name in the preferences of your Editor #424

Open an-d-uu opened 1 year ago

an-d-uu commented 1 year ago

Added a new feature that allows you to always show the name of the Fragment even when there is only one fragment in the snippet item. I use the name of the fragment when I am sharing the code snippet with others and it is helpful to be able to nae the fragment when you are creating it instead of having to do that after the you export the fragment. The preferences under the Editor section defaults to false so that the current functionality remains in place unless you choose to "Always Show Fragments".

image

If the "Always Show Fragment" is set to true then snippets with only 1 fragment will show the fragment name.

image

What kind of change does this PR introduce?

check at least one

Validations