Tools > Code Copilot Editor

Write Your CODE V Macros 30% Faster

with K2realm’s Code Copilot Editor

K2 is easy to use without commands. But if you want extra power, the Code Copilot editor makes custom scripting faster and more fun.

Avoid Time-Consuming Help Searches with Syntax Helper

  • CODE V commands – Get a list of relevant commands using character matching.
  • Macro/function inputs – A pop-up will show all required inputs for any CODE V macro or function, even if user defined.
  • Variables – Auto-completion of variables is quick and avoids typos.

Find Errors in Macro Logic Faster with K2’s Built-In Debugger

  • Step through the code line-by-line to easily see logical errors (no more WRI/RTN statements!)
  • Add watches to see the contents of any variable.
  • Any CODE V command can be issued while debugging for further insights.
  • Array and buffer contents are easily listed.

Speed Up Run-Times with Multi-Core Processing for Custom Scripts

  • NOT JUST FOR TOLERANCING, also for custom user analyses.
  • Run macro loops in parallel for faster execution.
  • For example, loops over zoom, field, wavelength, surface, etc. for BSP, PSF, or other custom data can be distributed across available cores.

Stay Organized Easier with K2's Built-In Project Files Manager

  • K2’s editor provides a full project management workflow
  • Quick access to project files, notes, presentations, and history of commands

Save Even More Time With Additional Features

K2's Code Copilot Editor for CODE V makes your life easier with:

Replace any custom user text for shortcuts (e.g. concat(), num_to_str(), loops)

Comment or Uncomment blocks of code

Custom bookmarks for code navigation

Collapsible loops for readability

See K2's editor/debugger in action with this video tutorial. (< 2 minutes)