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 等二进制工具 应该可以修改,现在不太方便折腾,回来继续研究,只要能够修改行号,那么会方便许多的!

  • 相关阅读:
    Grid如何固定列宽?
    ORACLE 去除重复记录
    Ajax学习之“一头雾水”
    对对碰方块交换及消去效果实现
    存储过程学习(二)
    asp.net 页面重用问题
    一个图表控件
    存储过程学习(一)
    ScriptManager.RegisterClientScriptBlock的疑问
    用indy做发贴机
  • 原文地址:https://www.cnblogs.com/ayanmw/p/6401087.html
Copyright © 2011-2022 走看看