DavidFeldhoff / al-codeactions

MIT License
17 stars 8 forks source link

Add DefinitionProvider for EventSubscribers #94

Closed DavidFeldhoff closed 3 years ago

DavidFeldhoff commented 3 years ago

If I execute "Go to Definition" on the OnAfterUpdateCustomer text, then it should lead to the declaration of the event publisher.

[EventSubscriber(ObjectType::Codeunit, Codeunit::"CustVendBank-Update", 'OnAfterUpdateCustomer', '', false, false)]
procedure OnAfterUpdateCustomer(var Customer: Record Customer; Contact: Record Contact);
begin
end;

If AL Studio is also installed, then this won't be activated, so that there aren't two providers.