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
Hover over client.setProject("myProject"); or client.setEndpoint("https://cloud.appwrite.io/v1") and see no JSDocstring.
馃憤 Expected behavior
When I hover over the client.setProject("myProject"); or client.setEndpoint("https://cloud.appwrite.io/v1") part, it should show the JSDoc using this Docstring provided in your source code:
/** * Set Endpoint * * Your project endpoint * * @param {string} endpoint * * @returns {this}*/
or
/** * Set Project * * Your project ID * * @param value string * * @return {this}*/
馃憥 Actual Behavior
They actually don't. I am not sure if this is a problem by the IDE or not.
馃幉 Appwrite version
Version 0.10.x
馃捇 Operating system
Windows
馃П Your Environment
Vercel for hosting. VSCode 1.70.3 as IDE, Windows 7 for OS, HP Probook 4520s for Machine
馃憖 Have you spent some time to check if this issue has been raised before?
@RyanBaig, thanks for raising this issue! 馃檹馃徏 Does this work with any other package from CDN? Do you have a code sample of it working with another CDN? I tried with lodash and didn't get any typing info:
From my experience, your IDE knows about packages when you have a package.json and install the package so it's in your node_modules. When you add a script tag for a package, the IDE has no idea about the types and whatnot about the package.
馃憻 Reproduction steps
client.setProject("myProject");
orclient.setEndpoint("https://cloud.appwrite.io/v1")
and see no JSDocstring.馃憤 Expected behavior
When I hover over the
client.setProject("myProject");
orclient.setEndpoint("https://cloud.appwrite.io/v1")
part, it should show the JSDoc using this Docstring provided in your source code:or
馃憥 Actual Behavior
They actually don't. I am not sure if this is a problem by the IDE or not.
馃幉 Appwrite version
Version 0.10.x
馃捇 Operating system
Windows
馃П Your Environment
Vercel for hosting. VSCode 1.70.3 as IDE, Windows 7 for OS, HP Probook 4520s for Machine
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: