Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to navigate to interface's implementation in VS Code as easily as in WebStorm?

I'm trying Visual Studio Code for TypeScript projects at the moment. So far, I like it, but I'm having an issue with interfaces. I would like to be able to jump to interface's implementation(s) as easily as I can with WebStorm. Just a click on the green button on the left as in the picture below jumps to the implementation (or shows a list of there are multiple implemenations).

Anyone know how to do it in VSCode?

Interfaces in webstrom

like image 554
JulienCoo Avatar asked Oct 12 '18 10:10

JulienCoo


People also ask

How do you find implementation in VS Code?

Go to Implementation# Languages can also support jumping to the implementation of a symbol by pressing Ctrl+F12. For an interface, this shows all the implementors of that interface and for abstract methods, this shows all concrete implementations of that method.

How do you open the implementation method in Visual Studio?

Choose Navigate | Go To Implementation in the main menu, press Ctrl+F12 , or click the symbol while holding Ctrl+Alt keys. Note that in Visual Studio 2017 and later, the Ctrl+Alt -click is used for adding multiple carets.

Is WebStorm faster than VS Code?

WebStorm is generally more efficient at refactoring and testing JavaScript and JavaScript-based code (such as TypeScript). Refactoring optimizes code for efficiency, while unit testing ensures product quality. VS Code still provides these features — but they aren't tailored to JavaScript.

How do I open the implementation class in Intellij shortcut?

To navigate to the implementation, press Ctrl+Alt+B .


1 Answers

You can go to the implementation of an interface by clicking on Ctrl + F12. You can always read more about this in the official documentation.

  • Go to Definition: Ctrl + Click
  • Go to Definition (Alternative): F12
  • Go to Implementation Crl + F12
  • Go to Implementation + F12 (MAC)
like image 51
Sibeesh Venu Avatar answered Sep 19 '22 09:09

Sibeesh Venu