如何在 Visual Studio Code 中设置我的工作区文件夹? [英] How do I set my workspace folder in Visual Studio Code?

查看:86
本文介绍了如何在 Visual Studio Code 中设置我的工作区文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Visual Studio Code 中设置我的工作区文件夹?

这似乎是调试所必需的,我怀疑这就是我的断点没有被命中的原因.


进一步阅读:

  1. 这个

    1. 文件浏览器打开.选择工作区所需的文件夹.添加.


    现在您的工作区文件夹显示在左窗格中:-)

    How do I set my workspace folder in Visual Studio Code?

    This appears to be necessary for debugging, and I suspect it's why my breakpoints aren't getting hit.


    Further reading:

    1. This question about adding workspaces doesn't have an accepted answer.
    2. What is a 'workspace' in VS Code?, while providing a wealth of information, does not explain how to set a workspace for debugging.
    3. User and Workspace Settings. The documentation also does not mention how to set a workspace for debugging.

    解决方案

    How do I set my workspace folder in Visual Studio Code?


    1. Open Visual Studio Code. You should be on the Welcome page.
    2. Add workspace folder...

    1. File explorer opens. Select the folder you want for your workspace. Add.


    Now your workspace folder is shown in the left pane :-)

    这篇关于如何在 Visual Studio Code 中设置我的工作区文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