Bug 469526 - [Launch bar] No way to quickly launch without manually creating a configuration first
Summary: [Launch bar] No way to quickly launch without manually creating a configurati...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: launchbar (show other bugs)
Version: 8.7.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 16:22 EDT by Marc-André Laperle CLA
Modified: 2020-09-04 15:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2015-06-05 16:22:36 EDT
Using CDT 8.7.0.201506020305
LaunchBar 1.0.0.201506011405

I'm not sure if I'm using it the right way so sorry in advance if this is an invalid request.

1. With a new workspace, create a Hello World C++ project and build it.
2. Try to press the Launch button on the Launch bar. Nothing happens.

I would expect it would create a launch configuration for me, similarly to the Debug or Run button in the regular Launch toolbar.
Comment 1 Doug Schaefer CLA 2015-06-06 19:50:08 EDT
Yes. We still need to provide a launch object provider for CDT projects and a launch configuration provider that knows how to create launch configurations for targets. Shouldn't be too hard to set this up for the Local target though it also implies that we know how to create build configurations so that the project is built properly as well.

BTW, I'd be interested to know what the selectors said when you did that. They say what will happen when you hit the Launch button. They didn't mislead you to think something would actually happen did they?
Comment 2 Marc-André Laperle CLA 2015-06-08 14:33:27 EDT
(In reply to Doug Schaefer from comment #1)
> BTW, I'd be interested to know what the selectors said when you did that.
> They say what will happen when you hit the Launch button. They didn't
> mislead you to think something would actually happen did they?

The selectors meaning the comboboxes? They where empty so they didn't mislead me. But the fact that I have to use the "old" Launch toolbar to start Debugging (or running) feels a bit unnatural. So yeah, it would be good to provide this support :)
Comment 3 Doug Schaefer CLA 2015-06-08 20:35:05 EDT
(In reply to Marc-Andre Laperle from comment #2)
> (In reply to Doug Schaefer from comment #1)
> > BTW, I'd be interested to know what the selectors said when you did that.
> > They say what will happen when you hit the Launch button. They didn't
> > mislead you to think something would actually happen did they?
> 
> The selectors meaning the comboboxes? They where empty so they didn't
> mislead me. But the fact that I have to use the "old" Launch toolbar to
> start Debugging (or running) feels a bit unnatural. So yeah, it would be
> good to provide this support :)

Yup. BTW, you don't have to use the old toolbar. The middle combo box (yeah, I call them selectors in the code since they aren't real combo boxes) has an entry to create a new launch config. You can do it from there.
Comment 4 Marc-André Laperle CLA 2015-06-08 23:16:07 EDT
(In reply to Doug Schaefer from comment #3)
> Yup. BTW, you don't have to use the old toolbar. The middle combo box (yeah,
> I call them selectors in the code since they aren't real combo boxes) has an
> entry to create a new launch config. You can do it from there.

That's true but that's much more work (clicks) than just hitting the Debug button which creates the configuration for you. That's why I use the old toolbar. Wow I sound so lazy :)
Comment 5 Doug Schaefer CLA 2015-06-09 11:26:30 EDT
(In reply to Marc-Andre Laperle from comment #4)
> (In reply to Doug Schaefer from comment #3)
> > Yup. BTW, you don't have to use the old toolbar. The middle combo box (yeah,
> > I call them selectors in the code since they aren't real combo boxes) has an
> > entry to create a new launch config. You can do it from there.
> 
> That's true but that's much more work (clicks) than just hitting the Debug
> button which creates the configuration for you. That's why I use the old
> toolbar. Wow I sound so lazy :)

That is the intention of the launch bar, but it doesn't come for free. We need to add code to CDT to make it work that way. FWIW, the Arduino project type has that. We just need to generalize it for general C++ projects, which is a complicated beast. We need to be able to map build configs to remote types and launch config types.