Hm, I never knew code folding is supposed to auto-register in that setting
panel. Are you sure?

Do you not see code folding in the editor?

--emi


On Wed, Jun 3, 2020 at 12:37 PM Bilu Al <[email protected]> wrote:

> Its not working:
> [image: 25.png]
>
> but for CodeTemplate works fine my custom language is displayed:
> [image: 22.png]
>
>
> is there anything wrong in my layer.xml ?
>
> Le mer. 3 juin 2020 à 08:01, Emilian Bold <[email protected]> a
> écrit :
>
>> 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 <[email protected]> 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: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>> > For further information about the NetBeans mailing lists, visit:
>> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> >
>>
>

Reply via email to