Click here to Skip to main content
15,895,011 members
Articles / Desktop Programming / XAML

Numbered Bookmarks - Visual Studio Extension VSX 2010

Rate me:
Please Sign up or sign in to vote.
5.00/5 (18 votes)
1 Mar 2010CPOL15 min read 81.8K   1.1K   43  
A Visual Studio 2010 extension for creating numbered bookmarks.

namespace VertexVerveInc.NumberedBookmarks
{
	// class for storing values associated with a bookmark
    public class Bookmark
    {
        public int Number { get; set; } // bookmark number
        public string FileName { get; set; } // name of the active document
        public int LineNumber { get; set; } // current line number (cursor position)
        public int ColumnNumber { get; set; } // current column number (cursor position)

        public Bookmark()
        {
			// assign default values
            Number = -1;
            FileName = string.Empty;
            LineNumber = 0;
            ColumnNumber = 0;
        }

        public Bookmark(string fileName, int lineNumber, int column, int number)
        {
            Number = number;
            FileName = fileName;
            LineNumber = lineNumber;
            ColumnNumber = column;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
India India

Manoj Kumar is a Humble Programmer and a trainer having dozens of trainings, publications and articles to his wallet.


His programming adventures began with Basic at an age of 11. Being a mathematician at core, soon he started looking for some more and moved to assembly language, later to C, C++, VC++ and finally to .Net.


He started his professional career as a VC++ 6 trainer, moved to embedded systems and device driver development, then to complex biological systems and finally moved to pure application development.


He has been teaching and training people for more than 12 years on a wide range of topics including Mathematics, Algorithms, Data Structures, C, C++, VC++, MFC, C#, Design Patterns and now a days he is working extensively with Visual Studio and .Net framework which includes VSX, WPF, Silverlight, WCF, WF, XAML and RIAs.


Awards:


  • Ideablade RIA Service Challenge winner
  • Visual Studio 2010 Extension Contest winner (Best Use of Editor)


Visit my website and blog or drop me a mail.


Feel free to connect with me on Linkedin.


Comments and Discussions