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

Error updating $schema if editor no longer has focus #389

Closed
ghost opened this issue Nov 9, 2019 · 3 comments · Fixed by #392
Closed

Error updating $schema if editor no longer has focus #389

ghost opened this issue Nov 9, 2019 · 3 comments · Fixed by #392
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Nov 9, 2019

Repro steps:

Action: queryUpdateSchema
Error type: Error
Error Message: TextEditor#edit not possible on closed editors

Version: 0.8.2
OS: win32
Product: Visual Studio Code
Product Version: 1.40.0
Language: en

Call Stack
d.edit extensionHostProcess.js:493:41
AzureRMTools.<anonymous> extension.bundle.js:127:181867
extension.bundle.js:127:174871extension.bundle.js:127:174871
n extension.bundle.js:127:174619
AzureRMTools.replaceSchema extension.bundle.js:127:181575
AzureRMTools.<anonymous> extension.bundle.js:127:181275
o extension.bundle.js:127:174675
@StephenWeatherford
Copy link
Contributor

@vvcomsys Interesting. I'm guessing you closed the editor before clicking to update the schema? Or did something else happen? Thanks.

Also, I assume it works if you don't close the editor first?

@StephenWeatherford
Copy link
Contributor

Okay, I see that even just tabbing away from the editor can do this.

@StephenWeatherford
Copy link
Contributor

Fixed in #389, not yet released. Thanks for reporting. In the meantime, it should work if you don't close or change tabs before you click to update the schema. Thanks!

@StephenWeatherford StephenWeatherford unpinned this issue Dec 18, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant