summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-format-vs
Commit message (Collapse)AuthorAgeFilesLines
* Update build instructions for the clang-format VS pluginHans Wennborg2014-08-011-4/+7
| | | | llvm-svn: 214529
* clang-format vs plugin: claim support for VS 14 CTP tooHans Wennborg2014-08-011-0/+3
| | | | llvm-svn: 214461
* clang-format vs plugin: include the licenseHans Wennborg2014-07-293-2/+12
| | | | | | | | | The vsix installer will show the license when it starts, and it would print an annoying message when there was none. While we're here, add a MoreInfoUrl. llvm-svn: 214237
* clang-format vs plugin: set version number from cmake (PR20307)Hans Wennborg2014-07-212-4/+11
| | | | | | | | | | | | | | | Previously it was hard-coded to 1.0, which meant the installer would not install the plugin over previous versions. This commit makes us use LLVM's major.minor.patch version from cmake, or whatever CLANG_FORMAT_VS_VERSION is set to when configuring the build. It's pretty dirty to update a configuration file in the source directory from the cmake build like this. However, the plugin build is already dirty in this regard since it builds in the source dir when visual studio, and then copies out the resulting vsix. llvm-svn: 213584
* clang-format vsix cmake build: use ${LLVM_TOOLS_BINARY_DIR}/${CMAKE_CFG_INTDIR}Hans Wennborg2013-12-051-2/+2
| | | | | | | | as the location for grabbing clang-format.exe, and also output the .vsix here. This allows us to find clang-format.exe when building from a MSVC Solution. llvm-svn: 196512
* CMake: enable building the clang-format vs pluginHans Wennborg2013-12-032-0/+19
| | | | | | | | | | | This makes it possible to build the clang-format vs plugin from the cmake build. It is a hack, as it shells out to "devenv" to actually build it, but it's hidden away in a corner behind a flag, and it provides a convenient way of building the plug-in from the command-line together with the rest of clang. Differential Revision: http://llvm-reviews.chandlerc.com/D2310 llvm-svn: 196299
* ClangFormatPackage.cs: fix inconsistent line endingsHans Wennborg2013-12-021-1/+1
| | | | llvm-svn: 196131
* clang-format vs plugin: use Alp's suggestion for getting the pathHans Wennborg2013-12-021-2/+2
| | | | llvm-svn: 196124
* clang-format vs plugin: bake clang-format.exe into the vsixHans Wennborg2013-12-023-1/+11
| | | | | | | | | | | This makes the clang-format plugin self-contained. Instead of requiring clang-format.exe to be available on the PATH, this includes it in the plugin's installer (.vsix file) and runs it from the install directory. Differential Revision: http://llvm-reviews.chandlerc.com/D2281 llvm-svn: 196122
* Clang format VS plugin: update build prerequisites in the READMEHans Wennborg2013-11-251-1/+2
| | | | llvm-svn: 195690
* Add txt file extension to VS solution's READMEAlp Toker2013-11-221-2/+2
| | | | | | | | | This matches other README.txt files in LLVM and makes things more obvious on Windows where it's likely to be read. CRLFs are retained for the same reason. Also fix Visual Studio product name. llvm-svn: 195420
* Upgrade the VS solution to 2012.Manuel Klimek2013-11-123-6/+54
| | | | | | Now we can compile a VSPackage that works with VS 2010-2013 from within VS 2012. llvm-svn: 194488
* Fix key bindings for VS 2010.Manuel Klimek2013-11-121-4/+5
| | | | | | | Set the default key-binding only in the text editor; the global binding of ctrl-r,ctrl-f was already taken in VS 2010. llvm-svn: 194482
* Recreated the ClangFormat VSPackage with VS 2010.Manuel Klimek2013-11-127-45/+46
| | | | | | The generated package is now compatible with VS 2010 - 2013. llvm-svn: 194480
* Revert unintentional commit from r194477.Manuel Klimek2013-11-125-53/+67
| | | | llvm-svn: 194478
* (no commit message)Manuel Klimek2013-11-125-67/+53
| | | | llvm-svn: 194477
* Allow _clang-format as alternative to .clang-format config filenameHans Wennborg2013-09-101-3/+4
| | | | | | | | | | | Dotfiles are impractical on Windows. This makes clang-format search for the style configuration file as '_clang-format' in addition to the usual '.clang-format'. This is similar to how VIM searches for '_vimrc' on Windows. Differential Revision: http://llvm-reviews.chandlerc.com/D1629 llvm-svn: 190413
* Make error text if clang-format is not on the system PATH more helpful,Manuel Klimek2013-09-051-1/+10
| | | | | | | as this is going to be a common mistake (installing LLVM defaults to not putting the tools onto the PATH). llvm-svn: 190036
* Adds a VSPackage project that builds a VS extension to run clang-format over ↵Manuel Klimek2013-09-0415-0/+959
a selection / the line at the cursor. llvm-svn: 189955
OpenPOWER on IntegriCloud