github / vscode-codeql

An extension for Visual Studio Code that adds rich language support for CodeQL
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-codeql
MIT License
421 stars 184 forks source link

I couldn't set autocomplete mode in VSCode #3652

Open CatCatCatDog opened 3 months ago

CatCatCatDog commented 3 months ago

Describe the bug I couldn't set autocomplete mode in VSCode

Version CodeQL 2.17.5 and latest VSCode extension for CodeQL.

To reproduce codeql-custom-queries-cpp/codeql-pack.yml

---
library: true
warnOnImplicitThis: false
name: getting-started/codeql-extra-queries-cpp
dependencies:
  codeql/cpp-all: ^1.1.1

.vscode/settings.json

{
    "codeQL.createQuery.qlPackLocation": "/test/src",
  "files.exclude": {
    ".cache": true,
    "out": true
  }
}

test.ql

import cpp

from File f
select f, "Hello, world!"

I couldn't autocomplete when I inserted "import" Also, "f" too. What am I missing? I'm testing macOS and remotely to Linux server. And I connected to Linux server with SSH server.

Screenshot 2024-07-01 at 6 22 36 PM