Click here to Skip to main content
12,624,724 members (37,849 online)
Click here to Skip to main content

Stats

117.9K views
1.4K downloads
117 bookmarked
Posted

.NET Regular Expressions Find and Replace Add-In for Visual Studio 2008

, 12 Oct 2009 CPOL
A .NET Regular Expressions Find and Replace add-in for Visual Studio 2008
using System;
using System.Collections.Generic;
using System.Text;

namespace RegexFindAndReplace
{
    internal class Strings
    {
        public const string REGEX_FIND_AND_REPLACE = "Regex Find and Replace";
        public const string REGEX_FIND_IN_FILES = "Regex Find in Files";
        public const string REGEX_REPLACE_IN_FILES = "Regex Replace in Files";
        public const string CURRENT_DOCUMENT = "Current Document";
        public const string ALL_OPEN_DOCUMENTS = "All Open Documents";
        public const string CURRENT_PROJECT = "Current Project";
        public const string ENTIRE_SOLUTION = "Entire Solution";
        public const string SELECTION = "Selection";

        static internal class Settings
        {
            public const string DIALOG_TYPE = "DialogType";
            public const string SELECTED_REGEX = "SelectedRegex";
            public const string SELECTED_REPLACEMENT = "SelectedReplacement";
            public const string SELECTED_LOOK_IN = "SelectedLookIn";
            public const string INCLUDE_SUB_DIRECTORIES = "IncludeSubDirectories";
            public const string REGEX_OPTIONS = "RegexOptions";
            public const string SELECTED_FILE_TYPES = "SelectedFileTypes";
            public const string DISPLAY_FILE_NAMES_ONLY = "DisplayFileNamesOnly";
            public const string KEEP_MODIFIED_FILES_OPEN = "KeepModifiedFilesOpen";
            public const string MATCH_CONTEXT_BEFORE_LINE_COUNT = "MatchContextBeforeLineCount";
            public const string MATCH_CONTEXT_AFTER_LINE_COUNT = "MatchContextAfterLineCount";
        }
    }
}

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)

Share

About the Author

jhillman
Software Developer
United States United States
I am a software developer currently working in Salt Lake City, Utah. I work primarily with C# for my job, but I mess around with C, Perl, and Windows PowerShell for fun.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 12 Oct 2009
Article Copyright 2008 by jhillman
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid