'Visual Studio Code | How to get Javascript class methods and variables to auto appear while coding in an HTML file
BACKGROUND
Just in case this helps you understand the problem.
I came from coding in XCode with swift, back to Visual Studio Code to work on some web development stuff. I honestly may have been slightly spoiled, because while using XCode, when I'd try to call the method of a public class, once I'd pressed the .
(Dot or Period) and a list of the classes methods and variables would appear, even if I wasn't on the document they were created on.
class SamplePage: UIViewController {
collectPost(){
var title = "Read It" }
}
Later I might call it this way - Don't swift with me now, so going off memory
collectPost().title`
Something like this, but when I'd type collectPost().
the options would appear.
QUESTION
Is there a way to see all possible methods and variables with a Javascript class, while coding in an HTML file between in Visual Studio Code?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|