英文:
Search only inside a specific namespace in Object Explorer
问题
You can search the Object Browser in Visual Studio 2022 by typing in the search bar. However, this searches across all namespaces, which can be overwhelming. To search within a specific namespace, like "PnP.Framework" in the screenshot you provided, you can try the following:
在Visual Studio 2022的对象浏览器中,您可以在搜索栏中输入内容进行搜索。然而,这将搜索所有命名空间,这通常会太多了。要在特定命名空间内搜索,比如您提供的截图中的 "PnP.Framework",您可以尝试以下方法:
英文:
Its possible to search the Object Browser of Visual Studio 2022 with typing something in the search bar.
However, this searches all namespaces, what is usually a way too much.
Can you tell me if there is any way how one can search only one namespace?
For example in this screenshot I would like to search only inside PnP.Framework:
答案1
得分: 1
你可以通过将PnP.Framework添加到自定义组件集来指定在PnP.Framework中进行搜索。以下是将log4net.Core添加到自定义组件集的方法:
-
在对象浏览器的浏览器中选择编辑自定义组件集
-
转到解决方案的bin/Debug文件夹下,浏览以选择显卡并找到相应的dll
-
单击相应的dll => 单击添加 => 单击确定
-
此时,自定义组件集中的搜索只能在log4net.Core中进行搜索
英文:
You can specify to search in PnP.Framework by adding PnP.Framework to the custom component set. The following is the method of adding log4net.Core to the custom component set:
- Select Edit Custom Component Set in the Browser of the Object Browser
- Go to the bin/Debug folder of the solution under Browse to select the graphics card and find the corresponding dll
- Click the corresponding dll=>click Add=>click OK
- At this time, the search in Custom Component Set can only be searched in log4net.Core
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论