Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

an-d-uu
Copy link

@an-d-uu an-d-uu commented Oct 30, 2023

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

  • Feature

Validations

Added new field to the preferences under the Editor section that allows the user to store a bit field that will allow you to always see the fragment name instead of only seeing it when you have multiple fragments in a single snippet item.
@an-d-uu an-d-uu changed the title Added "Always Show Fragment Name" in the preferences of your Editor Added "Always Show Fragment" name in the preferences of your Editor Oct 30, 2023
@an-d-uu an-d-uu changed the title Added "Always Show Fragment" name in the preferences of your Editor Added "Always Show Fragments" name in the preferences of your Editor Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant