Closed
Description
[user feedback]
Newly created application not been set as main project/application. When I open a new application and try to run it using the green play button or “ctrl+r” the previous application is running, to run the application for the first time i need to right click and select run as---> dartium launch.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
danrubel commentedon Apr 25, 2012
When the user clicks the "big green run button", I think that we should always "run last" unless the currently selected file is a Dart application (has a main() method) in which case we should run the selected application.
See also http://code.google.com/p/dart/issues/detail?id=2499
clayberg commentedon Apr 25, 2012
Changed the title to: "launch selection rather than last if selection is an application [+1]".
clayberg commentedon Apr 25, 2012
It is important that the green button behavior not be surprising. Always running last when you have selected a runnable Dart file is very surprising and unexpected.
lukechurch commentedon Apr 27, 2012
+1 Or after just creating a new project... Which will usually come to the same thing.
clayberg commentedon Apr 29, 2012
[user feedback]
it would be nice if when we click Run, it runs the app where the cursor is positioned or the file that is being displayed in the editor rather than what was Run before
Removed Priority-Medium label.
Added Priority-High label.
Changed the title to: "launch selection rather than last if selection is an application [+2]".
clayberg commentedon Apr 29, 2012
[hackathon comments]
(from jmesserly@ ... taking notes at hackathon) Launch configurations seem to require a lot of setup. It'd be much easier if a there was a "JS in browser" and "Dartium" option by default. Also everyone seems to be trying to right click on the entry point and run it. Finally sometimes "run" doesn't seem to have the right effect (or any effect). It's like it is stuck on an old configuration or something like that. (not sure the details of how to reproduce this one)
Changed the title to: "launch selection rather than last if selection is an application [+3]".
danrubel commentedon Apr 30, 2012
Howdy, editor folks. (KathyW here)
I'm starting to beef up the Dart Editor docs, but I don't know what to write about launches. The behavior isn't what I expected. Here's what happened:
I don't know how to get the server app to run, other than painfully creating a new launch for it.
Another surprise. CHECKED MODE is still off. For some reason, I thought it was now on by default. I guess only debugging is on by default.
What's the story on launching apps (aside from the first app)?
Thanks,
-k-
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 6943
////////////////////////////////////////////////////////////////////////////////////
OS: Mac OS X - x86_64 (10.6.8)
SDK installed = true
Dartium installed = true
////////////////////////////////////////////////////////////////////////////////////
<no log file available>
Changed the title to: "launch selection rather than last if selection is an application [+4]".
keertip commentedon Apr 30, 2012
As per all the feedback, changing Run button behavior to
Added Started label.
keertip commentedon Apr 30, 2012
Issue #2499 has been merged into this issue.
keertip commentedon May 1, 2012
https://chromiumcodereview.appspot.com/10270017/
Added Fixed label.
Bump pub