Vscode: ... hint indicator should only show on first line of suggestion

Created on 6 Apr 2018  路  8Comments  路  Source: microsoft/vscode

Steps to reproduce

For the JS:

module.exports = function() {

}

Bug

screen shot 2018-04-06 at 11 16 07 am

... shown on all lines. It should only show on the first line

bug candidate javascript languages-diagnostics verified

Most helpful comment

@jrieken english is not my 1st language but:
Suggestion Code Actions are enabled by default
to me looks like a "opt-out" feature: aka it's enabled by default until you turn it off.
Imho it's pretty annoying when a tool you use every day starts doing weird stuff because of a new (non-fundamental) feature :) (aka "confusing out of the box")

All 8 comments

@jrieken / @sandy081 Should I workaround this specifically for JS/TS but do we want to change the global behavior

We can fix that in the editor, maybe ;-)

@jrieken 馃憦 Is this going to make it to the next release? It's SUPER annoying.

Yep, should be in insiders today and with be part of the 1.22.2 recovery release.

it would be grate if this was opt-in rather than confusing out of the box :)

@unlucio it is, see https://code.visualstudio.com/updates/v1_22#_suggestion-code-actions-for-javascript-and-typescript

@alexandrudima reviewed the change, @mjbvz Can you verify please, thanks

@jrieken english is not my 1st language but:
Suggestion Code Actions are enabled by default
to me looks like a "opt-out" feature: aka it's enabled by default until you turn it off.
Imho it's pretty annoying when a tool you use every day starts doing weird stuff because of a new (non-fundamental) feature :) (aka "confusing out of the box")

Was this page helpful?
0 / 5 - 0 ratings