#Cannot make the <"deno.suggest.completeFunctionCalls": true> functionality work

14 messages · Page 1 of 1 (latest)

gentle pasture
#

Here is in webm format two short videos demonstrating the behavior from my end.

One for the Deno LSP, the other for the default in VScode.

Here is the JSON for the Deno Language Server Status, as reported by the command available with the official Deno plugin, shown in a "preview.md" :

{
  "enable": true,
  "enablePaths": [],
  "cache": null,
  "certificateStores": null,
  "config": null,
  "importMap": null,
  "codeLens": {
    "implementations": false,
    "references": false,
    "referencesAllFunctions": false,
    "test": false
  },
  "inlayHints": {
    "parameterNames": {
      "enabled": "none",
      "suppressWhenArgumentMatchesName": true
    },
    "parameterTypes": {
      "enabled": false
    },
    "variableTypes": {
      "enabled": false,
      "suppressWhenTypeMatchesName": true
    },
    "propertyDeclarationTypes": {
      "enabled": false
    },
    "functionLikeReturnTypes": {
      "enabled": false
    },
    "enumMemberValues": {
      "enabled": false
    }
  },
  "internalDebug": false,
  "lint": true,
  "documentPreloadLimit": 1000,
  "suggest": {
    "completeFunctionCalls": true,
    "names": true,
    "paths": true,
    "autoImports": true,
    "imports": {
      "autoDiscover": true,
      "hosts": {
        "https://deno.land": true
      }
    }
  },
  "testing": {
    "args": [
      "--allow-all",
      "--no-check"
    ],
    "enable": true
  },
  "tlsCertificate": null,
  "unsafelyIgnoreCertificateErrors": null,
  "unstable": false
}

I tested it on two machines/setup - it didn't work.

**Most importantly : is it just me, or is there someone for which it works? **

prime barn
#

i don't think i've ever seen it behave like in video #2, which key are you tapping when selecting the suggestion to make that happen? i couldn't reproduce that regardless of the suggest setting you described.

gentle pasture
#

<Enter> and <Tab>

#

Both

prime barn
#

i'm thinking that maybe this behavior has nothing to do with the deno extension... as i said, i've never seen this in vscode, with deno or otherwise

gentle pasture
#

So does it work for you? that's mostly what I'm looking for

prime barn
#

i'm getting the behavior from video #1

gentle pasture
#

Well I'm trying to find out if I can get it to work like video #2. I'm not sure if that's working as intended or if it's a bug.

prime barn
#

please do let me know if you manage to make this work, it looks better than what i've always been used to 😄 i can't seem to figure out how to make that happen.

gentle pasture
prime barn
#

i tried setting that to true, and also the corresponding setting for typescript, nothing worked

gentle pasture
#

It seems to be a bug, unless I misunderstood something

prime barn
#

ah well