Welcome to Neuridion IDE

A native macOS development environment for the Neuridion programming language.

Neuridion IDE is a fully integrated development environment built from the ground up for macOS. It provides everything you need to write, run, debug, and deploy programs in the Neuridion programming language — all within a single, native application.

The IDE includes:

Neuridion IDE is designed to be approachable for beginners while offering the tools that experienced developers expect. The Neuridion language itself uses a clean, readable syntax with English keywords, making it an excellent choice for learning programming concepts or building practical desktop applications.

Language Reference: For a complete reference of the Neuridion programming language, including all keywords, data types, control flow, and the standard library, open the Language Guide from the Welcome screen or via the Help menu.

The Welcome Screen

When you launch Neuridion IDE, the Welcome screen appears as the first window. It serves as your starting point for creating new projects, opening existing ones, and exploring the language through built-in examples.

Action Cards

At the top of the Welcome screen, three action cards provide quick access to the most common tasks:

Examples

Below the action cards, the Welcome screen displays 39 ready-to-run examples organized into six categories:

CategoryDescription
BasicsFundamental concepts: variables, loops, functions, classes, and error handling.
Data & StorageWorking with files, folders, databases (SQLite), JSON, CSV, XML, and local storage.
Text & LanguageString manipulation, regular expressions, encoding, translation, and speech synthesis.
System & SecuritySystem information, shell commands, clipboard, notifications, cryptography, and email.
Graphics & MediaDrawing, image filters, charts, QR codes, PDF generation, audio playback, and synthesizers.
AI & VisionAI text generation with Apple Intelligence, image recognition, and computer vision.

Clicking any example creates a new project pre-filled with the example code. You can run it immediately or modify it to experiment with the language.

Tip: Examples are a great way to learn Neuridion. Start with the Basics category and work your way through to more advanced topics. Each example is self-contained and demonstrates a specific feature of the language or standard library.

Projects

Neuridion projects use the .neuridion file extension and are implemented as macOS packages — folders that appear as a single file in Finder. This keeps all project files neatly bundled together.

Project Structure

Inside a .neuridion package, you will find the following structure:

MyProject.neuridion/
  Neuridion.project       // Project configuration (JSON)
  Main.code               // Main entry point
  Helper.code             // Additional source files
  Logs/                   // Log files (auto-created)
    app.log               // Application log
    claude.log            // AI chat log (if enabled)

Creating a New Project

There are two ways to create a new project:

  1. Click New Project on the Welcome screen.
  2. Use the menu: File > New Project (Cmd+Shift+N).

You will be asked to choose a save location and a name. The IDE creates the .neuridion package and opens it with a blank Main.code file.

Opening an Existing Project

Open a project by:

  1. Clicking Open Project on the Welcome screen.
  2. Using the menu: File > Open Project (Cmd+Shift+O).
  3. Double-clicking a .neuridion file in Finder.
Note: When you double-click a .neuridion file while the IDE is not running, the project opens in runtime mode — a simplified view that runs the program immediately without the full IDE interface. If the IDE is already running, the project opens normally as an IDE project.

Adding Source Files

To add a new source file to your project, use File > New File (Cmd+N). The new .code file is created inside the project package and appears in the file navigator. You can also create files in subfolders to organize your code.

The Main Window

The main IDE window is where you spend most of your time. It is divided into several areas, each serving a distinct purpose.

Neuridion IDE main window

Layout

You can show or hide individual panels to customize the layout for your workflow. The navigator, inspector, and bottom panels all remember their visibility state.

Tip: Use Cmd+1 to quickly toggle the navigator sidebar, Cmd+Shift+C for the console, and Cmd+L for the AI chat panel.

Writing Code

The code editor is the central component of Neuridion IDE. It provides a comfortable writing experience tailored to the Neuridion programming language.

Syntax Highlighting

The editor automatically highlights Neuridion source code with distinct colors for different elements:

Editor Features

Example Code

Here is a simple Neuridion program demonstrating basic syntax:

