Hi Geoff, Yes, this is a known "bug".
I know that CMD+R (Ctrl+R) sometimes stops working in the Debug Perspective, and keeps broken after returning from Debug to the Java Perspective. This happens after you set a breakpoint in the Java code and debugger hits that. It becomes broken because Debug Perspective declares its own CMD+R shortcut, which maps to "Run to Line" action. I can reproduce this issue on my machine, and it reverted to normal after stopping the Java process that was under debugging in Eclipse. After you stop the process CMD+R starts working again. So if you feel uncomfortable with that, just remap the shortcut to something else (either plugin's or of "Run to Line"). Personally I use non-default configuration, the one that's mentioned in the README: https://github.com/anjlab/eclipse-tapestry5-plugin#quick-switch-shortcut *Tip:* If you installed Quick Switch feature, I recommend you to change key > bindings vice versa:CMD+; for Code/Design switch and CMD+R for the Quick > Switch pop-up: > On Wed, Feb 4, 2015 at 3:00 PM, Geoff Callender < [email protected]> wrote: > Hi Dmitry, > > I find this tool utterly invaluable, even though I keep related java, tml, > and properties in the same folder. There is one problem, though - the > keyboard shortcuts get corrupted as the day goes on - probably by clashes > with other editors (javascript editor in particular? I'm not sure). Do you > have any advice on how to avoid or prevent this happening? > > Cheers, > Geoff > > On 4 Feb 2015, at 6:15 pm, Dmitry Gusev <[email protected]> wrote: > > > Hi Martin, > > > > I'm sorry I was unclear, the symbol expansion support is not yet in the > > plugin. > > I was just saying that it shouldn't be hard to add the support for simple > > symbol contributions :) > > > > I'll try to add it in the next release. > > > > On Wed, Feb 4, 2015 at 7:15 AM, Martin Papy <[email protected]> > wrote: > > > >> Hi Dmitry, > >> > >> My code was slightly different, but I updated it to see if there was any > >> difference. So now I have this : > >> > >> public static void > >> contributeApplicationDefaults(MappedConfiguration<String, String> > >> configuration) { > >> configuration.add("layout.assets", "META-INF/assets"); > >> configuration.add("layout.scripts", "META-INF/assets/js"); > >> configuration.add("layout.styles", "META-INF/assets/css"); > >> configuration.add("layout.images", "META-INF/assets/images"); > >> } > >> > >> But the Tapestry Context is still unable to resolve the following : > >> > >> @Import(library={ > >> "${layout.scripts}/jquery.confirm.js" > >> }, module={ > >> "bootstrap/modal", > >> "bootstrap/transition", > >> }) > >> > >> None of the 3 assets can be properly resolved... Not the end of the > world > >> of course :) Just a heads up. > >> > >> Again I love this plugin ^^ > >> > >> -- Martin > >> > >> On Tue, Feb 3, 2015 at 4:16 PM, Dmitry Gusev <[email protected]> > >> wrote: > >> > >>> Hi Martin, > >>> > >>> My current goal is to avoid configuration files at this stage if > >> possible, > >>> but try to get all the data via static code analysis. > >>> > >>> In this sense capabilities of the plugin are somewhat limited, for > >> example, > >>> this may be implemented with a little effort if you define your symbols > >> via > >>> SymbolSource configuration add/override (simple case without > conditional > >>> statements), something like: > >>> > >>> public static void contributeApplicationDefaults( > >>> > >>> MappedConfiguration<String, Object> configuration) > >>> > >>> { > >>> > >>> configuration.add("layout.scripts", "foo"); > >>> > >>> configuration.add("layout.styles", Constants.BAR); > >>> > >>> } > >>> > >>> Is this your case? > >>> > >>> On Tue, Feb 3, 2015 at 7:45 AM, Martin Papy <[email protected]> > >> wrote: > >>> > >>>> That is indeed a GREAT work :) Awesome :) > >>>> > >>>> If I have 1 quick idea, it would be to be able to configure a symbol > >> list > >>>> so that we can open properly assets from the Import Annotation :). > Here > >>>> bellow I would like to defined what ${layout.scripts} points to. > >>>> > >>>> @Import(library={ > >>>> "${layout.scripts}/html5shiv-printshiv.js" > >>>> }, > >>>> stylesheet={ > >>>> "${layout.styles}/chronicles/bootstrap.css" > >>>> }) > >>>> > >>>> -- Martin > >>>> > >>>> On Tue, Feb 3, 2015 at 10:01 AM, Bob Harner <[email protected]> > >> wrote: > >>>> > >>>>> Awesome work, Dmitry! It just gets better and better... > >>>>> > >>>>> On Mon, Feb 2, 2015 at 1:51 AM, Dmitry Gusev <[email protected] > >>> > >>>>> wrote: > >>>>>> Hey Tapestry Users, > >>>>>> > >>>>>> I haven't updated release notes for the plugin for almost a year, > >>> lots > >>>> of > >>>>>> minor features & improvements were released since then. > >>>>>> > >>>>>> Release 2.8.0 is different, because it introduces basic support for > >>>>>> Tapestry 5.4. > >>>>>> > >>>>>> Some major changes: > >>>>>> > >>>>>> - Tapestry Context View > >>>>>> - Now shows JavaScript modules, both imported via > >>>>>> @Import(module="...") and required with > >>>>> JavaScriptSupport.require("...") > >>>>>> - Validation rules for assets updated to include new > >> location: > >>>>>> META-INF/assets > >>>>>> > >>>>>> > >>>>>> - Tapestry Project Outline View > >>>>>> - Added support for @ImportModule annotation > >>>>>> - You can now see a list of services, decorators, advisors, > >> and > >>>>>> contributors defined in each module. This is in addition to > >>>> Library > >>>>>> Mappings & JavaScript Stacks. All are clickable and > >> selectable > >>>>>> - Double click to jump to definition > >>>>>> - Selecting items in this view updates the JavaDoc view & > >>> source > >>>>>> range in Java editor if open (handy for learning the source > >>> code) > >>>>>> > >>>>>> As usual you can find updated README with screenshots and download > >>>>>> instructions on Github: > >>>>>> > >>>>>> https://github.com/anjlab/eclipse-tapestry5-plugin#readme > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Dmitry Gusev > >>>>>> > >>>>>> AnjLab Team > >>>>>> http://anjlab.com > >>>>> > >>>>> --------------------------------------------------------------------- > >>>>> To unsubscribe, e-mail: [email protected] > >>>>> For additional commands, e-mail: [email protected] > >>>>> > >>>>> > >>>> > >>> > >>> > >>> > >>> -- > >>> Dmitry Gusev > >>> > >>> AnjLab Team > >>> http://anjlab.com > >>> > >> > > > > > > > > -- > > Dmitry Gusev > > > > AnjLab Team > > http://anjlab.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Dmitry Gusev AnjLab Team http://anjlab.com
