[Geany-Users] JavaScript and class syntax

Colomban Wendling lists.ban at xxxxx
Fri Oct 23 14:48:41 UTC 2020


Le 23/10/2020 à 14:51, Claude Paroz a écrit :
> […]
> I also see now anonymous functions used with addEventListener('click',
> function () {...}); as
> 
> AnonymousFunction1
> AnonymousFunction2
> ...
> which is not really useful. I guess it's not possible to turn that off?

Not currently without hacking the code a bit.  Something like the
attached patch should do, but I don't guarantee it doesn't have some
corner case side effects on other tags.

Regards,
Colomban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctags-no-anonymous-tags.diff
Type: text/x-patch
Size: 932 bytes
Desc: not available
URL: <https://lists.geany.org/pipermail/users/attachments/20201023/f9dac0ff/attachment.bin>


More information about the Users mailing list