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

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

Closed
dannoe opened this issue Jun 24, 2024 · 1 comment

Comments

@dannoe
Copy link

dannoe commented Jun 24, 2024

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

  • and
  • or
  • xor
  • is (Preview feature)
  • maybe more, which I didn't consider
    grafik

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:

  • AL Language: v14.0.1055126 (pre-release)
  • Visual Studio Code: 1.90.2
@dannoe dannoe changed the title Some keywords (e.g., and, or, xor, is) are missing from autocomplete within the conditions of an if-statement Some operators (e.g., and, or, xor, is) are missing from autocomplete within the conditions of an if-statement Jun 24, 2024
@dannoe
Copy link
Author

dannoe commented Jul 11, 2024

I just noticed that "and", "xor", "or" and some other keywords are also not shown for c#. So I think this is "by-design".

@dannoe dannoe closed this as completed Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant