* Allows extensions to register third-party snippets. Calling this function * twice with the same extensionId will replace the older snippets. * * Note that third-party snippets take precedence over core snippets, but * user snippets take precedence over both. * @param extensionId Th
(extensionId: string, snippets: SnippetMap)
| 136 | * @param snippets The snippets to be registered. |
| 137 | */ |
| 138 | registerThirdPartySnippets(extensionId: string, snippets: SnippetMap) { |
| 139 | this.thirdPartySnippets[extensionId] = snippets; |
| 140 | this.mergeSnippets(); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * Merge core, third-party, and user snippets, with precedence user > third |
nothing calls this directly
no test coverage detected