Re: refactor-rename of local variables

  • From: Paolo Scarabelli < >
  • To:
  • Subject: Re: refactor-rename of local variables
  • Date: Wed, 04 Jan 2012 01:01:32 +0800
  • Openpgp: id=9BE3F953

Hi Fred,

You can use the java.net to do it:

http://docs.oracle.com/javase/tutorial/networking/urls/readingURL.html

http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html

Then you can parse the xml result with org.w3c.dom, I found an example here:

http://docs.oracle.com/cd/B10501_01/appdev.920/a96621/adx04paj.htm


My java skills are poor at best so there are probably better ways to do
it. If you still have problems try on the NetBeans for Java mailing list.


Regards,


Paolo

On 01/03/2012 08:04 PM, Fred Garlov wrote:
> Hello,
> 
> what is happened to rename local variables in a method (Ctrl-R)? Now
> I'm getting popup for refactoring instead nice rename boxes
> surrounding the variable to rename. Was my favorite feature in NB
> 
> Product Version: NetBeans IDE 7.1 RC2 (Build 201111302200)
> Java: 1.7.0_01; Java HotSpot(TM) 64-Bit Server VM 21.1-b02
> System: Windows 7 version 6.1
> 
> 
> Regards
> Fred
> 
> 


refactor-rename of local variables

Fred Garlov 01/03/2012

Re: refactor-rename of local variables

Paolo Scarabelli 01/03/2012

Re: refactor-rename of local variables

Paolo Scarabelli 01/03/2012

Re: refactor-rename of local variables

Paolo Scarabelli 01/03/2012

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 307 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close