Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>C0 Syntax Highlighter for VSCodeNew to Visual Studio Code? Get it now.
C0 Syntax Highlighter for VSCode

C0 Syntax Highlighter for VSCode

Ethan

|
1,773 installs
| (2) | Free
Highlights C0 files for CMU 15-122 Students
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

c0-syntax README

Features

This extension takes the syntax highlighting for C in VSCode and modifies it to support syntax highlighting for the C0 language created by Frank Pfenning to teach type safety in 15-122 Principles of Imperative Computation at Carnegie Mellon University. Specifically, it highlights contracts (requires, ensures, loop_invariant, asserts) so they stand out from the other comments.

Release Notes

0.0.1

Initial release of C0 Syntax Highlighter for VSCode

0.0.2

Fixed so that loop invariants and other contracts with whitespace preceding them would be correctly highlighted.

0.0.3

Added recognition for .c1 files (syntax highlighting did not need to be changed).

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft