Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PebbleBitNew to Visual Studio Code? Get it now.
PebbleBit

PebbleBit

Ronak Mishra

|
1 install
| (0) | Free
Language support for the PebbleBit programming language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
PebbleBit

PebbleBit — Visual Studio Code Extension

Language support for the PebbleBit programming language.

Version VS Code Language


Overview

PebbleBit is a statically typed programming language designed to be simple, readable, and beginner-friendly while compiling directly to native executables.

This extension provides foundational Visual Studio Code language support for PebbleBit source files (.pb).

Features

Syntax Highlighting

Syntax highlighting for PebbleBit language constructs, including:

  • Keywords and control-flow statements
  • Primitive types and type declarations
  • Function declarations and calls
  • Variables and constants
  • Structs and enums
  • String, character, numeric, and boolean literals
  • Operators and punctuation
  • Comments
  • Built-in functions

Code Snippets

16 built-in snippets to speed up writing PebbleBit programs.

Prefix Description
func Number-returning function
funcvoid Void function
main Main function
if If statement
ifelse If-else statement
while While loop
repeat Repeat loop
for For loop
struct Struct declaration
enum Enum declaration
array Array declaration
var Variable declaration
const Constant declaration
print Print statement
import Standard library import
importfile Source file import

Type a prefix in a .pb file and select the corresponding suggestion from IntelliSense's snippet completion list.

Language Configuration

  • Automatic indentation
  • Bracket matching
  • Automatic closing pairs
  • Surrounding pairs
  • Comment toggling

File Icons

An optional PebbleBit file icon theme provides a dedicated icon for .pb files.

To activate it:

  1. Open the Command Palette (Ctrl+Shift+P).
  2. Search for Preferences: File Icon Theme.
  3. Select PebbleBit File Icons.

Installation

From Visual Studio Code Marketplace

Search for PebbleBit in the Extensions view (Ctrl+Shift+X) and install the extension.

From a VSIX package

  1. Download the .vsix package.
  2. Open Visual Studio Code.
  3. Open the Extensions view.
  4. Select the three-dot menu.
  5. Choose Install from VSIX... and select the package.

PebbleBit Compiler

This extension provides editor language support. The PebbleBit compiler is a separate installation.

Compiler source code and installation instructions:

PebbleBit Compiler — GitHub

After installing the compiler, use its command-line interface from a terminal:

# Compile a source file
pbit program.pb

# Build an executable
pbit build program.pb -o program

# Build and run a program
pbit run program.pb

The compiler also supports --keep-ir to preserve generated LLVM IR.

For exact compiler requirements and supported language features, refer to the compiler documentation.

Current Scope

This extension currently focuses on syntax highlighting, snippets, language configuration, and file icons.

It does not currently provide:

  • Language Server Protocol (LSP) features
  • Inline compiler diagnostics
  • Debugger integration
  • Code formatting
  • Integrated one-click build or run commands

These are separate capabilities from the compiler itself.

License

See the LICENSE file for licensing information.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft