microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718 stars 242 forks source link

Some operators (e.g., and, or, xor, is) are missing from autocomplete within the conditions of an if-statement #7779

Open dannoe opened 1 week ago

dannoe commented 1 week ago

1. Describe the bug If you type a if-statement and want to combine multiple conditions, autocomplete does not provide these operators:

2. To Reproduce see screenshot

procedure Foo(): Text
var
    Bool: Boolean;
    Bool2: Boolean;
begin
   if Bool and Bool2 then
     exit('');
end;

3. Expected behavior I expect that the autocomplete provides these operators.

4. Actual behavior Autocomplete does not provide these operators.

5. Versions: