public

Notepad++ Syntax highlighting Visual Studio Project Files (.csproj & .vbproj) and also .vstemplate files. I'm sure I didn't catch every keyword so you may have a little adding to do. Just make sure you add enough closing braces in the Styler. Also, no I'm not colour-blind. I'm not a designer either. Nyah. Instructions for the styler at http://udl20.weebly.com/introduction.html

  • Download Gist
VisualStudioProjectNPPStyler.xml
XML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
<NotepadPlus>
<UserLang name="VS Projects" ext="csproj vbproj vstemplate" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="yes" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03&lt;!-- 04--&gt;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">!= ! | || &amp; &amp;&amp; = ==</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open"> PropertyGroup ItemGroup TemplateData TemplateContent CustomParameters</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"> /PropertyGroup /ItemGroup /TemplateData /TemplateContent /CustomParameters</Keywords>
<Keywords name="Folders in code2, open">&lt;Project &lt;VSTemplate</Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close">&lt;/Project&gt; &lt;/VSTemplate&gt;</Keywords>
<Keywords name="Folders in comment, open">&lt;!--</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close">--&gt;</Keywords>
<Keywords name="Keywords1">&lt;Configuration &lt;Platform &lt;Import &lt;ProjectItem &lt;/ProjectItem&gt; </Keywords>
<Keywords name="Keywords2">condition ReplaceParameters TargetFolderName &lt;ProjectReference &lt;/ProjectReference&gt;</Keywords>
<Keywords name="Keywords3">&lt;Reference &lt;/Reference&gt; /&gt; &lt;Private &lt;Compile &lt;/Compile&gt; &lt;EmbeddedResource &lt;/EmbeddedResource&gt; TargetFileName Name &lt;BootstrapperPackage &lt;Folder &lt;CustomParameter &lt;Resource &lt;Content &lt;/Content &lt;VSToolsPath &lt;FlavorProperties&#x0009;</Keywords>
<Keywords name="Keywords4">Include </Keywords>
<Keywords name="Keywords5">&lt;None &lt;/None&gt; </Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00&apos; 00&quot; 01 02((&apos; ) &quot; &gt;)) 02&quot; 03&lt;RootNamespace 03&lt;/RootNamespace 03&lt;AssemblyName 03&lt;/AssemblyName 03&lt;TargetFrameworkVersion 03&lt;/TargetFrameworkVersion 03&lt;ApplicationIcon 03&lt;/ApplicationIcon 03&lt;AllowUnsafeBlocks 03&lt;/AllowUnsafeBlocks 04 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 05&gt; 06( 06{ 07 08) 08} 09&lt;/AppDesignerFolder 09&lt;/ApplicationRevision 09&lt;/ApplicationVersion 09&lt;/AssemblyKeyContainerName 09&lt;/AssemblyOriginatorKeyFile 09&lt;/AssemblyOriginatorKeyMode 09&lt;/AutoAssignPort 09&lt;/AutoGen 09&lt;/BaseAddress 09&lt;/BootstrapperEnabled 09&lt;/BootstrapperPackage 09&lt;/ConfigurationOverrideFile 09&lt;/CreateNewFolder 09&lt;/CustomServerUrl 09&lt;/DefaultClientScript 09&lt;/DefaultName 09&lt;/DefaultTargetSchema 09&lt;/DefineDebug 09&lt;/DefineTrace 09&lt;/DelaySign 09&lt;/DependentUpon 09&lt;/Description 09&lt;/DesignTime 09&lt;/DevelopmentServerPort 09&lt;/DevelopmentServerVPath 09&lt;/EnableLocationBrowseButton 09&lt;/FileAlignment 09&lt;/FileUpgradeFlags 09&lt;/FlavorProperties 09&lt;/Folder 09&lt;/Generator 09&lt;/HintPath 09&lt;/IISExpressAnonymousAuthentication 09&lt;/IISExpressSSLPort 09&lt;/IISExpressUseClassicPipelineMod 09&lt;/IISExpressWindowsAuthentication 09&lt;/IISUrl 09&lt;/IISUrl 09&lt;/Icon 09&lt;/Install 09&lt;/Install 09&lt;/InstallFrom 09&lt;/IsWebBootstrapper 09&lt;/LastGenOutput 09&lt;/Link 09&lt;/LocationField 09&lt;/MapFileExtensions 09&lt;/MvcBuildViews 09&lt;/MyType 09&lt;/NTLMAuthentication 09&lt;/Name 09&lt;/NoWarn 09&lt;/NumberOfParentCategoriesToRollUp 09&lt;/OldToolsVersion 09&lt;/OptionCompare 09&lt;/OptionExplicit 09&lt;/OptionStrict 09&lt;/OutputType 09&lt;/PostBuildEvent 09&lt;/PreBuildEvent 09&lt;/Private 09&lt;/ProductName 09&lt;/ProductVersion 09&lt;/ProjectExtensions 09&lt;/ProjectGuid 09&lt;/ProjectSubType 09&lt;/ProjectType 09&lt;/ProvideDefaultName 09&lt;/PublishUrl 09&lt;/RegisterForComInterop 09&lt;/RemoveIntegerChecks 09&lt;/RequiredFrameworkVersion 09&lt;/RequiredTargetFramework 09&lt;/SaveServerSettingsInUserFile 09&lt;/SccAuxPath 09&lt;/SccLocalPath 09&lt;/SccProjectName 09&lt;/SccProvider 09&lt;/SchemaVersion 09&lt;/SortOrder 09&lt;/SpecificVersion 09&lt;/StartupObject 09&lt;/SubType 09&lt;/Target 09&lt;/TreatWarningsAsErrors 09&lt;/UpdateEnabled 09&lt;/UpdateInterval 09&lt;/UpdateIntervalUnits 09&lt;/UpdateMode 09&lt;/UpdatePeriodically 09&lt;/UpdateRequired 09&lt;/UpgradeBackupLocation 09&lt;/UseApplicationTrust 09&lt;/UseCustomServer 09&lt;/UseIIS 09&lt;/UseIISExpress 09&lt;/Visible 09&lt;/VisualStudio 09&lt;/WebProjectProperties 09&lt;AppDesignerFolder 09&lt;ApplicationRevision 09&lt;ApplicationVersion 09&lt;AssemblyKeyContainerName 09&lt;AssemblyOriginatorKeyFile 09&lt;AssemblyOriginatorKeyMode 09&lt;AutoAssignPort 09&lt;AutoGen 09&lt;BaseAddress 09&lt;BootstrapperEnabled 09&lt;BootstrapperPackage 09&lt;ConfigurationOverrideFile 09&lt;CreateNewFolder 09&lt;CustomServerUrl 09&lt;DefaultClientScript 09&lt;DefaultHTMLPageLayout&lt;/DefaultHTMLPageLayout 09&lt;DefaultName 09&lt;DefaultTargetSchema 09&lt;DefineDebug 09&lt;DefineTrace 09&lt;DelaySign 09&lt;DependentUpon 09&lt;Description 09&lt;DesignTime 09&lt;DevelopmentServerPort 09&lt;DevelopmentServerVPath 09&lt;EnableLocationBrowseButton 09&lt;FileAlignment 09&lt;FileUpgradeFlags 09&lt;FolderName 09&lt;Generator 09&lt;HintPath 09&lt;IISExpressAnonymousAuthentication 09&lt;IISExpressSSLPort 09&lt;IISExpressUseClassicPipelineMode 09&lt;IISExpressWindowsAuthentication 09&lt;IISUrl 09&lt;Icon 09&lt;Install 09&lt;Install 09&lt;InstallFrom 09&lt;IsWebBootstrapper 09&lt;LastGenOutput 09&lt;Link 09&lt;LocationField 09&lt;MapFileExtensions 09&lt;MvcBuildViews 09&lt;MyType 09&lt;NTLMAuthentication 09&lt;Name 09&lt;NoWarn 09&lt;NumberOfParentCategoriesToRollUp 09&lt;OldToolsVersion 09&lt;OptionCompare 09&lt;OptionExplicit 09&lt;OptionStrict 09&lt;OutputType 09&lt;PostBuildEvent 09&lt;PreBuildEvent 09&lt;Private 09&lt;ProductName 09&lt;ProductVersion 09&lt;ProjectExtensions 09&lt;ProjectGuid 09&lt;ProjectSubType 09&lt;ProjectType 09&lt;ProvideDefaultName 09&lt;PublishUrl 09&lt;RegisterForComInterop 09&lt;RemoveIntegerChecks 09&lt;RequiredFrameworkVersion 09&lt;RequiredTargetFramework 09&lt;SaveServerSettingsInUserFile 09&lt;SccAuxPath 09&lt;SccLocalPath 09&lt;SccProjectName 09&lt;SccProvider 09&lt;SchemaVersion 09&lt;SortOrder 09&lt;SpecificVersion 09&lt;StartupObject 09&lt;SubType 09&lt;Target 09&lt;TreatWarningsAsErrors 09&lt;UpdateEnabled 09&lt;UpdateInterval 09&lt;UpdateIntervalUnits 09&lt;UpdateMode 09&lt;UpdatePeriodically 09&lt;UpdateRequired 09&lt;UpgradeBackupLocation 09&lt;UseApplicationTrust 09&lt;UseCustomServer 09&lt;UseIIS 09&lt;UseIISExpress 09&lt;Visible 09&lt;VisualStudion 09&lt;WebProjectProperties 10 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 11&gt; 12&lt;DefineConstants 12&lt;/DefineConstants 13 14&gt; 14&gt; 14&gt; 15&lt;OutputPath 15&lt;/OutputPath 15&lt;DocumentationFile 15&lt;/DocumentationFile 16 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 17&gt; 18&lt;DebugSymbols 18&lt;/DebugSymbols 18&lt;DebugType 18&lt;/DebugType 18&lt;PlatformTarget 18&lt;/PlatformTarget 18&lt;ErrorReport 18&lt;/ErrorReport 18&lt;CodeAnalysisRuleSet 18&lt;/CodeAnalysisRuleSet 18&lt;Optimize 18&lt;/Optimize 18&lt;DebugType 18&lt;/DebugType 18&lt;WarningLevel 18&lt;/WarningLevel 19 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 20&gt; 21&apos;Debug 21&apos;Release 22 23((| &apos;)) 23((| &apos;))</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="804040" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF0000" bgColor="FFFFD5" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="0000A0" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="00552B" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="800000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="80FF80" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF8080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="008040" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="FF0080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="FF0080" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="128" />
<WordsStyle name="DELIMITERS2" fgColor="0000FF" bgColor="FFFFAA" fontStyle="0" nesting="3" />
<WordsStyle name="DELIMITERS3" fgColor="400080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="0000A0" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="804000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="006A00" bgColor="FFFFEA" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="E9E9E9" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.