# Anyone use JEdit on Windows?

**URL:** <https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257>\
**Category:** Ruby\
**Created:** [February 6, 2008, 7:05am UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257 "2008-02-06T07:05:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Day](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Day](https://www.ruby-forum.com/u/Day)\
**Post date:** [February 6, 2008, 7:05am UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257/1 "2008-02-06T07:05:46Z")

</div>

I’ve been playing with various editors for working with Ruby and I  
like JEdit so far with the right plugins, etc… But I am having a bit  
of a weird problem: I can’t seem to tell the console to associate \*.rb  
files with the ‘ruby’ command so that I can use the “run current  
buffer” option if I manually type ‘ruby test.rb’ into the console, it  
runs my test file fine). Also, autocompletion isn’t working.  
Everything I’ve read seems to imply that auto-completion should work  
right out of the box with the ruby plug-in.

If it helps, I’m on Windows XP, running JEdit version 4.3pre12. The  
Ruby plugin seems to be version 0.9. I’ve got Console 4.3.6 installed  
and a ton of others. I’m not sure what other information I might need  
to include to be helpful.

Sorry, all, if this is a bit off topic. Hopefully those who have no  
interest in using JEdit to edit ruby will skip this thread. Thanks  
much.

Ben

---

<div class="post-metadata">

**Author:** ![Day](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Day](https://www.ruby-forum.com/u/Day)\
**Post date:** [February 6, 2008, 7:21am UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257/2 "2008-02-06T07:21:36Z")

</div>

Don’t use JEdit. But I wonder associate .rb/.rbw files with ruby  
interpreter in Windows Explorer help? I think the one-click installer  
will do this job for you automatically if you use it.

2008/2/6, Day [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Day](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Day](https://www.ruby-forum.com/u/Day)\
**Post date:** [February 6, 2008, 11:56am UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257/3 "2008-02-06T11:56:12Z")

</div>

On Feb 6, 2008 6:04 AM, Day [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> autocompletion isn’t working.  
> Everything I’ve read seems to imply that auto-completion should work  
> right out of the box with the ruby plug-in.

I’m the author of the Ruby plugin. There used to be naive completion  
of method names for the core classes. However I found that it wasn’t  
that useful, and took it out of the plugin. Instead I use the Edit →   
Complete Word to complete words that I have already used in the same  
file. I also have a keybinding to toggle open the Ruby Docs view,  
which allows you to search the Ruby docs for Ruby core and for Rails.

Regards,  
Rob

---

<div class="post-metadata">

**Author:** ![Day](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Day](https://www.ruby-forum.com/u/Day)\
**Post date:** [February 6, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/anyone-use-jedit-on-windows/128257/4 "2008-02-06T17:36:43Z")

</div>

Hello,

> … I can’t seem to tell the console to associate \*.rb  
> files with the ‘ruby’ command so that I can use the “run current  
> buffer” option

Locate:  
…\macros\Misc\Run\_Script.bsh

(it’s in jEdit home dir or jEdit settings dir)

and look if there is something like this in Run\_Script.bsh:

else if(mode.equals(“ruby”)) {  
execScript(“ruby”, "ruby -w " + path);  
}

If not, try adding these lines and restart jEdit.

– Axel
