Skip to content
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

ctor (and other expected) snippets are not available from the Insert Snippet command. #1459

Closed
shaunluttin opened this issue May 6, 2017 · 0 comments
Assignees
Milestone

Comments

@shaunluttin
Copy link

shaunluttin commented May 6, 2017

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1

VS Code version: 1.12.1
C# Extension version: 1.9.0

Steps to reproduce

  1. dotnet new console
  2. dotnet restore
  3. dotnet build
  4. code .
  5. Required assets to build and debug are missing from 'temp'. Add them? Yes.
  6. Place the cursor inside the Program class definition.
  7. Open the command pallet and type: insert snippet.

Expected behavior

ctor appears in the list of snippets to insert, because ctor is one of the snippets listed in ~\.vscode\extensions\ms-vscode.csharp-1.9.0\snippets\csharp.json on my local machine.

Actual behavior

ctor does not appear in the list of snippets to insert. In the c section we have:

  • checked
  • class
  • cw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants