Property need to be private to be resolved in the .tml I use to add @SuppressWarnings("unused") when needed. I like to have no analysis error or warnings. I wish that for my TML files too, but xmlns:p="tapestry:parameter" is not understood. <div> after <t:content> also gives me analysis error. I hope JetBrains will improve the Tapestry plugin when 5.4 is released.
@SuppressWarnings("unused") @Property private String myProp; <h1>My prop: ${myProp}</h1> BTW: IntelliJ IU-142.4083 seems to be the best v15 EAP. From: Chris Poulsen [via Apache Tapestry Mailing List Archives] [mailto:ml-node+s1045711n573113...@n5.nabble.com] Sent: 25. august 2015 14:44 To: Svein-Erik Løken <sv...@jacilla.no> Subject: Re: Inspection of Tapestry applications in IntelliJ There have been some improvements in the recent v15 EAPs. Also you can adjust the unused inspection to not trigger on certain annotations. (I think it is some sub-menu found under the "light bulb" when having an unused field marked) On Tue, Aug 25, 2015 at 2:29 PM, Poggenpohl, Daniel < [hidden email]</user/SendEmail.jtp?type=node&node=5731133&i=0>> wrote: > Hello again, > > right after solving after another problem, I thought that maybe you could > help me with another one regarding IntelliJ and Tapestry. > > The IDE has Tapestry support, but it seems to use a rather old Tapestry > version (5.1?). > The code inspections seem to be relatively dumb because @Property > annotated members are seen as "never used". In tml files, sometimes I get > error messages like "can't coerce List to selectModel" or "Cannot resolve > symbol ${someSymbol}" when I have a getSomeSymbol() in my java class. > > How do you deal with that? > > Regards, > Daniel P. > ________________________________ If you reply to this email, your message will be added to the discussion below: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Inspection-of-Tapestry-applications-in-IntelliJ-tp5731132p5731133.html To unsubscribe from users@tapestry.apache.org<mailto:users@tapestry.apache.org> Mailing List Archives, click here<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2375125&code=c3ZlaW5AamFjaWxsYS5ub3wyMzc1MTI1fC0xNTM4NzY2ODg4>. NAML<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>