【问题标题】:RubyMine inserting un-editable textRubyMine 插入不可编辑的文本
【发布时间】:2017-10-16 04:56:20
【问题描述】:

RubyMine 已经开始在我的 Ruby 代码中插入不可编辑的文本,我觉得这很烦人。例如,这个简单的 rspec 表达式:

expect(user.name).to be_truthy

...变成这样:

expect(user.name).to matcher be_truthy

另一个例子,这个:

Part.first.try(:root_id).nil?

...变成这样:

Part.first.try( *a :root_id).nil?

如何关闭此功能?

【问题讨论】:

    标签: rubymine


    【解决方案1】:

    它被称为参数名称提示。您可以在首选项中禁用它。

    您可以在此处阅读更多信息:https://www.jetbrains.com/help/ruby/2017.1/parameter-names-hinting.html

    【讨论】:

    • 哇,太痛苦了。谢谢 !! :)
    猜你喜欢
    • 2020-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-10
    • 2018-03-27
    • 1970-01-01
    相关资源
    最近更新 更多