【问题标题】:How to disable these VSCode tooltips?如何禁用这些 VSCode 工具提示?
【发布时间】:2017-06-27 16:58:32
【问题描述】:

每当我打字时,这些工具提示就会出现。有没有办法禁用它们?

【问题讨论】:

    标签: visual-studio-code vscode-settings


    【解决方案1】:

    缺少一项设置来禁用某些提供更多信息的工具提示。

    转到 VSCode 中的“设置”并搜索 Hover,您可以禁用该设置以永久完成悬停弹出窗口。

    【讨论】:

    • 这是我找了半个小时的那个。
    • 我认为这应该是公认的答案......没有其他东西对我有用?‍♂️
    【解决方案2】:

    有几种方法可以在 VSCode 中自定义 IntelliSense。我相信您图片中的那个是参数提示。您可以前往文件→首选项→设置并搜索"parameterHints"

    以下是您可以调整的其他一些内容:

    // Controls if quick suggestions should show up while typing
    "editor.quickSuggestions": true,
    
    // Controls if suggestions should be accepted with "Enter" - in addition to "Tab". Helps to avoid ambiguity between inserting new lines and accepting suggestions.
    "editor.acceptSuggestionOnEnter": true,
    
    // Controls the delay in ms after which quick suggestions will show up.
    "editor.quickSuggestionsDelay": 10,
    
    // Enable word based suggestions
    "editor.wordBasedSuggestions": true,
    
    // Enable parameter hints
    "editor.parameterHints": true
    

    更多信息here

    【讨论】:

    • 但是,这并没有消除信息弹出窗口。
    猜你喜欢
    • 2021-08-03
    • 2020-08-07
    • 2021-06-22
    • 2018-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多