// A simple greeting program
Var name As String = "World"
Var count As Integer = 3

For i = 1 To count
    Print("Hello, " + name + "! (" + i.ToString() + ")")
End For
Note: Neuridion keywords are case-insensitive. You can write If, if, or IF — they are all equivalent. The conventional style uses PascalCase for keywords.

Running Programs

Neuridion IDE makes it easy to run your programs directly from the editor.

Starting a Run

To run your program, use one of these methods:

The program executes starting from the Main.code file. Output is displayed in the console panel at the bottom of the window. The console opens automatically when you run a program.

Stopping a Run

To stop a running program:

Execution Modes

The toolbar includes a toggle to switch between two execution modes:

Important: Always save your files before running (Cmd+S). The IDE runs the saved version of your source files, not the unsaved editor content.

The Console

The console panel is located at the bottom of the main window and serves as the primary output area for your programs. Toggle it with Cmd+Shift+C.

Console panel

Color-Coded Output

The console uses color coding to help you quickly identify different types of output:

Prefix / PatternColorPurpose
[ERROR]RedError messages
[WARN]OrangeWarning messages
[INFO]BlueInformational messages
[DEBUG]GrayDebug messages
---GreenSection separators
> TealInput prompts

Regular output from Print() statements appears in the default text color.

Interactive Input

When your program calls Console.ReadLine(), an input field appears at the bottom of the console. Type your response and press Enter to submit the value to the running program.

Print("What is your name?")
Var name As String = Console.ReadLine()
Print("Hello, " + name + "!")

Console Controls

Tip: You can use the color prefixes in your own output for visual organization. For example, Print("[INFO] Server started on port 8080") will appear in blue.

Debugging

Neuridion IDE includes a full-featured debugger that lets you pause execution, step through code line by line, and inspect variable values.

Debugger

Setting Breakpoints

Click on a line number in the editor gutter to toggle a breakpoint on that line. Breakpoints are shown as colored indicators. When the program reaches a breakpoint during a debug run, execution pauses at that line.

Starting a Debug Run

To run your program with the debugger attached:

The debugger panel opens at the bottom of the window, showing the current execution state.

Stepping Through Code

When execution is paused at a breakpoint, use the stepping controls:

Variable Inspector

Variable inspector

While paused, the variable inspector displays all variables in the current scope along with their current values. You can drill down into complex values like arrays, dictionaries, and objects to inspect their contents.

The inspector shows the actual NeuridionValue for each variable, including:

Note: The debugger uses a semaphore-based pause mechanism. When paused at a breakpoint, the interpreter thread is blocked and the UI remains fully responsive, allowing you to inspect variables and navigate the code.

AI Chat

Neuridion IDE includes a built-in AI assistant powered by Claude, accessible via the AI Chat panel at the bottom of the window.

AI Chat panel

What You Can Do

Opening AI Chat

Open the AI Chat panel with Cmd+L or via the menu. The panel appears at the bottom of the main window alongside the console and debugger tabs.

Configuration

The AI assistant requires a Claude API key. To configure it:

  1. Open Settings (Cmd+,).
  2. Go to the AI tab.
  3. Enter your API key and select a model.

Your API key is stored securely using AES-GCM encryption in the application settings.

Tip: The AI assistant is aware of the Neuridion language and its standard library. You can ask it things like "How do I read a CSV file?" or "Write a program that creates a bar chart" and it will generate correct Neuridion code.

Chat Logging

If enabled in project settings (Cmd+Shift+,), AI chat interactions are logged to Logs/claude.log inside your project package. This can be useful for reviewing past conversations or tracking how the AI helped during development.

Neuridion IDE provides search functionality to help you find text across your project.

Find & Replace

Press Cmd+F to open the find and replace bar in the current editor. It supports:

Project-Wide Search

The search field in the toolbar allows you to search across all files in your project. Results are displayed with file names and line numbers, letting you jump directly to the matching location.

Project search results

Form Designer

Neuridion supports creating graphical user interfaces with the Form module. The IDE includes a visual preview feature called the Form Designer that shows you what your form will look like without running the program.

Form Designer

Here are some examples of forms created with the Form module:

Address book form example Statistics dialog example Login form example Feedback form example Settings form example

How It Works

When a .code file contains a Form.Window(...) call, a Code / Form toggle appears in the tab bar for that file. Click Form to switch to the visual preview.

The Form Designer parses your source code and renders a read-only preview of the window layout, showing all controls at their specified positions and sizes. This includes:

Example Form Code

Var win As Object = Form.Window("Login", 400, 250)

win.AddLabel("lblUser", "Username:", 20, 20, 100)
win.AddTextField("txtUser", "", 130, 20, 240)

win.AddLabel("lblPass", "Password:", 20, 60, 100)
win.AddTextField("txtPass", "", 130, 60, 240)

win.AddButton("btnLogin", "Log In", 130, 120, 120, {"Style": "Primary"})

Var result As Object = win.Show()
Form dialog
Note: The Form Designer extracts the layout from your source code using pattern matching. You can select and move controls by dragging or with arrow keys (1px per press, 5px with Shift). Magnetic snap guides appear when edges align with other controls. Position changes are written back to the source code automatically. All form controls use a unified signature: Add*(name, content, x, y, width [, {options}]).

Mail Inbox

Neuridion IDE includes a built-in IMAP mail inbox viewer, accessible directly from the navigator sidebar. This is especially useful for projects that send or process emails, as you can check incoming messages without leaving the IDE.

Mail Inbox

Accessing the Inbox

In the navigator sidebar (left panel), you will see capsule-shaped tabs at the top: Files and Mail. Click Mail to switch from the file tree to the mail inbox view.

Features

Configuration

The mail inbox requires IMAP credentials to connect to your email server. Configure these in the app settings:

  1. Open Settings (Cmd+,).
  2. Go to the Email tab.
  3. Enter your IMAP host, port, username, and password.

Credentials are stored securely with AES-GCM encryption. The mail inbox is read-only — you can view messages but not send, delete, or modify them from the inbox view.

Important: The mail inbox connects to your email server using the IMAP protocol via curl. Make sure your IMAP credentials are correct and that your email provider allows IMAP access. Some providers require an app-specific password.

Settings

Neuridion IDE has two levels of settings: application-wide settings and per-project settings.

App Settings (Cmd+,)

Open the application settings via the menu Neuridion IDE > Settings or with Cmd+,. The settings window has two tabs:

AI Tab

AI Settings

Email Tab

SMTP Settings IMAP Settings

All sensitive fields (API keys, passwords) are stored using AES-GCM encryption in ~/Library/Application Support/Neuridion IDE/AppSettings.json.

Project Settings (Cmd+Shift+,)

Each project has its own settings stored in the Neuridion.project file inside the project package. Open project settings with Cmd+Shift+,. Available options:

Tip: App settings (API keys, email credentials) are shared across all projects. Project settings (program name, log level) are specific to each individual project.

Keyboard Shortcuts

Neuridion IDE provides keyboard shortcuts for common actions. Here is the complete list:

Files

ShortcutAction
Cmd+NNew File
Cmd+Shift+NNew Project
Cmd+OOpen File
Cmd+Shift+OOpen Project
Cmd+SSave
Cmd+Shift+SSave As

Running & Debugging

ShortcutAction
Cmd+RRun
Cmd+Shift+RRun & Debug
Cmd+.Stop

Panels & Navigation

ShortcutAction
Cmd+1Toggle Navigator
Cmd+Shift+CShow Console
Cmd+Shift+DShow Debugger
Cmd+Shift+IToggle Inspector
Cmd+LShow AI Chat

Editing & Search

ShortcutAction
Cmd+FFind & Replace
Cmd+KClear Console

Settings

ShortcutAction
Cmd+,App Settings
Cmd+Shift+,Project Settings
Tip: Most shortcuts follow standard macOS conventions. If you are familiar with Xcode or other macOS development tools, many of these shortcuts will feel natural.