• File
    • New
    • Open...
    • Open Recent
      • Last opened files will appear here
    • Save
    • Save As...
    • -
    • Print Code
    • -
    • Exit Editor
  • Edit
    • Undo
    • Redo
    • -
    • Find
    • Find Next
    • Find Previous
    • Replace
    • Replace All
    • Clear Search
    • -
    • Edit Default Code
  • Run
    • Run Code
    • Undo
  • Selection
    • List Properties
    • List Attributes
    • Insert ID Reference(s)
  • Tools
    • Show Ruby Console
    • Reference Browser
    • -
    • Preferences
  • Help
    • Help
    • Keyboard Shortcuts
    • About
  • untitled.rb
running...

Preferences

Code Editor

User interface style:  

Font size:  

Indent with tabs

Indent size:  

Smart indenting (language dependent)

Show line numbers

Always save backup file (with BAK ending)

SketchUp Ruby

Wrap entire code in single undo

Add Ruby Search Paths (Advanced):
Enter any local paths to additional Ruby files or libraries here. Any non-empty fields will be added to the $LOAD_PATH variable before code execution. This enables correct behavior for e.g. "require" statements.

Search Path 1:

Search Path 2:

Editor Keyboard Shortcuts

  • Ctrl/Cmd + N : New
  • Ctrl/Cmd + O : Open
  • Ctrl/Cmd + S : Save
  • Ctrl/Cmd + P : Print Code
  • Ctrl/Cmd + F4 : Exit Editor
  • Ctrl/Cmd + R : Run Code
  • Ctrl/Cmd + U : Undo Run
  • Ctrl/Cmd + Space : Autocomplete
  • Ctrl/Cmd + Z : Undo Edit
  • Tab : Indent More (selection)
  • Shift + Tab : Indent Less (selection)
  • Ctrl/Cmd + Q : Fold Code
  • Ctrl/Cmd + F : Search
  • Alt + F : Search (persistent)
  • Ctrl/Cmd + G : Find next
  • Shift + Ctrl + G : Find previous
  • Shift + Ctrl + F : Replace
  • Shift + Ctrl + R : Replace all
  • Alt + G : Jump to line

SketchUp Ruby Code Editor

By: Alexander C. Schreyer (www.alexschreyer.net)

Version:

This code editor allows writing and modifying Ruby scripts directly within SketchUp. These scripts can be used to create geometry, add functionality or add data within the SketchUp 3D modeling environment.

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.