On a JavaScript TextDocument, can I detect if it has a class that extends from an arbitrary other class? If I want to detect a TextDocument that has a class that extends from Animal
, the below will suffice.
class Rabbit extends Animal{
}
Or more generally, How do I get more information about a token in vscode? Like a variable’s type, or function’s parameters, or any other information that a token could have.
I thought Programmatically get list of all symbols in VS Code workspace for custom extension could be the solution, but it does not provide language-specific information.
이시형 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.