Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Intellisense for Trigger OnBeforeAction OnAfterAction in Page Extensions #7916

Open
pri-kise opened this issue Nov 22, 2024 · 1 comment

Comments

@pri-kise
Copy link

Please include the following with each issue:

1. Describe the bug
Currently the AL Language Extension does not suggest the Triggers when you modify an action in a pagee extension.

2. To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
pageextension 50000 "PTE Contact Card" extends "Contact Card"
{
    actions
    {
        modify(CreateAsCustomer)
        {
// Try to type trigger an then Ctrl+Space for Intellisense
/*
            trigger OnBeforeAction()
            var
                Magic: Codeunit "PTE Magic";
            begin
                Magic.Do(Rec);
            end;
*/
        }
    }

}

3. Expected behavior
When you type trigger then intellisense should suggest the both valid triggers

4. Actual behavior
Currently only snippets are shown.

5. Versions:

  • AL Language: v15.0.1177813 (pre-release)
@jmadrigalTCN
Copy link

It works for me:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants