[英]Autocomplete not working for array methods in RubyMine
I am using RubyMine 2018.3. 我正在使用RubyMine 2018.3。 With the following, I didn't get suggestions for
new
after typing up to ne
. 通过以下内容,在输入
ne
之后我没有得到有关new
建议。
array1 = Array.new
With the following, I typed up to pus
, and didn't get auto-complete suggestion for push
. 通过以下操作,我输入了
pus
,但没有收到关于push
自动完成建议。
array1.push("shivendra")
Similarly for insert
, pop
, and delete_at
. 对于
insert
, pop
和delete_at
类似的。 I do not get auto-complete suggestion. 我没有自动完成建议。
I have RubyMine 2018.3 too. 我也有RubyMine 2018.3。 I tried and it doesn't work for me either.
我尝试过,但对我也不起作用。
But I never use this way because in accordance with the codestyle it is not recommended . 但是我从不使用这种方式,因为根据代码风格不建议这样做 。
If you write array1 = [
– RubyMine will autocomplete it. 如果您编写
array1 = [
– – RubyMine将自动完成它。
After this if you write array1.pu
– RubyMine will offer push
. 之后,如果您编写
array1.pu
– RubyMine将提供push
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.