Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Any idea of SciTE-ru supporting ruby?

Reply
Thread Tools

Any idea of SciTE-ru supporting ruby?

 
 
Rk Ch
Guest
Posts: n/a
 
      03-22-2010
SciTE-ru is a custom version of SciTE developed by Russian developer.
It's an awesome texteditor with code autocomplete, function list,
snipts, almost a win/linus Textmate.
But SciTE-ru abcent ruby supporting. How could made it support ruby?
Thanks for any suggestion.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Kyle Schmitt
Guest
Posts: n/a
 
      03-23-2010
Umm. Dude, SciTE supports ruby pretty darned well already. So well
that the windows distribution of ruby comes with a SciTE binary.

Well, it did last time I installed it on windows, but that was awhile ago...
I use SciTE on linux frequently for small scripts.

On Mon, Mar 22, 2010 at 10:50 AM, Rk Ch <> wrote:
> SciTE-ru is a custom version of SciTE developed by Russian developer.
> It's an awesome texteditor with code autocomplete, function list,
> snipts, almost a win/linus Textmate.
> But SciTE-ru abcent ruby supporting. How could made it support ruby?
> Thanks for any suggestion.
> --
> Posted via http://www.ruby-forum.com/.
>
>


 
Reply With Quote
 
 
 
 
rahegge
Guest
Posts: n/a
 
      03-24-2010
Rk Ch wrote:
> SciTE-ru is a custom version of SciTE developed by Russian developer.
> It's an awesome texteditor with code autocomplete, function list,
> snipts, almost a win/linus Textmate.
> But SciTE-ru abcent ruby supporting. How could made it support ruby?
> Thanks for any suggestion.
>

It does support ruby, but by default, its not a language on the Language
menu. You will need to edit the global options file, to add ruby to the
menu. In order to have it support snippets, you will need to make a
ruby.abbrev file, in the abbrev folder, and create the snippets
yourself. You will also have to add these two lines to the end of the
ruby.properties file.

abbreviations.$(file.patterns.rb)=$(SciteDefaultHo me)\abbrev\ruby.abbrev
abbrev.ruby.auto=2

Adam,

 
Reply With Quote
 
Rogers Chang
Guest
Posts: n/a
 
      03-26-2010
rahegge wrote:
> Rk Ch wrote:
>> SciTE-ru is a custom version of SciTE developed by Russian developer.
>> It's an awesome texteditor with code autocomplete, function list,
>> snipts, almost a win/linus Textmate.
>> But SciTE-ru abcent ruby supporting. How could made it support ruby?
>> Thanks for any suggestion.
>>

> It does support ruby, but by default, its not a language on the Language
> menu. You will need to edit the global options file, to add ruby to the
> menu. In order to have it support snippets, you will need to make a
> ruby.abbrev file, in the abbrev folder, and create the snippets
> yourself. You will also have to add these two lines to the end of the
> ruby.properties file.
>
> abbreviations.$(file.patterns.rb)=$(SciteDefaultHo me)\abbrev\ruby.abbrev
> abbrev.ruby.auto=2
>
> Adam,


Exactly works as instruction!!!
So many thanks.
Kiss you...
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Michelle Pace
Guest
Posts: n/a
 
      02-10-2011
In summary of the above, and with addition of one more change - to get
ruby to work in scite-ru I did this:

1. Scite-Ru > Options > Open Global Options File... ensure that the "#~"
is taken away from the front of BOTH "#~import languages\ruby" AND
"#~Ruby|rb||\"

2. Create the file ruby.abbrev ie "C:\Program
Files\SciTE\abbrev\ruby.abbrev" In here put in your ruby snippets (or
use the other abbrev files as examples to create new snippets)

3. Scite-Ru > Options > Edit Properties > ruby.properties and add the
following to the end of the ruby.properties file:

# This makes my ruby.abbrev snippet file work!
# see adam's comment in http://www.ruby-forum.com/topic/206482#new
abbreviations.$(file.patterns.rb)=$(SciteDefaultHo me)\abbrev\ruby.abbrev
abbrev.ruby.auto=2


Finally I saved the changes and restarted scite-ru. And it worked for
me.

cheers, Michelle

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: App idea, Any idea on implementation? Matthew_WARREN@bnpparibas.com Python 0 02-05-2008 05:50 PM
App idea, Any idea on implementation? Dr Mephesto Python 3 02-05-2008 06:55 AM
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
Any Active-X object supporting Drag and drop upload? Eilsa ASP .Net 0 11-23-2004 02:32 AM
Firewall supporting MIDCOM or any API for management Josip Gracin Cisco 0 10-06-2004 08:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57