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
Helper for passing input data to an NSTask. #1127
Conversation
That's required for quicksilver/Calculator-qsplugin#4 to work. |
Helper for passing input data to an NSTask.
Bugger I didn't mean to merge this. My merging finger is too keen! Two things
|
Apologies, point 2 isn't related to DRY, but related to the typical Apple convention of always calling the most complete method with certain parameters as I've pushed a commit straight to master with the changes. Please shout at me/kick me/tell me off if you're unhappy |
What are you guys using for indentation ? I have a preference for spaces (that's my Xcode & TextMate default), but some files have been using tabs, and I didn't check before creating the pull... No issue with the DRY, I hadn't thought about it ;-). |
What I do is use Xcode to do the indentation for me. Here's my Xcode intent settings: http://d.pr/i/m2FT The only thing that annoys me about this is that comments are not indented Glad the DRY was OK :) On 22 September 2012 16:14, Etienne Samson notifications@github.com wrote:
|
I hate tabs, so I use spaces in TextMate. But since the vast majority of Quicksilver and the plug-in code was done with tabs, I gave up and started using them in Xcode to make it easier on “you tab users”. Apparently, that was silly. Sounds like we all prefer spaces. Anyone know a way to reindent the whole project without screwing up Git’s history forever? Bah, all the blames point back to that one “Code cleanup” commit now anyway. ;-) Rob McBroom |
Yeah, tabs are generally frowed upon by developers since it still depends on the "number of spaces" setting. There's a thing called And yes, you'd leave a pretty hard mark on the history by doing that :-(. Edit: You can try it out by installing Homebrew then doing a |
I myself aren't too bothered about crossing my t's, dotting my i's or using But I do think that ruining our lovely git history wouldn't be a good idea. On 23 September 2012 17:09, Etienne Samson notifications@github.com wrote:
|
OK, but it sounds like I can at least switch Xcode over to spaces without pissing anyone off. :-) |
As it says on the tin ;-)