martonsagi / al-object-designer

AL Object Designer for Dynamics 365 Business Central development
MIT License
39 stars 21 forks source link

EventSubscribers- only one per codeunit and also commented ones #39

Open bostjanles opened 4 years ago

bostjanles commented 4 years ago
  1. I have many EventSubscribers in one file. Only first one is in the list.
  2. Even if this first one is commented it will show in list

image image

martonsagi commented 4 years ago
  1. This one should be fixed in 0.1.0-beta.3, thanks!

  2. This might take longer to figure out block/regular comments with regular expressions. I'll put this to "Known issues" list for now.

bostjanles commented 4 years ago
  1. Yes now I can see all 4 subscribers :-)
  2. Ok.
martonsagi commented 4 years ago

I have a possible fix to handle block comments, needs some internal testing before creating an alpha build.

bostjanles commented 4 years ago

ok, when the alpha is ready let me know, so I can test it too.

martonsagi commented 4 years ago

0.1.4-alpha.1 is ready for testing. It contains fix for the runtime package issue #46 as well.

bostjanles commented 4 years ago

issue #46 is now skipped :-) issue #39 If event subscriber is commented with / / then is OK, but if lines are commented individual with // , then is not OK. I know it is tricky to parse.