My favorites | Sign in
Project Home Wiki Source
Search
for
SwitchFilesFeature  
Updated Jul 19, 2009 by chris.sc...@gmail.com

SwitchFilesFeature

To ensure the correct functionality of this feature make sure you did setup your java/template paths in the Preferences!

This feature is a function which can be found in the navigate menubar (Navigate > Go To > Switch to Template/JavaFile) which allows you to switch back and forth between a tapestry template file and a tapestry component file. E.g you can switch from WizardPage.java to WizardPage.tml

Further characteristics are:

  • a file which is being switched to will be opened in case it wasn't before
  • the default ending of .tml can be changed on the Preferences page to .html
  • this action can be triggered by the shortcut Ctrl-Alt-x
  • the location for java/template files has to be defined in the preferences

Comment by alterbass@gmail.com, Nov 4, 2008

In Eclipse 3.3 for Mac OS X, the switch works from .tml to .java but doesn't work from .java to .tml

Comment by m.jedy...@gmail.com, Dec 16, 2008

In Eclipse 3.4 for WinXP there is the same problem.

Comment by kalle.o....@gmail.com, Jan 7, 2009

Same problem, using WinXP and 1.0.4 Loom development version

Comment by dariuszm...@gmail.com, Jan 8, 2009

I'm using that with tapestry 4 and only works from html to java but not from java to html. I'm using XP, Eclipse 3.4.1 and loom 1.0.4

Comment by collabor...@gmail.com, Mar 31, 2009

same here. when there will be a new version of this plugin?

Comment by maciekkr...@gmail.com, Jul 17, 2009

In Eclipse 3.3.2 Linux, the switch works from .tml to .java but doesn't work from .java to .tml Key bindigs are not working too

Comment by project member chris.sc...@gmail.com, Jul 19, 2009

sorry for the late reply, what paths are you guys using for your template and java directories? if you use the development version don't forget to setup your paths in the preferences.

Comment by project member chris.sc...@gmail.com, Jul 19, 2009

to maciekkreft, you might have other eclipse plug-ins using the loom shortcut, you should be able to use the shortcut by assigning a different one to either loom or the plug-in which is also using Ctrl+Alt+X

Comment by jug...@gmail.com, Aug 13, 2009

Nice plugin. I am using groovy. Plugin version 2 works greate but, when the page is a groovy file loom dose not work.

Comment by project member chris.sc...@gmail.com, Dec 4, 2009

jugn78, you are right it doesn't recognize the .groovy ending. To use it with groovy i recommend having a look at: http://code.google.com/p/switch-eclipse-plugin/

it is an experimental plugin i created which provides a customizable switching feature. Which means you can use it for any type of file you like. It is a bit hacky to setup but once you have the configuration right it'll do the job.

Comment by kapetin...@gmail.com, Mar 10, 2010

It gets lost if there is Pages with the same name but in different paths. The Switching always go to the first match.

But nice plugin.


Sign in to add a comment
Powered by Google Project Hosting