Skip to content

Conversation

ofZach
Copy link
Contributor

@ofZach ofZach commented Oct 29, 2015

this adds an open in IDE button on success which seems like the simplest way to add this feature (we can work on a better system post 0.9). It only works on OSX at the moment.

screen shot 2015-10-29 at 9 38 59 am

this PR also fixes a bug with filtering out addons that causes an error when you have the array path wrong (and thus the addon array is null)

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

@mattfelsen: what is the command to launch the IDE on windows ? ie, on on osx "open .....xcodeproj"
@arturoc: what is the command to launch the IDE on linux?

@mattfelsen
Copy link
Member

ooh, shiny! also, great question! i'll see if I can figure it out now. for linux, you can try xdg-open $DESTINATION_PATH from @thomasgeissl's comment here

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

PS: this PR also puts the actual command line command at the bottom of the IDE message, which could be useful for debugging, etc:

screen shot 2015-10-29 at 9 50 03 am

@mattfelsen
Copy link
Member

+1 for that. The parentheses seem like it'd be easy to accidentally copy the closing parenthesis though?

For windows, both of these are working for me:
start relative\path\to\project\project.sln
or
start C:\absolute\path\to\project\project.sln

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

ok added windows and linux now, invites testing !

@mattfelsen do you think I should drop the parens? I kind of thought it was weird without context but maybe we can say command used:\n....... instead of parentheses)

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

PS: for basic testing, if you are not building electron, you can replace out index.html, index.js and app.js in the nightly...

@mattfelsen
Copy link
Member

Button is working for me, both using npm start and running the exe from the dist folder.

On a UX note, I think hitting the button should close the modal, just as the Close button does. It seems weird to close visual studio and see the pg with that modal still up.

And yea, no parens and a newline is what I was thinking 😊

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

good idea about closing the modal... just added that.

will take a look at the parens in a sec. thanks for the feedback!

@arturoc
Copy link
Member

arturoc commented Oct 29, 2015

we don't use codeblocks anymore in linux, the extension is qbs for qtcreator.

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

oh ok ! let me update the labels... is this accurate:

screen shot 2015-10-29 at 10 14 15 am

@arturoc
Copy link
Member

arturoc commented Oct 29, 2015

yes

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

ok made that change ! thanks !

@mattfelsen
Copy link
Member

very fond of this line: console.log("sdfsadfasdf?");

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

oof thanks -- cleaned it up

@ofZach
Copy link
Contributor Author

ofZach commented Oct 29, 2015

going to merge this in so folks can test on the nightlies, etc... I think it's ok, there might be some weird edge cases like when you build with multiple platforms or make a project that's not your default platform...

ofZach added a commit that referenced this pull request Oct 29, 2015
@ofZach ofZach merged commit cbe2ba0 into master Oct 29, 2015
@Daandelange
Copy link
Member

Tested and works great here :)

@arturoc arturoc deleted the openInIDE branch December 22, 2015 22:14
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

Successfully merging this pull request may close these issues.

5 participants