-
Notifications
You must be signed in to change notification settings - Fork 92
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
Unable to insert "dependency" Maven Snippet as expected #310
Comments
This part is duplicated with #311, and should have been fixed now.
For the duplicated "<" and ">", I don't have a perfect solution now. The CodeSnippet is a hard-coded snippet string as below. I don't know whether vscode has mechanism to detect and remove duplicated brackets, or we have to handle it by our own. |
In PR #323 , I added "<" trigger for the snippet to fix the issue in Step 6
As for hitting |
Just to mention that I find different behaviors when you type "<". In PR #329 , I've added naive logic to handle both cases, so users won't get strange behaviors during editing. |
I'm having the same issue on Mac. Similar to #311 (comment) where I am not getting any intellisense support for pom. The current version installed is 0.27.1 which came bundled with the extension pack. |
It's using TextEdit to update the file now, should have no problem any longer. I'm closing it. Please open a new issue with repro steps if you find similar issue. |
Describe the bug
I'm unable to insert the "dependency" Maven Snippet as expected. There are 2 issues:
To Reproduce
Steps to reproduce the behavior:
<dependencies>
section, type "<" and hit Ctrl+SpaceExpected: a suggestion for the "dependency" Maven snippet
Actual: only word-based suggestions
Expected: the snippet is correctly inserted
Actual: the snippet is inserted within the existing angle brackets
Environments
Screenshots
This is what I have after following the reproducer steps above:
The text was updated successfully, but these errors were encountered: