Bug 35634 - Smart Paste
Smart Paste
Status: NEW
Product: cnd
Classification: Unclassified
Component: Editor
6.x
All All
: P2 (vote)
: 7.0
Assigned To: Alexander Simon
issues@cnd
:
Depends on: 35750
Blocks:
  Show dependency treegraph
 
Reported: 2003-08-21 11:05 UTC by mvinar
Modified: 2010-09-07 10:02 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mvinar 2003-08-21 11:05:59 UTC
User problem:
-----------------------------------
The user needs to manually tweak a code copied
from elsewhere and pasted into the editor.

User need:
-----------------------------------
The user very often copies pieces of code from
browser, or from other sources opened in the IDE.
By providing automated code adaptation on paste
(imports, indentation, variables use), the user
would increase his productivity.

Product requirement:
-----------------------------------
Smart Paste (imports, indentation, variables)
Comment 1 psuk 2004-03-23 18:50:58 UTC
Changing subcomponent to "clipboard"

Comment 2 Miloslav Metelka 2005-01-26 13:46:14 UTC
The feature is partly implemented by adapting the indentation level of
the pasted text according to the context.
The rest of things (imports etc.) remains to be implemented.
Comment 3 Miloslav Metelka 2005-01-26 13:56:29 UTC
In an initial implementation we could use the Import Manager to fix
the imports. Still we should precisely quick-parse the pasted text for
unresolved identifiers otherwise it would become quite annoying to
escape the Import Manager when it would be in fact unnecessary.
Comment 4 Miloslav Metelka 2005-01-26 13:57:18 UTC
"Import Manager" should be "Fix Imports" ;)
Comment 5 Vitezslav Stejskal 2007-11-05 13:30:42 UTC
Moving to the 'other' subcomponent.
Comment 6 voidmain 2008-12-31 14:24:24 UTC
Is this issue still open? I was going to open a new issue because NetBeans doesn't smart paste for all file types and it
should definitely do that. It seems to only work for Java and not C++ and other languages. Should I open a new one? This
one is really old and was never closed.
Comment 7 Vitezslav Stejskal 2009-01-05 08:56:39 UTC
I'm passing this on to C++ guys. When this is done please reassign to another language (I'm not sure which one that
would be, but probably one of the web related such as jsp, html, php, ruby, ...). Thanks


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo