FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[bug] "Run as" added for all files

 
Post new topic   Reply to topic     Forum Index -> Descent
View previous topic :: View next topic  
Author Message
Kos



Joined: 29 Apr 2009
Posts: 5

PostPosted: Thu May 14, 2009 8:14 am    Post subject: [bug] "Run as" added for all files Reply with quote

Hello,

[rant]

First of all, I'd like to say hello to you guys and say that I acknowledge what you're doing. D's great, same goes to Descent and I would like to help you. When I have more time, as well as more fluency in bigger Java projects, I'd like to contribute; at the moment, I'll try to be useful by submitting a bug. Smile

[/rant]

Rate:

I'd rate as a serious defect, because it interferes with other plugins' behaviour.

Description:

The "Run as -> D application" option in the context menu is added for all possible files. Then, when activating the action "Run" when editing a file of different project (Java or C++), the action "Run as D application" (registered for all files, so also C++/Java sources) may be run instead of running the project' default run configuration.

Reproduce:

* Get an Eclipse distribution with Descent and JDT/CDT installed at the same time.
* Create a Java/C++ project with one file with any content.
* Open the file in default editor.
* Right-click the editor, highlight "Run as"
The possibility "D application" will be available.

* In the editor, press Ctrl+F11 or the Run icon from the toolbar.
It is likely that "Run as D application will be - incorrectly - selected.

Known workaround:
Tab: Window->Preferences->Run/Debug->Launching
Set "Launch operation radio" to "Always launch the previously launched application".
This remaps Ctrl+F11 and Run icon, making the bug a level less annoying.


Hope to see it fixed soon. Wink

Best regards & h.t.h,

— Kos
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Thu May 14, 2009 12:02 pm    Post subject: Reply with quote

Add a ticket: http://www.dsource.org/projects/descent/newticket
Back to top
View user's profile Send private message
asterite



Joined: 01 Jun 2006
Posts: 235
Location: Buenos Aires, Argentina

PostPosted: Mon May 18, 2009 2:08 pm    Post subject: Reply with quote

This is kind of fixed in release 0.5.5.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Descent All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group