Emacs ruby symbol word completion -


I often define a ruby ​​symbol (eg. : some_value ), then I Unfortunately, a method with def some_value

Unfortunately, for some other duration of the string, the second complete event ( M + / ) works Does not do, a bit different (: some_value vs

"post-text" itemprop = "Text">

Assuming that M / / dabbrev is bound to be expanded, you can use the string To ignore some prefixes, you can configure dabbrev-mode. To make a single colon a prefix, to neglect,

  MX customize-group  

and then

  Type dabbrev  

This will take you to the optimization page for dabbrev-mode Dabbrev Abbrev Skip Top Regexp and click on Value menu . From the menu, select "Regexp".

Now you see a text file named "Regexp:" next to the value menu in which you enter a single colon.

 :  

Then click the button state in the next line and select "Save for future sessions" value.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -