zoukankan      html  css  js  c++  java
  • vs2013修改书签(vs书签文件位置)

    visual studio 2013 的书签功能很好用,可以记录一些代码的位置;方便查阅;

    不过当项目被他人修改过后,svn update 更新过后,书签的文件行号不变,但是已经不再是原来记录的哪一行了,vs并没有提供直接修改书签行号的功能,这个很蛋疼,很烦人!

    首先要定位vs书签文件被微软的vs保存到了那个文件,其实就是: 解决方案sln目录下的suo文件里面。

    suo文件和sln的描述可以参考:

    When a Web site is created, a solution file (.sln) and a hidden solution user options file (.suo) are created. By default, these files are created in the My DocumentsVisual Studio 2005Projects folder. bcoz they are not required in the deployed website.
    
    SLN ( own's the following details):
    
        * A list of the projects that are to be loaded into Visual Studio 2005
        * A list of project dependencies
        * Microsoft Visual SourceSafe information
        * A list of add-ins that are available 
    
    SUO ( own's the following files):
    
        * The task list
        * Debugger break points and watch window settings
        * Visual Studio window locations 

    把suo文件用7zip打开,可以发现是一个 compund 压缩文件,应该是微软的压缩格式吧。。

    可以发现里面有一个叫做 BookmarkState 的文件,抽取出来,notepad++打开,发现 有i许多NULL ,但依稀可以发现 有字母。应该是unicode格式,只不过现在无法正常阅读,算是二进制文件了,不能随意修改了。。

    如果有winhex 等二进制工具 应该可以修改,现在不太方便折腾,回来继续研究,只要能够修改行号,那么会方便许多的!

  • 相关阅读:
    P3916 图的遍历
    P1656 炸铁路
    P6722 「MCOI-01」Village 村庄
    P1341 无序字母对
    P1072 [NOIP2009 提高组] Hankson 的趣味题
    10大主流自动化测试工具介绍
    Altium Designer中off grid pin问题的解决方法
    Easylogging++的使用及扩展
    博客园粒子特效稳定版
    C#中使用jieba.NET、WordCloudSharp制作词云图
  • 原文地址:https://www.cnblogs.com/ayanmw/p/6401087.html
Copyright © 2011-2022 走看看