I couldn't set autocomplete mode in VSCode

Open
#3,652 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript, vscode

Research direction

Start by reproducing the missing autocomplete with the provided codeql-pack.yml, .vscode/settings.json, and test.ql setup, including the macOS-to-Linux SSH environment. Inspect the VS Code extension's language-support entry points and determine what configuration or environment prevents completion for "import" and "f"; done means both completions work in the reported setup.

Written by the indexing model from the issue text.

Description

bug VSCode

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
Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.