You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see files show up in front of other attributes on include/image/video autosuggestions.
I would like to set up a PR using the sortOrder attribute.
As @Mogztter suggested
when requesting auto-completion on an include, image, video we should prioritize paths to local ressources then user-defined attributes (where the value can be used in a path), then built-in attributes usually used in path then other built-in attributes.
when requesting auto-completion on the image macro, we should prioritize files with image file extensions: svg, png, jpg, jpeg...
when requesting auto-completion on the video macro, we should prioritize files with video file extensions: mp4, mov...
when requesting auto-completion on the include macro, we should only show paths to text files (i.e., remove binary files)
when using sortOder this would imply that we set an alphabetical prefix in the various providers that are involved, at least this is what could grasp so far.
The text was updated successfully, but these errors were encountered:
when using sortOder this would imply that we set an alphabetical prefix in the various providers that are involved, at least this is what could grasp so far.
That's correct. I think using a numeric values is probably better.
I would like to see files show up in front of other attributes on include/image/video autosuggestions.
I would like to set up a PR using the sortOrder attribute.
As @Mogztter suggested
when requesting auto-completion on an include, image, video we should prioritize paths to local ressources then user-defined attributes (where the value can be used in a path), then built-in attributes usually used in path then other built-in attributes.
when requesting auto-completion on the image macro, we should prioritize files with image file extensions: svg, png, jpg, jpeg...
when requesting auto-completion on the video macro, we should prioritize files with video file extensions: mp4, mov...
when requesting auto-completion on the include macro, we should only show paths to text files (i.e., remove binary files)
when using sortOder this would imply that we set an alphabetical prefix in the various providers that are involved, at least this is what could grasp so far.
The text was updated successfully, but these errors were encountered: