We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created some VSCode User Snippet, but it not working inside other snippet.
This is newest version of VSCode, 1.36.
If I have this snippet,
"tmp": { "prefix": "tmp", "body": [ "#include <bits/stdc++.h>", "using namespace std;", "", "int main()", "{", " ${1:int} ans;", " ${2:/* code */}", " return 0;", "}" ], "description": "template" },
and trying this snippet inside $2 above,
"cin1": { "prefix": "cin1", "body": [ "int a;", "cin >> a;" ], "description": "template" },
it never works, and show nothing in completion.
I'd like to show completion inside snippet. Any helps are appreciated.
The text was updated successfully, but these errors were encountered:
Set this to false (as in deselect the checkbox in the settings panel) :
"editor.suggest.snippetsPreventQuickSuggestions": false
The default is true and will prevent your inside snippet from working as a snippet.
true
(I see I just answered your question on SO) :>}
Sorry, something went wrong.
Thank you very much! It works!
No branches or pull requests
I created some VSCode User Snippet, but it not working inside other snippet.
This is newest version of VSCode, 1.36.
If I have this snippet,
and trying this snippet inside $2 above,
it never works, and show nothing in completion.
I'd like to show completion inside snippet.
Any helps are appreciated.
The text was updated successfully, but these errors were encountered: