This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238295 - [Introduvce] apply introduce... on a part of string
Summary: [Introduvce] apply introduce... on a part of string
Status: RESOLVED DUPLICATE of bug 218861
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 09:27 UTC by ssazonov
Modified: 2013-12-03 10:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-11-13 09:27:12 UTC
I think it may be useful to apply Introduce parameter/variable/field... on a part of string. Assume you have to write something like:

System.out.println("Weight is " + par1 + " and its height is " + par2 + ".");

If it was possible to apply introduce on a par of string, you may type:

System.out.println("Weight is par1 and its height is par2.");

Then invoke Introduce... on par1 and the on par2
Comment 1 markiewb 2013-11-16 13:09:34 UTC
Somehow related to https://netbeans.org/bugzilla/show_bug.cgi?id=218861
Comment 2 Svata Dedic 2013-12-03 10:34:24 UTC

*** This bug has been marked as a duplicate of bug 218861 ***