Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » "Run Configuration" naming (Customize newly created "Run Configuration" name)
"Run Configuration" naming [message #1829272] Tue, 30 June 2020 07:39 Go to next message
Eitan Rosenberg is currently offline Eitan RosenbergFriend
Messages: 58
Registered: October 2018
Member
Hello all,

I am looking for a solution to influence the default naming of newly created "Run Configuration".

For example:

I have a project with multiple package , In each package I have class Main.java with main method.

When I generate a new "Run Configuration" I get names like:

index.php/fa/38452/0/

Obviously I rename the to something more descriptive like :

index.php/fa/38453/0/

I would like to have the name generated automatically.

Is there any settings that will do the trick ?
Is there any plugin out there that will do the trick ?

Thanks for any response.
Re: "Run Configuration" naming [message #1829715 is a reply to message #1829272] Thu, 09 July 2020 12:35 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
I'm not aware of any way to change this. The code that generates the configuration name is hidden in JDT's code so I don't think that any plug-in could work around this.

You may want to create a ticket on Bugzilla to ask for a way to base the name of the launch configuration on the fully qualified name of the class.
Re: "Run Configuration" naming [message #1829720 is a reply to message #1829715] Thu, 09 July 2020 13:35 Go to previous messageGo to next message
Eitan Rosenberg is currently offline Eitan RosenbergFriend
Messages: 58
Registered: October 2018
Member
Hi there,

Thanks for the info.

Even though it is not a bug . it can be quite annoying.....

Regards.
Re: "Run Configuration" naming [message #1829726 is a reply to message #1829720] Thu, 09 July 2020 14:26 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
On second thought, a plug-in could actually implement a workaround by providing its own launch configurations/shortcuts that rely on JDT under the hood. I've still never heard of a plug-in that actually does though.

Regards,
Emmanuel Chebbi
Re: "Run Configuration" naming [message #1829728 is a reply to message #1829726] Thu, 09 July 2020 15:00 Go to previous message
Eitan Rosenberg is currently offline Eitan RosenbergFriend
Messages: 58
Registered: October 2018
Member
That is good news.

I have no knowledge how to create such a plugin .

Any takers ?

Regards.





Previous Topic:Garbled characters in Eclipse/Spring Tool Suite UI
Next Topic:Eclipse run of spring boot project often terminates without error
Goto Forum:
  


Current Time: Sat Oct 24 16:00:23 GMT 2020

Powered by FUDForum. Page generated in 0.02416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top