Vlsarro / cpp2-syntax

cpp2 (cppfront) Syntax Highlighting for VSCode

Home Page:https://marketplace.visualstudio.com/items?itemName=elazarcoh.cpp2-syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpp2 (cppfront) Syntax Highlighting for VSCode

This extension provides syntax highlighting for the experimental cpp2 language.

It support most of the pure-cpp2 grammar to date (new syntax since last version is still on-going).

It supports highlighting of plain C++ in cpp2 source code, but we have to mark the C++ block with a special comment:

/* lang:cpp */
int main() {
    return 0;
}
/* lang:end */

For any issues, please file them on the GitHub repo.

Alt text

Build

yarn install
yarn run build
yarn run package

The output VSIX file is located under cpp2.

About

cpp2 (cppfront) Syntax Highlighting for VSCode

https://marketplace.visualstudio.com/items?itemName=elazarcoh.cpp2-syntax

License:MIT License


Languages

Language:C++ 87.9%Language:TypeScript 10.2%Language:Batchfile 1.8%