Bug 57580 - [expressions] Add code assist/complete to watch expression editor
Summary: [expressions] Add code assist/complete to watch expression editor
Status: REOPENED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 20 votes (vote)
Target Milestone: ---   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 74217 108563 113764 124523 169146 215893 245372 289297 324288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-06 10:18 EDT by Alex Blewitt CLA
Modified: 2021-03-11 05:08 EST (History)
27 users (show)

See Also:


Attachments
Autocomplete in expressions (98.31 KB, image/png)
2016-06-01 11:06 EDT, Vitaliy Khashin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2004-04-06 10:18:15 EDT
It would be really useful if the watch expression editor in the debugger could take advantage of code-
completion
Comment 1 Darin Wright CLA 2004-04-06 10:46:53 EDT
Deferred. The editor is used for all debuggers, and thus does not have 
a "content assist" context.
Comment 2 Alex Blewitt CLA 2004-06-28 15:52:52 EDT
Verified closed in 3.0 final on Mac OS X.
Comment 3 Alex Blewitt CLA 2004-06-28 15:54:33 EDT
Oops. Updated wrong bug.
Comment 4 Alex Blewitt CLA 2004-06-28 15:55:00 EDT
Returned to 'resolve later'
Comment 5 Darin Wright CLA 2005-07-07 13:52:19 EDT
*** Bug 74217 has been marked as a duplicate of this bug. ***
Comment 6 Darin Wright CLA 2005-09-01 09:44:43 EDT
*** Bug 108563 has been marked as a duplicate of this bug. ***
Comment 7 Darin Wright CLA 2005-10-26 09:22:44 EDT
*** Bug 113764 has been marked as a duplicate of this bug. ***
Comment 8 Darin Wright CLA 2006-01-23 21:54:08 EST
*** Bug 124523 has been marked as a duplicate of this bug. ***
Comment 9 Darin Wright CLA 2007-01-02 09:31:18 EST
*** Bug 169146 has been marked as a duplicate of this bug. ***
Comment 10 Darin Wright CLA 2007-05-14 08:40:42 EDT
*** Bug 186767 has been marked as a duplicate of this bug. ***
Comment 11 Darin Wright CLA 2008-01-19 16:36:15 EST
*** Bug 215893 has been marked as a duplicate of this bug. ***
Comment 12 Tal Yacobi CLA 2008-01-19 19:19:34 EST
This enhancement request has been open since 2004.
Are there any plans to do anything about it?
It borders on being classified as a bug.
It is quite frustrating to have to edit expressions in the Display view and then copy them to the expressions view, and feels inconsistent with the general eclipse experience.
I understand that the view is used for debugging in non-java contexts, however there must be a creative solution for that. 
At worst, create a new java-expressions view with code completion.
  
Comment 13 Darin Wright CLA 2008-08-27 08:43:45 EDT
*** Bug 245372 has been marked as a duplicate of this bug. ***
Comment 14 Mauro Molinari CLA 2008-11-05 06:00:05 EST
There are plenty of duplicated bugs for this, but this is still in a deprecated status. It's quite absurd that Eclipse doesn't give code completion in the "edit watch expression" dialog...

Please reopen this enhancement request and take it into consideration!

Mauro.
Comment 15 Thomas Fritz CLA 2008-11-05 06:35:46 EST
I agree, this is actually one of the reasons, I will move away from using Eclipse.
Comment 16 Mauro Molinari CLA 2009-05-08 03:47:21 EDT
Could the JDT team at least REOPEN this enhancement request???
Comment 17 Darin Wright CLA 2009-05-08 08:39:41 EDT
Later used to mean "future consideration". Open means the same thing, unless it gets assigned a milestone...
Comment 18 Darin Wright CLA 2009-09-14 09:48:51 EDT
*** Bug 289297 has been marked as a duplicate of this bug. ***
Comment 19 Darin Wright CLA 2010-09-02 08:59:26 EDT
*** Bug 324288 has been marked as a duplicate of this bug. ***
Comment 20 Mustafa Temiz CLA 2014-11-21 02:31:14 EST
This would be useful. .Net and Visual Studio has this :-)
Comment 21 Merric Huffstutler CLA 2015-06-06 11:02:50 EDT
Pretty necessary. Eclipse will not be usable for debugging until this is resolved.
Comment 22 Nuno Godinho de Matos CLA 2016-02-06 07:10:31 EST
This auto complete bug is absurd, considering it was open in 2004.

The eclipse debugger, sad to say, is just light years of being at the level of the netbeans debugger.

I find myself, time and time again, using the Java Editor to write the expressions with a working autocomplete working to copy paste them to the eclipse "Expressions" view because of this bug.


It would be nice to see this issue gone after 
....
 12 years.

12 years!!!!!!!
Comment 23 Nuno Godinho de Matos CLA 2016-02-06 07:10:49 EST
This auto complete bug is absurd, considering it was open in 2004.

The eclipse debugger, sad to say, is just light years of being at the level of the netbeans debugger.

I find myself, time and time again, using the Java Editor to write the expressions with a working autocomplete working to copy paste them to the eclipse "Expressions" view because of this bug.


It would be nice to see this issue gone after 
....
 12 years.

12 years!!!!!!!
Comment 24 Jan Monterrubio CLA 2016-05-01 16:18:31 EDT
Could you use the display tab, which has autocomplete, to create the code you want to add to the watch expression?
Comment 25 Vitaliy Khashin CLA 2016-06-01 11:06:40 EDT
Created attachment 262166 [details]
Autocomplete in expressions
Comment 26 Vitaliy Khashin CLA 2016-06-01 11:09:03 EDT
This isn't convenient to open additional tab. Actually autocomplete is already implemented in the bottom area of expressions window (see "autocompele in expressions"). Is it difficult to add this autocomplete to field and "Add watch expression" dialog?
Comment 27 Jan Monterrubio CLA 2016-06-01 11:21:51 EDT
Actually, that seems like an unintended side effect since it seems to only work as an editor with something that isn't valid and gives you the <error(s) during the evaluation> message. If you have something that is valid, the toString for it displays on the bottom part and you can't type and autocomplete
Comment 28 Vitaliy Khashin CLA 2016-06-01 11:56:55 EDT
No. If I have something that is valid, the toString for it displays on the bottom part. That's true. But I can type and autocomplete
Comment 29 arjan tijms CLA 2017-08-25 18:09:16 EDT
Any progress here?

This sure would be a good feature to have.
Comment 30 Sarika Sinha CLA 2017-08-26 02:56:43 EDT
No progress yet!!
Comment 31 Nuno Godinho de Matos CLA 2017-08-27 07:28:35 EDT
There is no rush, It has only been 13 years now...
Comment 32 T3rm1 CLA 2018-12-06 05:52:04 EST
Late 2018 and still no progress. This is so sad. Eclipse can't compete with modern IDEs and I'm still using this. Ridiculous.
Comment 33 Cumhur Kılıç CLA 2021-03-11 05:08:21 EST
2021 says hi. Is there an extension that can support this? In intellij you can highlight any expression, hover over it and see result of it on tooltip (without a popup). In eclipse I can't do that, also you can't even get autocorrect if you are ok to write it again.