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

toggle comment gives an ERROR - Unexpected exeption while executing command #36226

Closed
sspnet opened this issue Oct 13, 2017 · 7 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *caused-by-extension Issue identified to be caused by an extension extensions Issues concerning extensions verified Verification succeeded
Milestone

Comments

@sspnet
Copy link

sspnet commented Oct 13, 2017

  • VSCode Version: Code 1.17.1 (1e9d365, 2017-10-10T14:24:50.851Z)
  • OS Version: Windows_NT x64 10.0.15063
  • Extensions:
Extension Author (truncated) Version
vscode-eslint dba 1.3.2
vscode-html-css ecm 0.1.8
tslint eg2 1.0.11
coldfusion ili 0.0.11
Angular2 joh 2.7.0
vscode-github Kni 0.22.0

Steps to Reproduce:

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added extensions Issues concerning extensions new release labels Oct 13, 2017
@egamma egamma removed extensions Issues concerning extensions new release labels Oct 13, 2017
@egamma
Copy link
Member

egamma commented Oct 13, 2017

Please provide more detailed steps as described in Submitting-Bugs-and-Suggestions.

  • what language did you edit when this happens?
  • can you provide steps for how to reproduce it?
  • can you reproduce this when all the extensions are disabled.

@egamma egamma added the info-needed Issue requires more information from poster label Oct 13, 2017
@sspnet
Copy link
Author

sspnet commented Oct 13, 2017 via email

@egamma
Copy link
Member

egamma commented Oct 13, 2017

[image: Inline afbeelding 1]

The image got lost, can you please re-attach.

When this happens can you please open the developer tools Help>Toggle Developer Tools and see what exception is shown in the console tab?

Can you reproduce this when you have the extensions disabled (start code --disable-extensions.

@sspnet
Copy link
Author

sspnet commented Oct 16, 2017 via email

@sspnet
Copy link
Author

sspnet commented Oct 16, 2017 via email

@egamma egamma added editor and removed info-needed Issue requires more information from poster labels Oct 16, 2017
@alexdima
Copy link
Member

alexdima commented Oct 20, 2017

The root cause lies with the extension which defines the line comment token to be a string array instead of a string in https://github.com/ilich/vscode-coldfusion/blob/master/cfscript.configuration.json#L3

A PR that would fix the root cause already exists against the extension at https://github.com/ilich/vscode-coldfusion/pull/30/files

I will look into a fix on our side that we should not accept a string array instead of a string for a line comment token.

@alexdima alexdima added *caused-by-extension Issue identified to be caused by an extension bug Issue identified by VS Code Team member as probable bug labels Oct 20, 2017
@alexdima
Copy link
Member

From now on a warning will be presented in the developer tools and the line comment rule will be ignored: language configuration: expected `comments.lineComment` to be a string.

@alexdima alexdima removed the editor label Oct 20, 2017
@alexdima alexdima added the extensions Issues concerning extensions label Oct 20, 2017
@alexdima alexdima modified the milestones: Backlog, October 2017 Oct 20, 2017
@mjbvz mjbvz added the verified Verification succeeded label Nov 3, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *caused-by-extension Issue identified to be caused by an extension extensions Issues concerning extensions verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants