-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Problems with autocompletion #41
Comments
Some of the snippet have the same name with the keyword, this requires manually choose between keyword and snippet, which is inconvenient |
Hi @AnsonYeung , I think you are confusing auto complete and snippets. The auto complete feature, which is a VS Code functionality, is responsible for what you see in your first (typing if .. then) and second (missed auto complete while using snippets), so, you should report this directly in VS Code repository. About the two positions in About capitalizing the first letter of keywords, I'm sorry, but there is no way (API) to create such customization. I think you should look for another extension that does things like that (use a user created dictionary to auto replace specific keywords). About replacing the begin...end end snippet to use dot instead of semicolon, I won't change that, because the semicolon is a lot more used than dot. But I invite you to make a pull request, adding a new snippet with that new snippet. Finally, about the snippets with the same name as a keyword, I think you are talking about Hope this helps. |
@alefragnani I experience a big problem when typing while...do loop. When I type do, it will turn to |
Hi @AnsonYeung , This is also caused by VS Code auto complete feature, not the snippet itself. I think you should take a look at |
Some of the auto complete does not work well.
Example:
When I type
if ... then
Then I pressed enter, the enter key will be eaten.
What I want is skip to the next line with indent.
This only happens when I pressed the enter key second time.
Besides, the snippet of begin...end is bad.
It inserts two position, one between begin end and one after the end keyword.
However, when I type code between begin end, the auto complete function will not work at all. There will be no hint at all.
Also, can you make a option to capitalize the first letter of keywords?
For example, when I type "if" then pressed space, the "if" keyword will become "If"
Lastly, it will be good if the main begin end will be automatically insert the dot instead of a semicolon.
The text was updated successfully, but these errors were encountered: