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
Currently, an snippet only add itself to the codebase but its dependencies are not added automatically.
VSCode Snippets doesn't allow the declaration of modules/imports in the snippets.json. However, Rust Analyzer allows the declaration of snippets overwritting the propiety rust-analyzer.completion.snippets.custom.
To resolve this issue, the snippet-lang should include snippet-requires-start/end tags and the compiler should be able to convert them to the Rust Analyzer format. The location of the snippets will be the inside the contributes of the extension's package.json.
The text was updated successfully, but these errors were encountered:
Currently, an snippet only add itself to the codebase but its dependencies are not added automatically.
VSCode Snippets doesn't allow the declaration of modules/imports in the
snippets.json
. However, Rust Analyzer allows the declaration of snippets overwritting the propietyrust-analyzer.completion.snippets.custom
.To resolve this issue, the snippet-lang should include
snippet-requires-start/end
tags and the compiler should be able to convert them to the Rust Analyzer format. The location of the snippets will be the inside the contributes of the extension'spackage.json
.The text was updated successfully, but these errors were encountered: