acoomans / ACCodeSnippetRepositoryPlugin

A plugin for Xcode to synchronize code snippets with repositories
MIT License
330 stars 54 forks source link

Add a "Show in Finder" button to system snippets row. #7

Closed fcanas closed 10 years ago

fcanas commented 10 years ago

Users who need to correct permissions with the system snippets encounter an unhelpful error message — users may not know where the system snippets are kept:

screen shot 2014-05-25 at 2 58 06 pm

In this pull request, I added a button to reveal the location of the system snippets so the user can change permission in the Finder.

screen shot 2014-05-25 at 3 22 51 pm


I also have an alternate, or complementary approach on a separate branch (not included in this PR) that shows the full path in the error message. The change is helpful, but maybe inelegant. I'd be happy to include those changes in this PR, or make a separate PR.

https://github.com/fcanas/ACCodeSnippetRepositoryPlugin/compare/informative-permission-error

screen shot 2014-05-25 at 2 58 59 pm

acoomans commented 10 years ago

Thanks for sharing this! I'll also have a look at informative-permission-error.

fcanas commented 10 years ago

Let me know and I can make a pull request from that branch. But I think this button makes the messaging unnecessary.