Coder Social home page Coder Social logo

rob-opsi / vscode-clang-format-provider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xaverh/vscode-clang-format

0.0 2.0 0.0 198 KB

A Visual Studio Code extension that provides C++, C, Obj-C, Java formatting with the use of clang-format

Home Page: https://marketplace.visualstudio.com/items?itemName=xaver.clang-format

License: MIT License

TypeScript 100.00%

vscode-clang-format-provider's Introduction

README

Release history

v 0.6.1

  • clean up dependencies #9

v 0.6.0

  • 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

v 0.5.0

  • Included OWenT's changes:
    1. add setting of clang-format executable
    2. add style setting
    3. add fallback style setting

v 0.1.2

it doesn't require saving the file, works by doing partial edits (instead of replacing the whole buffer), and enables range formatting.

Clang-Format is a tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code. It can be configured with a config file within the working folder or a parent folder. Configuration see: http://clang.llvm.org/docs/ClangFormatStyleOptions.html

Usage

If clang-format is installed and in PATH, C/C++ etc source files can be formatted with Visual Studio Code's built-in formatter (Usually: Ctrl+Shift+F).

Source code

Available on github: https://github.com/xaverh/vscode-clang-format-provider

vscode-clang-format-provider's People

Contributors

ioachim avatar owent avatar xaverh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.