Bug 50055 - [typing] Smart paste in Javadoc comments
Summary: [typing] Smart paste in Javadoc comments
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 05:35 EST by Martin Aeschlimann CLA
Modified: 2022-10-06 20:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.