Web IDE / VSCode User Defined Snippets stopped working since 18.3

Summary

Since 18.3, the Snippets > Insert:Snippet Command fails to retrieve snippets. User defined snippets can be located under .vscode/<snippet file name>.code-snippets . I was able to reproduce on a local instance and on gitlab.com.

See: Snippets in Visual Studio Code

Steps to reproduce

  • In a repo, create a .vscode folder
  • Create a test.code-snippets file. The content should not matter to trigger the bug, but you can try a gist like VS Code snippets to have something in there
  • Open a Web IDE session
  • Control + P to bring the command palette, then Snippets > Insert Snippets

What is the current bug behavior?

Brings up an error when calling the command

What is the expected correct behavior?

Should bring up a snippet picker

Relevant logs and/or screenshots

Possible fixes

Edited by Golden Eclipse