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

Xcode plugin #25

Closed
neonichu opened this issue Jun 18, 2014 · 11 comments
Closed

Xcode plugin #25

neonichu opened this issue Jun 18, 2014 · 11 comments

Comments

@neonichu
Copy link

This should really be a plugin, not a separate tool :).

If you need/want help with that, just ping me.

@marklarr
Copy link
Member

Plugin wold be awesome. The idea initially started off as having it be a one-time use, but it seems to be evolving into more than that.

@neonichu
Copy link
Author

Ideally, it should permanently keep stuff organized, but I am thinking a good enough first implementation would be running synx every time a project is opened?

@marklarr
Copy link
Member

permanently keeping things organized would be incredibly cool. We could watch the pbxproj file for changes and then call synx on it whenever that happens? This could actually just be built into synx, like a -w --watch` flag, so that people can use it with or without the plugin

@neonichu
Copy link
Author

I am assuming that would go horribly wrong, because Xcode doesn't expect things to just move while it is potentially working with those files. Inside a plugin, we can probably ensure that other work is delayed for the short amount of time the move process takes.

But like I said, starting point should IMHO be running once on open, before Xcode takes any actions - maybe even that will break already :)

@marklarr
Copy link
Member

yea, I was just thinking that same thing. Xcode gets buggy when you modify the pbxproj while it's open in general, and you have to restart Xcode. I've noticed it while testing synx a lot

@marklarr
Copy link
Member

I think your idea about doing it before Xcode takes any actions is a cool idea

@marklarr
Copy link
Member

Been thinking about this more. What would be absolutely cool would be a plugin that would help Xcode recover if a pbxproj was changed out from underneath it. I don't know what sort of work this would require, but that would pave the way for this.

@neonichu
Copy link
Author

hah, I doubt that's really possible :)

@marklarr
Copy link
Member

:(

@neonichu
Copy link
Author

We have it now :)

https://github.com/neonichu/synx-plugin

Further discussion should happen over there.

@marklarr
Copy link
Member

This is super cool @neonichu 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants