pdcgomes / XCActionBar

"Alfred for Xcode" plugin
MIT License
1.21k stars 36 forks source link

Support Editor menu in Interface Builder #21

Closed onmyway133 closed 9 years ago

onmyway133 commented 9 years ago

When using Interface Builder (Xib, Storyboard), we use Pin, Align, ... alot. It would be great if XCActionBar could support them. Or guideline about how make contribution (understand the code) is appreciated

pdcgomes commented 9 years ago

Yep, it's on my todo list:

The main problem right now is that the menu bar actions are only indexed when Xcode is launched and although I do have the hooks in place to update the index when the menu bar changes, I still haven't gotten around to ensure it's working properly (and obviously it isn't :) ).

The good news is that it's one of the next things on my TODO list, so stay tuned!

onmyway133 commented 9 years ago

I'm excited by that news. And thanks to your plugin, my plugin XCodeWay https://github.com/onmyway133/XcodeWay can be used more easily

pdcgomes commented 9 years ago

So, I've had a quick first pass at this and it seems to do the job quite well :) When you switch around from different files and to <-> from interface builder, the actions for the editor menu are updated accordingly. This is currently not active for other menu items.

Give it a try and let me know if it's working out for you. Thanks!

onmyway133 commented 9 years ago

Seems to work for me. After I switch to storyboard, it shows the command for the Editor menu