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

Use plugin panel #53

Open
AlexIzh opened this issue Apr 13, 2015 · 7 comments
Open

Use plugin panel #53

AlexIzh opened this issue Apr 13, 2015 · 7 comments

Comments

@AlexIzh
Copy link

AlexIzh commented Apr 13, 2015

Hi, thanks for the great XCode plugin. I created plugin panel. It's a panel like left xcode panel (with a tree of files). I think, your plugin suitable for this panel. It will be very usable and comfortable. And you can move your plugin to PluginPanel very fast and easy. I will be grateful if you look and test it.

https://github.com/AlexIzh/PluginPanel

@matkatmusic
Copy link

I would love for this to become included as an option! I tried to figure out how to do it myself after installing PluginPanel, but couldn't get it working.

@AlexIzh
Copy link
Author

AlexIzh commented Mar 3, 2016

What does not work? It's old plugin and I did not update it very long (I only add UUID's for Xcode). But, if you or some another guy who has awesome Xcode plugin will want to integrate his plugin to plugin panel, I will work on it (I mean, any help if you need). So, if you can write more about problem, it will be fine. Because jsut now I tested this plugin on the Xcode 7.2.1 and seems like it works

@matkatmusic
Copy link

I meant that i couldnt figure out how to modify XToDo source code such that
it would load in your panel.
On Mar 3, 2016 2:05 PM, "Alex" notifications@github.com wrote:

What does not work? It's old plugin and I did not update it very long (I
only add UUID's for Xcode). But, if you or some another guy who has awesome
Xcode plugin will want to integrate his plugin to plugin panel, I will work
on it (I mean, any help if you need). So, if you can write more about
problem, it will be fine. Because jsut now I tested this plugin on the
Xcode 7.2.1 and seems like it works


Reply to this email directly or view it on GitHub
#53 (comment).

@AlexIzh
Copy link
Author

AlexIzh commented Mar 3, 2016

Oh, sorry. REAMDE is not clear :(
You should move PluginPanelClient folder into your plugin Xcode proj. Then you should create your main NSViewController and image(if needed) and set it to DVChoice (as in example in README). And after that you should call

PluginPanelAddPlugin(choice, [[note userInfo] objectForKey:PluginPanelWindowNotificationKey]);

I updated README and I hope it will more helpful now

@matkatmusic
Copy link

The readme was clear. The problem is that XToDo doesnt have an (id)init
method like your readme shows. It has a couple initWith... Methods tho.
Did you happen to get XToDo to work with your pluginPanel? If so, I'd love
to see that.
On Mar 3, 2016 3:04 PM, "Alex" notifications@github.com wrote:

Oh, sorry. REAMDE is not clear :(
You should move PluginPanelClient folder into your plugin Xcode proj.
Then you should create your main NSViewController and image(if needed)
and set it to DVChoice (as in example in README). And after that you
should call

PluginPanelAddPlugin(choice, [[note userInfo] objectForKey:PluginPanelWindowNotificationKey]);

I updated README and I hope it will more helpful now


Reply to this email directly or view it on GitHub
#53 (comment).

@AlexIzh
Copy link
Author

AlexIzh commented Mar 3, 2016

I tried integrate just now. I have some result:
screen shot 2016-03-04 at 00 49 38

Source you can find here: https://github.com/AlexIzh/XToDo

But it's a test only. It has some problems with layout's. To see TODO plugin you need install time plugin too (https://github.com/AlexIzh/TimePlugin) and after Xcode is started, click to time plugin and then to todo plugin. Then you will see something like on the my screenshot.

Regarding plugin panel:
You need NSViewController which will be showed in panel. And the PluginPanel manually calculates frames for views (without autolayout's, so, there can be problems too)

@matkatmusic
Copy link

Wow that is awesome!! Nice work! I'll definitely investigate when i get
home. I know xcode can show TODOs in the method navigator at the top of a
window, but having it consolidated like this is so much better
On Mar 3, 2016 3:58 PM, "Alex" notifications@github.com wrote:

I tried integrate just now. I have some result:
[image: screen shot 2016-03-04 at 00 49 38]
https://cloud.githubusercontent.com/assets/2103547/13509101/4396c81e-e1a3-11e5-953e-275d46a18a5e.png

Source you can find here: https://github.com/AlexIzh/XToDo

But it's a test only. It has some problems with layout's. To see TODO
plugin you need install time plugin too (
https://github.com/AlexIzh/TimePlugin) and after Xcode is started, click
to time plugin and then to todo plugin. Then you will see something like on
the my screenshot.

Regarding plugin panel:
You need NSViewController which will be showed in panel. And the
PluginPanel manually calculates frames for views (without autolayout's,
so, there can be problems too)


Reply to this email directly or view it on GitHub
#53 (comment).

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

No branches or pull requests

2 participants