You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guide follows a "building-up" approach, so I think it should link to the yeoman generator for generating a skeleton project first. By only offering the full app, some people who get directly linked to this page might not be able to code along reading the docs.
In the sample it's catCoding.start whereas in the doc it's catCoding.newCat. This makes it harder to copy-paste the code and be able to run it immediately.
Still Editing this issue. Not done yet.
All through with the doc.
The text was updated successfully, but these errors were encountered:
Why would user be interested in serializing / deserializing their app's state on dispose when there is retrainContextWhenHidden? As an extension author I would always use the most simple way to do the same thing. What's the incentive for them to store state and restore app from state?
You need a section devoted to debugging webview, like how to open Webview devtools and how to Refresh pages I believe.
I'm not sure about 2. This is an advanced api feature so the target audience is really small. If we create a simple webview boilerplate, we are sending the message that this API is something that we think many extension authors should use (which is not the case)
4 is covered in the docs. The section on retainContextWhileHidden explains that this option has high memory overhead. We cannot stop people for using this option just because it is convenient, but now we have documented what the cost of this choice is
For 5, there's already basic section on how to open the developer tools in the docs. I'll add a note on reloading too
mjbvz
added a commit
to microsoft/vscode-docs
that referenced
this issue
Apr 26, 2018
Thanks for the feedback. I believe the points have all been addressed (except for 2 which I'm not in favor or doing for the reasons outlined in my other comment)
Testing #48453
Should distinguish watch/compile scripts (Distinguish between watch and compile vscode-extension-samples#63)
The guide follows a "building-up" approach, so I think it should link to the yeoman generator for generating a skeleton project first. By only offering the full app, some people who get directly linked to this page might not be able to code along reading the docs.
In the sample it's
catCoding.start
whereas in the doc it'scatCoding.newCat
. This makes it harder to copy-paste the code and be able to run it immediately.Still Editing this issue. Not done yet.All through with the doc.
The text was updated successfully, but these errors were encountered: