Looks good to me: > Register FoldManagerFactory into xml layer into the directory > "Editors/<mime-type>/FoldManager/"
--emi On Wed, Jun 3, 2020 at 1:42 AM Bilu Al <albi...@gmail.com> wrote: > > Hello, > > Is it possible to register custom language to the language context tab in > editor options for: Folding, Formating, Hints etc... > > This works fine for CodeTemplates in layer file : > <folder name="Editors"> > <folder name="text"> > <folder name="x-custom"> > <folder name="CodeTemplates"> > <file name="Xxxtemplates.xml" > url="/com/xxx/xxx/config/Xxxtemplates.xml"/> > </folder> > > > But not for FoldManager, not sure to have the right syntax. > FoldManagerFactory already implemented: > <folder name="FoldManager"> > <file name="com-xxx-xxx-parser-XXXFoldManagerFactory.instance"/> > </folder> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists