Opened 8 years ago

Last modified 4 years ago

#373 assigned Feature Requests (None)

Refactoring support

Reported by: nobody Owned by: nobody
Priority: 9 Milestone: 1.5.0
Component: PHP Editor Version: 1.2.x
Keywords: refactor Cc:

Description (last modified by ed_mann)

Renaming file or variable should correct code
accordingly like in JDT.

Change History (7)

comment:1 Changed 7 years ago by nobody

Logged In: NO 

this would be excellent!

comment:2 Changed 7 years ago by axelcl

Logged In: YES 
user_id=1143825

There's an article in the current german eclipse-magazin:
http://www.eclipse-magazin.de/itr/online_artikel/psecom,id,778,nodeid,230.html
which seems to be a good starting point.
Can someone provide the sources for the example?

See also:
http://www.eclipsecon.org/2005/presentations/EclipseCon2005_5.1Maetzel.pdf


comment:3 Changed 7 years ago by bananeweizen

Logged In: YES 
user_id=440739

Sources are available at
http://www.eclipse-magazin.de/itr/ausgaben/psfile/datei/61/frenzel_lt437d8f486fb21.zip

comment:4 Changed 7 years ago by axelcl

Logged In: YES 
user_id=1143825

Thanks BananeWeizen, I've checked in a first basic version
into CVS, which isn't working correctly!

If you checked out the new net.sourceforge.phpdt.ltk.*
packages from CVS and applied the attached patch for the
plugin.xml file, there's a new action "Rename PHP
Identifier" in the editors context menu, with which you can
make first refactoring experiments. 

*** NOTE: this action doesn't work correct. Use it at your
own risk. You should have made backups of your projects ***

It's only meant for developers for testing the basic
refactoring dialogs !

comment:5 Changed 7 years ago by nobody

Logged In: NO 

Refactoring support (too) : 
 - Extract code

comment:6 Changed 5 years ago by ed_mann

  • billable set to 0
  • Component changed from editor to PHP Editor
  • Description modified (diff)
  • Keywords refactor added
  • Milestone set to 1.5.x
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

comment:7 Changed 4 years ago by incastrix

  • os_platform changed from Linux to Any
  • Priority changed from 5 to 9
  • Version changed from 1.2.0-nightly to 1.2.x

need AST. :-P

Note: See TracTickets for help on using tickets.