MSBuild
Sublime Text package for editing and executing MSBuild scripts.
Details
Installs
- Total 6K
- Win 6K
- Mac 468
- Linux 236
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SublimeMSBuild
Sublime Text package for editing and executing MSBuild scripts.
Overview
Sublime Text is a highly-customizable text editor that allows you to add functionality through use of “packages.” This package adds the following functionality for MSBuild:
- MSBuild file extension handling:
- .proj
- .targets
- .msbuild
- .csproj
- .vbproj
- .fsproj
- .vcxproj
- Build system: Execute the currently loaded MSBuild script and capture the results in the output pane. Includes variants for 'Parallel,' 'Debug,' and 'Release' configurations.
- Syntax highlighting:
- MSBuild keywords and flow-control elements
- Standard MSBuild tasks
- C#/VB special project item elements
- Well-known item metadata and functions
- Reserved properties
- Variables
- Conditional operators
- Framework support functions
- Comment blocks
- Snippets:
- New MSBuild Script
- Comment blocks [trigger =
c
+ tab] - Self-closing/simple tags [trigger =
>
+ tab] - Content/end-tag tags [trigger =
<
+ tab]
- Autocompletion:
- Standard/default tasks (e.g.,
CallTarget
,CombinePath
,MakeDir
) - Project file entities (e.g.,
Target
,Choose
,Import
) - Common item definitions (e.g.,
Compile
,Reference
,EmbeddedResource
) - Well-known item metadata references (e.g.,
%(Item.FullPath)
) - Reserved properties (e.g.,
$(MSBuildProjectDirectory)
) - MSBuild Community Tasks (if the
MSBuild.Community.Tasks.Targets
file is imported) - C#/VB special project item elements (e.g.,
Reference
,Compile
) - Supported framework method calls (e.g.,
$([System.DateTime]::Now)
)
- Standard/default tasks (e.g.,
Installation
Install the package through Sublime Package Control. Sublime Package Control is a package manager for Sublime Text. If you don't have it, you can install it and then install the MSBuild
package by going to the command palette (Ctrl + Shift + P), selecting “Package Control: Install Package,” and then selecting the MSBuild package from the list.
License
Build System MSBuild.exe Fallback
Most Sublime Text build systems assume you have the build executable (MSBuild.exe
) in your path. The system included here dynamically looks for MSBuild.exe
in the .NET framework folders in the event you don't already have it in your path. The fallback order is v4.0.30319 -> v3.5 -> v2.0.50727
. If you want to modify that fallback order, edit the MSBuild.sublime-build
file in your Data\Packages\MSBuild
folder.
Package Developers
If you want to modify the syntax highlighter or otherwise work on enhancing the package to suit your needs, it's recommended you get the AAAPackageDev package for Sublime Text. This allows you to edit syntax files in .JSON-tmLanguage
format and compile them into PList rather than manually editing PList directly. It also has several helpers/templates for adding functionality to Sublime Text packages.
Additional helpful links:
- TextMate Language Grammars - Sublime Text uses a TextMate-compatible syntax highlighting mechanism including the naming for various scopes.
- Syntax Definition Reference
- Snippet Reference
- Build System Reference
- Completion Reference