Anyone aware of an editor I can use on Ubuntu that will do RoR syntax text coloring and a code prettiefier I can use under Linux for RoR code? Thanks R.Vince -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Apr 19, 2010 at 10:58 AM, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Anyone aware of an editor I can use on Ubuntu that will do RoR syntax > text coloring and a code prettiefier I can use under Linux for RoR > code? Thanks R.Vince >If you''re familiar with (or don''t mind learn) VIM, you can use it with rails-vim plugin (and a few other). It can do pretty much everything you need. (If you need a full list of the plugins I''m using, just ping me) I think you can use GEdit too, but I think it just does syntax highlighting. Hope it helps. -- Leonardo Mateo. There''s no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Well, Vim is really good editor. I''m using it by myself with a big pleasure. But to work effectively on it you''ll need to practice couple monthes and collect all the plugins and so on. If you need a fast start - use NetBeans IDE for Ruby. I''ve used it for 2 years, before I fell in love with Vim. http://netbeans.org/downloads/index.html It''s a little bit slow, ''cause it''s in Java - but it''ll give you syntax highlighting, live-time syntax error checking, it will show API for each Rails method you type, NetBeans autocompletion is something you can''t find anywhere, even on Vim. Like when you write ModelName and hit autocompletion - it will give you all your database fields as methods. And so on. A lot of RoR-related features. NetBeans is RoR-newbie best friend :) I don''t care about autocompletion and API parsing now, since I remember pretty much of it by myself. And I found some free time, and Vim guru in my team, so I''ve decided to switch on Vim to write code like a spiderman ) But when you''re starting - you care about what you need to write much more, than about how to write it fast On Mon, Apr 19, 2010 at 10:29 PM, Leonardo Mateo <leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> On Mon, Apr 19, 2010 at 10:58 AM, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > Anyone aware of an editor I can use on Ubuntu that will do RoR syntax > > text coloring and a code prettiefier I can use under Linux for RoR > > code? Thanks R.Vince > > > If you''re familiar with (or don''t mind learn) VIM, you can use it > with rails-vim plugin (and a few other). It can do pretty much > everything you need. (If you need a full list of the plugins I''m > using, just ping me) > I think you can use GEdit too, but I think it just does syntax > highlighting. > > Hope it helps. > > -- > Leonardo Mateo. > There''s no place like ~ > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 19 April 2010 14:58, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Anyone aware of an editor I can use on Ubuntu that will do RoR syntax > text coloring and a code prettiefier I can use under Linux for RoR > code? Thanks R.VinceI like the editor jEdit which does syntax colouring and auto indent (reasonably well). Windows and Linux. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Apr 19, 2010 at 9:28 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> I like the editor jEdit which does syntax colouring and auto indent > (reasonably well). Windows and Linux.Actually, any platform with a JVM, so Mac too. And a hearty +1, it''s an awesomely configurable general editor. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks so much guys! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
vim + plugins: color_sample_pack.vim minibufexpl.vim NERD_tree.vim surround.vim endwise.vim NERD_commenter.vim matchit.vim NERD_snippets.vim rails.vim On Apr 19, 5:30 pm, RVince <rvinc...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Thanks so much guys! > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I uses gedit with gmate <http://github.com/gmate/gmate>, it works well form me. Gedit has a lot of plugins <http://live.gnome.org/Gedit/Plugins>, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
kwang do ur html.erb files automatically turn into rails highlighting? I tried so many things, but it never automatically changes, I always have to do it manuelly. On Apr 21, 5:52 pm, Kwang How Tan <tankwang...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I uses gedit with gmate <http://github.com/gmate/gmate>, it works well form > me. Gedit has a lot of plugins <http://live.gnome.org/Gedit/Plugins>, > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
RVince wrote:> Anyone aware of an editor I can use on Ubuntu that will do RoR syntax > text coloring and a code prettiefier I can use under Linux for RoR > code? Thanks R.VinceI''m fond of KomodoEdit. It''s a very good editor and does nice syntax coloring for Ruby and Haml. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Interesting that no one hs yet mentioned emacs. I decided the other day to give it a go since so many posters had raved about it and Netbeans sluggishness was frustrating me. Well I have to say it has been hard work getting into emacs. I can just about use the editor, and after a fair bit of fiddling, googling and reading, I have rinari installed from ELPA and also emacs-rails. Got the speedbar working for rails files - necessary for my transition since I am finding grasping all the keyboard command sequences very hard. The biggest hurdle seems to be finding out exactly what can do with it. Syntax highlighting is great and being able to directly open views from being in a controller action etc is great, but all the other stuff seems a million miles away. Although I am finding it difficult I intend to persevere, the thing I feel that is slowing me down at the moment is switching between buffers when working with multiple source files. I have never done much with auto completion or snippets even with Netbeans, but suspect that there is performance gain just waiting to be harvested. I am envious when I watch Ryan Bates editing code he zips around so elegantly (I know that is Textmate but emacs is supposed to come close to it) There are some screencasts around for emacs and rails, but they have no sound and the casters seem to forget that they are dealing with novices and screens flash around with invsible keystrokes in a way that makes my head hurt. Nevertheless they do give an overview of what is possible. I havn''t yet found a quick way to duplicate a line or series of lines eg alt+ctl+down arrow in netbeans - if anyone can enlighen me I would be grateful. Tonypm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
tonypm wrote:> Interesting that no one hs yet mentioned emacs.Ah, good point. Emacs is my favorite console editor, but I''m not all that crazy about the graphical versions I''ve tried.> I decided the other > day to give it a go since so many posters had raved about it and > Netbeans sluggishness was frustrating me.NetBeans is an excellent IDE, but it''s overkill for Rails. (I''d be curious to know about it''s sluggishness, though -- it has consistently been pretty fast for me on Snow Leopard.) [...]> Got the speedbar working for rails files - necessary for my transition > since I am finding grasping all the keyboard command sequences very > hard.Then I''d almost say you shouldn''t use Emacs. You definitely have to be comfortable with keyboard commands to get the most out of it.> > The biggest hurdle seems to be finding out exactly what can do with > it.Often, yes.> Syntax highlighting is greatAny better than in other editors?> and being able to directly open > views from being in a controller action etc is great,This is one thing I miss in Komodo. Aptana has this.> but all the > other stuff seems a million miles away. > > Although I am finding it difficult I intend to persevere, the thing I > feel that is slowing me down at the moment is switching between > buffers when working with multiple source files.You might want to investigate a GUI version of Emacs, then. I don''t like the ones I''ve tried, but you might.> > I have never done much with auto completion or snippets even with > Netbeans, but suspect that there is performance gain just waiting to > be harvested. I am envious when I watch Ryan Bates editing code he > zips around so elegantly (I know that is Textmate but emacs is > supposed to come close to it)IMHO, so does KomodoEdit. Actually, Emacs "coming close to [TextMate]" is a funny statement: Emacs is probably the more powerful of the two.> > There are some screencasts around for emacs and rails, but they have > no sound and the casters seem to forget that they are dealing with > novices and screens flash around with invsible keystrokes in a way > that makes my head hurt. Nevertheless they do give an overview of > what is possible. > > I havn''t yet found a quick way to duplicate a line or series of lines > eg alt+ctl+down arrow in netbeans - if anyone can enlighen me I would > be grateful.C-k, C-y, C-y. There may be a faster way. If you don''t know this, you *really* need to spend time on Emacs basics.> > TonypmBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I support VIM / GVIM all the way Thanks & Regards, Dhruva Sagar. On Fri, Apr 23, 2010 at 17:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> tonypm wrote: > > Interesting that no one hs yet mentioned emacs. > > Ah, good point. Emacs is my favorite console editor, but I''m not all > that crazy about the graphical versions I''ve tried. > > > I decided the other > > day to give it a go since so many posters had raved about it and > > Netbeans sluggishness was frustrating me. > > NetBeans is an excellent IDE, but it''s overkill for Rails. (I''d be > curious to know about it''s sluggishness, though -- it has consistently > been pretty fast for me on Snow Leopard.) > > [...] > > Got the speedbar working for rails files - necessary for my transition > > since I am finding grasping all the keyboard command sequences very > > hard. > > Then I''d almost say you shouldn''t use Emacs. You definitely have to be > comfortable with keyboard commands to get the most out of it. > > > > > The biggest hurdle seems to be finding out exactly what can do with > > it. > > Often, yes. > > > Syntax highlighting is great > > Any better than in other editors? > > > and being able to directly open > > views from being in a controller action etc is great, > > This is one thing I miss in Komodo. Aptana has this. > > > but all the > > other stuff seems a million miles away. > > > > Although I am finding it difficult I intend to persevere, the thing I > > feel that is slowing me down at the moment is switching between > > buffers when working with multiple source files. > > You might want to investigate a GUI version of Emacs, then. I don''t > like the ones I''ve tried, but you might. > > > > > I have never done much with auto completion or snippets even with > > Netbeans, but suspect that there is performance gain just waiting to > > be harvested. I am envious when I watch Ryan Bates editing code he > > zips around so elegantly (I know that is Textmate but emacs is > > supposed to come close to it) > > IMHO, so does KomodoEdit. Actually, Emacs "coming close to [TextMate]" > is a funny statement: Emacs is probably the more powerful of the two. > > > > > There are some screencasts around for emacs and rails, but they have > > no sound and the casters seem to forget that they are dealing with > > novices and screens flash around with invsible keystrokes in a way > > that makes my head hurt. Nevertheless they do give an overview of > > what is possible. > > > > I havn''t yet found a quick way to duplicate a line or series of lines > > eg alt+ctl+down arrow in netbeans - if anyone can enlighen me I would > > be grateful. > > C-k, C-y, C-y. There may be a faster way. If you don''t know this, you > *really* need to spend time on Emacs basics. > > > > > Tonypm > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Apr 23, 2010 at 1:50 AM, tonypm <tonypmartin-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> I havn''t yet found a quick way to duplicate a line or series of lines > eg alt+ctl+down arrow in netbeans - if anyone can enlighen me I would > be grateful.1) Move the cursor to the start of the text you want to select. 2) Set a starting mark using Ctrl + Space. 3) Move the cursor to the end of the text you want to select. 4) Copy the text using Alt + w, or cut the text using Ctrl + w. 5) Move the cursor to wherever. 6) Ctrl + y to paste. Welcome to Emacs. I couldn''t imagine using something else at this point. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Apr 23, 2010 at 1:50 AM, tonypm <tonypmartin-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> the thing I > feel that is slowing me down at the moment is switching between > buffers when working with multiple source files.I switch buffers using the arrow keys most of the time. Ctrl + x, and then left or right arrow. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Apr 23, 2010 at 7:17 AM, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Ah, good point. Emacs is my favorite console editor, but I''m not all > that crazy about the graphical versions I''ve tried.But it''s just so beautiful! http://static.destiney.com/emacs_screen_shot.jpg :) -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> > > 1) Move the cursor to the start of the text you want to select. > 2) Set a starting mark using Ctrl + Space. > 3) Move the cursor to the end of the text you want to select. > 4) Copy the text using Alt + w, or cut the text using Ctrl + w. > 5) Move the cursor to wherever. > 6) Ctrl + y to paste. > > Welcome to Emacs. I couldn''t imagine using something else at this point. > >The guy mean he could do it in NetBeans with one single move. Select text and Ctrl+Alt+Down, Down, Down for three copies. That''s useful. But my favorite Netbeans feature about blocks was not copying, but moving blocks around by Alt+Shift+Up/Down/Left/Right. I don''t remember default mapping. I was doing it like that. Not by Ctrl-x tap tap tap Ctrl+v or V tap tap tap x tap tap P. It will save a couple seconds each minute. I was able to restore it on Vim. Moving blocks around with Ctrl+h,j,k,l http://github.com/vrybas/dotvim/blob/master/rc.vim#L201 Another cool feature of Netbeans is `Navigator` window. When you see all the methods in current file and can immediately move to the method by clicking it''s name. Got something like that on Vim by searching for /def / pattern, display results on other window, and go to the method by entering line number http://github.com/vrybas/dotvim/blob/master/rc.vim#L298 That''s not standard stuff for all editors. And I pretty much can''t live without it. Let''s have a little holy battle here :) Do you guys have your favorite features unreachable or hardly unreachable from other editors? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Apr 23, 2010 at 9:42 AM, Vladimir Rybas <vladimirrybas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The guy mean he could do it in NetBeans with one single move. > Select text and Ctrl+Alt+Down, Down, Down for three copies.That doesn''t look like a "single move" to me. *shrug* -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
gedit + plugins works for me :D works like textmate, it has snippets that you could modify, auto indention, auto bracket completion and even an embedded terminal. plus the directory on the sidepane. syntax highlighting works on ruby, html, and css. On Apr 23, 11:53 pm, Greg Donald <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Apr 23, 2010 at 9:42 AM, Vladimir Rybas <vladimirry...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > The guy mean he could do it in NetBeans with one single move. > > Select text and Ctrl+Alt+Down, Down, Down for three copies. > > That doesn''t look like a "single move" to me. *shrug* > > -- > Greg Donald > destiney.com | gregdonald.com > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> 1) Move the cursor to the start of the text you want to select. > 2) Set a starting mark using Ctrl + Space. > 3) Move the cursor to the end of the text you want to select. > 4) Copy the text using Alt + w, or cut the text using Ctrl + w. > 5) Move the cursor to wherever. > 6) Ctrl + y to paste.Thanks Greg that is perfect - somehow I had completely missed that. I notice now that the tutorial describes C-w but does not mention M-w Tonypm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> I switch buffers using the arrow keys most of the time. > > Ctrl + x, and then left or right arrow.Thanks that helps (I notice you can also left and right click on the buffer name in the status bar) Tonypm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Thanks for your comments> Ah, good point. Emacs is my favorite console editor, but I''m not all > that crazy about the graphical versions I''ve tried.Actually, I use Fedora, and installed the gnome version of emacs, so I do have the graphical console, but your comment about learning the keystrokes is valid. When you''ve been used to the normal windows style keystrokes, the emacs ones take a bit of getting used to. But I am getting there by forcing myself to use it for my real development. I am already beginning to feel more comfortable.> NetBeans is an excellent IDE, but it''s overkill for Rails. (I''d be > curious to know about it''s sluggishness, though -- it has consistently > been pretty fast for me on Snow Leopard.)I do like NetBeans, but I found it is hungry on resource, and I notice a distinct delay when browsing the file tree or opening a file etc. Also, the auto suggest popup boxes keep coming on. I turn them off but they reappear. I find that annoying because they frequently pop up just as I have finished entering a line, and their appearance causes a delay whilst they are escaped. I may be missing a setting somewhere to turn them off. For portability, I actually use a small machine for development, which is probably why NB feels a bit slow.> Then I''d almost say you shouldn''t use Emacs. You definitely have to be > comfortable with keyboard commands to get the most out of it.I already make good use of filename auto complete in the linux shell and am finding using that for locating files is good. I have figured out that using partial complete brings up a list of filenames for selection and I am getting to really like that.> > Syntax highlighting is great > > Any better than in other editors?Not necessarily better, but haml and sass highlighting is available which is not true for all other editors (I actually like bluefish a lot, but I havn''t found a haml/sass option). Flagging of syntax errors seems pretty good too.> You might want to investigate a GUI version of Emacs, then. I don''t > like the ones I''ve tried, but you might.The Gnome emacs has a Buffers command in the menu which is great, but I get a 2 second delay between clicking a command and the menu appearing. Also, I do a lot of work across vpn to my sites, so I want to force myself to learn the keystrokes rather than depend on the menu. I have to admit to using the menu cut and paste quite a bit. I haven''t yet mastered doing this easily with keystrokes (i know there is a way of switching emacs to use the standard cut and paste keystrokes, but it seemed that doing that would interfere with other emacs commands so I haven''t tried it - perhaps I should). I do like the ability to operate on a rectangle of text though, on some occasions this can be useful.> IMHO, so does KomodoEdit. Actually, Emacs "coming close to [TextMate]" > is a funny statement: Emacs is probably the more powerful of the two.I havn''t used Textmate, so I was really only commenting on what I had read. The two areas I want to start to get to grips with now are auto formatting and text snippets, but where do I find the info for them? eg what is the correct way to create a new def. With NB, when you start a def, the end is often created automatically with correct indentation. How can I do that in emacs?> C-k, C-y, C-y. There may be a faster way. If you don''t know this, you > *really* need to spend time on Emacs basics.I have started using this sequence, it just seemed a bit odd to remove something first to replace it twice but after a while you don''t even notice. Tonypm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Definitely recommend Vim if you have the patience and time to learn it. (you will get frustrated at first) I use it on Windows, Linux and OS X. In addition to the excellent plugins below, these are pretty good too: Command-T SnipMate On Apr 19, 1:24 pm, oren <orengo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> vim + plugins: > color_sample_pack.vim > minibufexpl.vim > NERD_tree.vim > surround.vim > endwise.vim > NERD_commenter.vim > matchit.vim > NERD_snippets.vim > rails.vim > > On Apr 19, 5:30 pm, RVince <rvinc...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > Thanks so much guys! > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
tonypm wrote: [...]> When you''ve been used to the normal windows > style keystrokes,"Normal"? What makes them any more or less "normal"?> the emacs ones take a bit of getting used to. But > I am getting there by forcing myself to use it for my real > development. I am already beginning to feel more comfortable.[...]>> NetBeans is an excellent IDE, but it''s overkill for Rails. �(I''d be >> curious to know about it''s sluggishness, though -- it has consistently >> been pretty fast for me on Snow Leopard.) > I do like NetBeans, but I found it is hungry on resource, and I notice > a distinct delay when browsing the file tree or opening a file etc. > Also, the auto suggest popup boxes keep coming on. I turn them off > but they reappear. I find that annoying because they frequently pop > up just as I have finished entering a line, and their appearance > causes a delay whilst they are escaped. I may be missing a setting > somewhere to turn them off. For portability, I actually use a small > machine for development, which is probably why NB feels a bit slow.Right! You don''t need a heavy IDE for Rails, so don''t use one. [...]>> > �Syntax highlighting is great >> >> Any better than in other editors? > Not necessarily better, but haml and sass highlighting is available > which is not true for all other editors (I actually like bluefish a > lot, but I havn''t found a haml/sass option). Flagging of syntax > errors seems pretty good too.KomodoEdit has a Haml module (not Sass, though), which is one of the reasons I really like it for Rails. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> "Normal"? What makes them any more or less "normal"? >i just knew someone would pick up on that comment!! I added in Windows to clarify, but re reading what I wrote, I should have said cut and paste buffer keystrokes, which is what I think was predominantly in my mind. The reason I stuck with the wording normal, was that it occurred to me these were not just windows keystrokes but the keystrokes used by most web browsers, which these days IMHO makes them pretty much the norm. But what the heck - I am getting better with emacs all the time, running the console in one of the buffers is working well, and switching between buffers to re run commands etc is now becoming much more automatic. I just need to learn to resist the temptation to pick up the mouse! Tonypm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Enable Ido: http://www.emacswiki.org/emacs/InteractivelyDoThings It gives nice buffer navigation. With that, C-x 2 (split window), C-x 1, and binding (define-key global-map "\C-x\C-o" ''other-window) you won''t have to take your hands off the kdb to move around buffers. On Apr 27, 12:14 am, tonypm <tonypmar...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > I switch buffers using the arrow keys most of the time. > > > Ctrl + x, and then left or right arrow. > > Thanks that helps (I notice you can also left and right click on the > buffer name in the status bar) > > Tonypm > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.