macos-snippets icon indicating copy to clipboard operation
macos-snippets copied to clipboard

Unable to reorder snips, or add snips to a folder

Open geochronology opened this issue 4 years ago • 6 comments

Right now when I try to click and drag a Snip, nothing happens. Similarly, when I click on a folder to add a snip, it gets added to the root directory instead of the folder that I'm selecting.

geochronology avatar Nov 07 '20 14:11 geochronology

Hi,

Currently, you need to right click on a folder and select "add a snippet".

Because of a SwiftUI limitation, we are waiting the release of Big Sure to enable drag and drop feature.

marshallino16 avatar Nov 07 '20 16:11 marshallino16

Ah okay gotcha, will wait until Big Sur. This is going to be a great new feature!

geochronology avatar Nov 08 '20 04:11 geochronology

Now that Big Sur has been released, do you have an updated ETA on this feature?

geochronology avatar Nov 19 '20 22:11 geochronology

No ETA right now.

I'm working on it but the last versions of Xcode introduced some SwiftUI changes and regressions.

See : https://github.com/Pictarine/macos-snippets/issues/9

I'm working on this 🙏

marshallino16 avatar Nov 20 '20 05:11 marshallino16

Okay thank you for the update, please take your time and thank you for all your hard work making such an awesome app.

geochronology avatar Nov 23 '20 20:11 geochronology

I'm currently working on this but here's what I discovered so far :

  • Can't trigger the expand/collapse manually
  • OutlineGroup seems to not handle onMove for now (see : https://developer.apple.com/forums/thread/651214)

marshallino16 avatar Dec 03 '20 14:12 marshallino16