Bug 553568 - Launch configuration selection is not changing with the project selection on the launch bar
Summary: Launch configuration selection is not changing with the project selection on ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: launchbar (show other bugs)
Version: Next   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 03:28 EST by Kondal Kolipaka CLA
Modified: 2019-12-02 09:30 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kondal Kolipaka CLA 2019-11-28 03:28:29 EST
Problem Description:
Launch configuration is not changing when you navigate through the projects in the project explorer view

Steps to reproduce the problem:
1. Create multiple CDT CMake projects and this will also create a default launch configuration for each project
2. Navigate through different projects from the project explorer view and observe the launch configuration selection from the launch bar


Expected:
Select a respective project launch configuration when the project selection changed but that's not happening
Comment 1 Jonah Graham CLA 2019-11-29 12:20:42 EST
This one is a little interesting - in some use cases, like you have outlined in Comment #0 this is exactly what you want. However in other use cases I really don't want the launch configuration to change.

Perhaps the Launch bar should have a "Link with Project Selection" or something else similar like "Link with Editor" in the Outline/Project Explorer/Breakpoints. (I am referring to this icon: https://help.eclipse.org/kepler/topic/org.eclipse.platform.doc.user/images/synced.png)
Comment 2 Kondal Kolipaka CLA 2019-12-02 02:09:20 EST
Okay, sure. We can do something of that sort.

What I've seen is - most of the users are selecting the project from the explorer view and click on the build button on the toolbar. They will realize about launch configuration only when it goes wrong the build.
Comment 3 Jonah Graham CLA 2019-12-02 09:30:30 EST
Yes, that certainly makes sense. I am looking forward to a patch if you are able to. If you want any direction please let me know.