gpt4 book ai didi

c# - 与 Visual Studio 界面中的断点位于同一列的浅蓝色矩形的用途是什么?

转载 作者:可可西里 更新时间:2023-11-01 08:22:11 26 4
gpt4 key购买 nike

我不小心按下了 Visual Studio 2010 中的一些键,最后出现了一个我以前从未见过的图标,该图标位于通常放置断点的位置:

任何人都可以告诉我它的作用以及如何删除它?

最佳答案

那些是书签。

更多信息在这里:

http://msdn.microsoft.com/en-us/library/xc3ed5eh.aspx

这里:

http://msmvps.com/blogs/vipul/archive/2006/01/20/Visual-Studio-Bookmarks.aspx

文档摘录:

The Bookmarks window is a handy companion tool to the Code Editor. You can mark lines in your code files with bookmarks and then organize these bookmarks into virtual folders. This enables you to open files and navigate directly to the lines marked simply by clicking entries in the Bookmarks window.

Common procedures for using bookmarks appear below.

In most Visual Studio programming languages, you can also create Task List shortcuts and comments. As with bookmarks, you can click on any entry in the Task List to open a file and jump to the line of code marked. For more information, see How to: Use Task List Shortcuts and How to: Create Task List Comments.

To create or remove a bookmark using the Bookmarks window

  1. Open a source code file for editing in the Code Editor.

  2. Place the insertion point on the line of code you want to bookmark.

  3. On the View menu, select Bookmark Window.

    The Bookmarks window is displayed. It can be docked along any convenient edge of the IDE. The list of bookmark entries includes an entry for the newly bookmarked line in the active document.

  4. Click the Toggle a bookmark button in the Bookmarks window.

    A bookmark token appears in the Indicator margin of the Code Editor next to the selected line. Click the button again to remove the bookmark.

关于c# - 与 Visual Studio 界面中的断点位于同一列的浅蓝色矩形的用途是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7270888/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com