Method List in Visual Studio Code

前端 未结 17 1867
醉话见心
醉话见心 2021-01-29 19:10

I\'ve recently started using the Visual Studio Code editor. I\'m really loving it, but there\'s one critical feature (for me) that I haven\'t been able to find. Is there a met

17条回答
  •  佛祖请我去吃肉
    2021-01-29 19:16

    Update: As stated in the comments by @jeff-xiao this extension is Deprecated and it's now a built in feature of Visual Studio code. It should be available at the bottom of file explorer as "Outline" view.

    Previous text: There is now an Extension that supports this. Code Outline creates a panel in the "Explorer" section and for JavaScript, will list variables and functions in a file. I've been using this for a while now and it scratches the itch I had. Other commenters have mentioned it supports Python and PHP well.

    It still seems to be in development but I haven't had any issues. Development version available on GitHub. If you're the author reading this - thanks!

    This is how it looks:

    If Code Outline is not visible, you can show it by:

提交回复
热议问题