Custom Code Folding

Hi all,

Looking at the Netbeans docs I see it’s possible to add custom code folding by adding pseudo XML tags around the desired block ie:

//
… code…
…code…
//

I tried it with standard Lua comment tags but no luck, is it possible to add this or is it already there, but I can’t see it? :slight_smile:

[import]uid: 45444 topic_id: 32249 reply_id: 332249[/import]

Hello Crussell,

Sorry but this feature is not implemented yet for Lua, pretty much everything you see in the netbeans docs was re-implemented for Lua. If possible you could try using a do…end block to force a code fold. The only caveat here is if you declare locals in here they wont show up outside.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 32249 reply_id: 128349[/import]

Hello Crussell,

Sorry but this feature is not implemented yet for Lua, pretty much everything you see in the netbeans docs was re-implemented for Lua. If possible you could try using a do…end block to force a code fold. The only caveat here is if you declare locals in here they wont show up outside.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 32249 reply_id: 128349[/import]