auto complete for =>
Hi All,
Is there some auto complete way to fill in the => in a line like this ?
<%= render :partial => @articles %>
So after the :partial is entered can I press a hot-key to fill in the {space}=>{space} ?
It just seems that I'm so often typing it !
TIA Dave
请先登录再写评论。
Hello Dave,
You can auto-complete :partial itself - in this case the => will be inserted
automatically. For example, you can type "render :p" Ctrl-Space.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks Dmitry,
That is not my experience
When I try I get the pink 'no suggestions'
I press Control + Shift + . first then type the render etc...
I am playing around with 2.0 beta & I am editing a file called index.html.erb
regards, Dave
ps control + space inserts the @articles OK !
Hello Dave,
This should work. Is your application is rails one? Could you provide whole content of your file. Also please show a screenshot of your File | Settings | Ruby SDK and Gems dialog
All Fixed ! Thank you....
The Rails 2.3.4 core gems were 'missing gems' so once I attached them all is well...
& Thanks for the 2.0 beta testing discount, I will be buying in the next day or two...
Kind regards, Dave Porter