All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed buffer overflow error while formatting huge files (by VPeruS)
- add support for CUDA language (by xandox)
- Upgrade dependencies due to security vulnerabilities
- Upgrade to TypeScript ^3.1.6
- Upgrade dependencies due to security vulnerability in hoek
- Correct default keybindins in README.md
- Support for glsl (by cadenasgmbh)
- Support for proto3 (by OWenT)
- Output console shows syntax errors in
.clang-format
files - Extension works on Apex now
-assume-filename=
option configurable asclang-format.assumeFilename
in user/workspace settings
- Extension works on Objective-C++ now (by mjbvz)
- Handling of clang-format binaries on Windows without .exe file-endings (by Rizadh Nizam)
clang-format.executable
setting to choose clang-format binary (by iainmcgin)
- remove changelog from readme
- change Marketplace category to "Formatter"
- this extension no longer provides its own formatOnSave feature since Visual Studio Code ^1.6.0 provides this out of the box. In order to still use format on save you have to put
"editor.formatOnSave": true
in yoursettings.json
- fix info message for when executable is not found (by prideout)
- Marketplace appearance
- minor fixes
- enabling of individual languages with
clang-format.language.javascript.enable
, etc.—requires reloading Visual Studio Code
- add protobuf support (work with https://marketplace.visualstudio.com/items?itemName=peterj.proto)
- add javascript/typescript support
- allow different style & fallback style option for different languages
- format on save is available now (just like https://github.com/Microsoft/vscode-go/blob/master/src/goMain.ts)
- clean up dependencies #9
- fixed multibyte character handling #7 (by OWenT)
- fixed "clang-format is ignoring the -style setting because of invalid value" #6 (by OWenT)
- LLVM style is now the default fallback style (fixes #1)
- changed dependency to VS Code 1.0.0 or higher
- Included OWenT's changes:
- add setting of clang-format executable
- add style setting
- add fallback style setting
- Included ioachim's changes:
it doesn't require saving the file, works by doing partial edits (instead of replacing the whole buffer), and enables range formatting.