Ruby Code Editor v2.0 for SketchUp——SketchUp上的Ruby IDE
2011-12-14 9:24 Wednesday  

分类: 经典软件  | 标签: SketchUp 插件 编程 评论(6) 浏览(480)

SketchUp 上编写rb插件 的工具,无需重启SketchUp 即可预览效果和进行调试。这套工具本身作为一个插件 被开发出来,极大都方便了SketchUp 的ruby开发者们。目前更新到2.0。紫天SketchUp 中文网志上的肖老师曾对1.1版做过简单介绍,下面是截图

 

本站下载 Ruby Code Editor v2.0 for SketchUp

 

引用原作者介绍:

Description

This code editor offers an easy and visually appealing way to create and modify Ruby scripts directly within SketchUp . These scripts can then be used to create geometry, add functionality or add data within the SketchUp 3D modeling environment. TheSketchUp Ruby API" href="http://code.google.com/apis/sketchup/" target="_blank">SketchUp Ruby API provides a complete set of functions to automatize SketchUp in many ways or create scripted, computational geometry.

I created this editor mainly for two reasons: One is that when I write code, I permanently need to look up documentation. To make this easier, I added a bunch of reference webpages to a browser in a tab. Also, a dropdown above the editor contains some common code snippets that can be inserted at the current cursor position.

The other reason is that I wanted it to behave a bit more like a real code editor, so I added a bit of jQuery magic to make it look good and have some additional features. I also added the excellent CodeMirror 2.0 syntax highlighting engine. This provides the editor with multi-language code highlighting, correct TAB control, bracket matching and many more features. Just load the plugin and give it a try to see for yourself!

This editor was originally an extension of Jim Folz’s Web Consoleplugin.

At this point, this editor has the following features:

  • Execute multiline Ruby code directly in SketchUp
  • Open and save files
  • Fast opening of large files
  • Nice and clean user interface
  • Tab key works as expected in editor (inserts spaces or tabs)
  • Indenting of code blocks
  • Dropdown with code snippets inserts snippets at cursor
  • On save, a backup file can be created
  • Text size dropdown selects editor font size
  • Line numbering in editor
  • Matching brackets highlighting
  • Undo in editor
  • Undo (of code execution) button next to run button
  • Single undo for entire code or multiple undo steps
  • Results window keeps track of history
  • Reliable editor dialog resizing
  • Tab and accesskey navigation
  • Reference web browser for common reference websites
  • Browser zoom
  • Style changer for user interface
  • Buttons to explore selection object properties and object attributes
  • Button for direct access to the Ruby console
  • Clean printing of code
  • Version update checking

来源:http://www.alexschreyer.net/projects/sketchup-ruby-code-editor/

Trackback:


大家的话:(快速评论点我!)
cell_devil
2011-12-15 09:35
搞ruby的哦   fashion啊
女装牛仔裤
2011-12-15 14:01
流行~~~~~~~~~
橱柜设计
2011-12-15 14:06
这个好像很多人弄这些啊!
陌凡
2011-12-16 16:49
英文看的好头晕哦
sulgeGotfoegeJX
2012-02-25 21:00
You can use your personal profile to help build up your business page by inviting the friends that you have to become fans of your business page as well. A little friendly reminder is okay too, since in many instances your friends will intend to do this but simply forget.
According to insiders revealed LinkedIn hopes to taking "as the fastest developing speed of one's reputation" social networking websites, to attract investor's attention. LinkedIn says it has more than 85 million users.
    
<a href=http://mfiliberto31.onsugar.com/Diverse-Mouse-Traps-control-Mice-Infestation-21834020>john wall  </a>  
http://Davina43.newsvine.com/_news/2012/02/22/10474847-greatest-method-to-get-rid-of-mice-with-your-aviary
http://www.travelblog.org/North-America/blog-688982.html
pearl izumi
2012-03-08 11:11
英文 不是吧

留下你的看法: