Is it possible to import a Sublime function into VsCode?

2

There is a function that I use a lot in the sublime that is F12 :

{ "keys": ["f12"], "command": "goto_definition" },

It presents all functions with the same name and even tab for the target file of that function / style. I wanted to embed this same function in VsCode. I've tried some examples but none have worked.

    
asked by anonymous 17.09.2018 / 00:16

1 answer

4

In VS Code there is Go to Definition and Peek Definition As you can consult in the official documentation:

link

link

I think you need more than Peek , see how it works in these images:

Ifyouwantedtousesomeextension,Ithinkthisshouldbeuseful: link

No CSS

Now if you want to get information from style in CSS you just press Ctrl and make hover about style, and if you click with Ctrl you go straight to .css file where class is , or you can use Peek Definition to see "locally" the styles of that class that are there in .css

See the picture:

Ifyouwant,thereisalsoanextensiontodothis: link

    
17.09.2018 / 00:46