Bug 50055

Summary: [typing] Smart paste in Javadoc comments
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: minor    
Priority: P3 CC: eclipse
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Martin Aeschlimann CLA 2004-01-15 05:35:27 EST
20040115

In the following comment
/**
 * param x tatata
 * 
 */
when you copy the whole line containing the param tag and paste it on the next
line you end up with
/**
 * param x tatata
 * * param x tatata
 */

A smart paste could remove the second comment lead comment.

This scenario happens often when you past after pressing enter, as the smart
autoindent automatically adds the leading star.
Comment 1 Dani Megert CLA 2004-09-22 10:33:13 EDT
How do you copy the line? We've fixed the scenario where the whole line
including line delimiter is selected (bug 26812) i.e.
<start selection> * param x tatata
<caret>

I'd support to be smart in other cases as well i.e. I select
<start selection> * param x <caret>tatata
copy and paste later.
Comment 2 Eclipse Genie CLA 2020-09-21 15:41:38 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2022-10-06 20:06:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.