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

Lua user snippets context menu is opening when pressing enter #401

Closed
TheHorscht opened this issue Feb 20, 2021 · 2 comments
Closed

Lua user snippets context menu is opening when pressing enter #401

TheHorscht opened this issue Feb 20, 2021 · 2 comments
Labels
bug Something isn't working upstream A topic related to an upsteam piece of software, not the language server directly

Comments

@TheHorscht
Copy link

Everytime when pressing enter, the "insert snippet" context menu is opening with my user defined lua snippets.

Steps to reproduce the behavior:

  1. Create a new file with the filename having the .lua extension (bug does not happen with an "Untitled" file, even if language mode is set to lua)
  2. Open it, go to line 1 and press enter

image

Happens even with a very basic snippets file, for example:

{
	"Tostring": {
		"prefix": "ts",
		"body": [
			"tostring($0)",
		],
		"description": "Tostrings"
	}
}

Environment (please complete the following information):

  • OS: Windows 10 Version 10.0.18363 Build 18363
  • Is WSL remote? No idea what that is so I think not.
  • Client: VSCode 1.53.2

No other extensions are enabled. Only happens with the new 1.16.0 version, not the previous 1.15.1, when I go back to the old version again it stops happening.

@sumneko sumneko added the bug Something isn't working label Feb 21, 2021
@sumneko
Copy link
Collaborator

sumneko commented Feb 22, 2021

I think it is a bug of VSCode, I have opened a issue to VSCode, see microsoft/vscode#117194

@sumneko
Copy link
Collaborator

sumneko commented Feb 22, 2021

Fixed by VSCode.

@sumneko sumneko closed this as completed Feb 22, 2021
@sumneko sumneko added the upstream A topic related to an upsteam piece of software, not the language server directly label Feb 22, 2021
sumneko added a commit that referenced this issue Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream A topic related to an upsteam piece of software, not the language server directly
Projects
None yet
Development

No branches or pull requests

2 participants