Julia-vscode: deactivate intellisense when in comment mode

Created on 3 Apr 2020  路  2Comments  路  Source: julia-vscode/julia-vscode

When using Literate.jl or Weave a lot of text is written into comment sections of a .jl document. When writing in plain english, the intellisense word completion of the last word in a row gets accepted - even if the user just wanted to continue on next line.
Is it possible to inhibit code-completion when entering a comment string - after # or #= ... =#?

bug

All 2 comments

VS Code provides options that you can set to control this behavior. You can completely turn off suggestions in comments with this in your "settings.json" file:

{
    "editor.quickSuggestions": {
        "comments": false
    }
}

Or you can configure suggestions to not accept a suggestion on enter (and thus only accept suggestions on hitting the tab key):

{"editor.acceptSuggestionOnEnter": "off"}

I've added this knowledge into wiki-workarounds section.
Closing as resolved, thanks @CameronBieganek.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeffBezanson picture JeffBezanson  路  3Comments

kafisatz picture kafisatz  路  4Comments

PetrKryslUCSD picture PetrKryslUCSD  路  5Comments

rwatts3 picture rwatts3  路  4Comments

jordancluts picture jordancluts  路  5Comments