You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Controls if suggestions should be accepted on commit characters. For instance in JavaScript the semi-colon (';') can be a commit character that accepts a suggestion and types that character.
"editor.acceptSuggestionOnCommitCharacter": true,
As the comment mentions, what this does is accept the autocomplete suggestion not just on enter/tab, but also when entering certain characters that are usually used after the suggested text.
For example, if programming in Javascript you would write (as typed on the keyboard):
win.al('hello');
And Visual Studio will confirm the suggestion after each '.' and '('. So the resulting code would actually be:
window.alert('hello');
Now, what characters accept the suggestion depend on the language, and AL doesn't seem to autocomplete on any of the characters that would usually continue a suggestion. For example: '.', '(' and ';' just write the specified char, cancelling the selected suggestion.
It would be great if the NAV extension supported this setting. Specially for those of us who also work with C# or Javascript and keep cancelling suggestions by mistake, when writing AL code! :)
P.S. I checked that this was not implemented in version 0.17.19506.
The text was updated successfully, but these errors were encountered:
In Visual Studio Code there is this user setting:
As the comment mentions, what this does is accept the autocomplete suggestion not just on enter/tab, but also when entering certain characters that are usually used after the suggested text.
For example, if programming in Javascript you would write (as typed on the keyboard):
And Visual Studio will confirm the suggestion after each '.' and '('. So the resulting code would actually be:
window.alert('hello');
Now, what characters accept the suggestion depend on the language, and AL doesn't seem to autocomplete on any of the characters that would usually continue a suggestion. For example: '.', '(' and ';' just write the specified char, cancelling the selected suggestion.
It would be great if the NAV extension supported this setting. Specially for those of us who also work with C# or Javascript and keep cancelling suggestions by mistake, when writing AL code! :)
P.S. I checked that this was not implemented in version 0.17.19506.
The text was updated successfully, but these errors were encountered: