Skip to content

ccls extension activate failed #143

@tier-cap

Description

@tier-cap

Observed behavior

  1. I have a Win11 used as client, and a Linux(Ubuntu) used as Server. Both cannot access network.

  2. I install by offline. The vscode version is
    版本: 1.88.1 (user setup)
    提交: e170252f762678dec6ca2cc69aba1570769a5d39
    日期: 2024-04-10T17:41:02.734Z
    Electron: 28.2.8
    ElectronBuildId: 27744544
    Chromium: 120.0.6099.291
    Node.js: 18.18.2
    V8: 12.0.267.19-electron.0
    OS: Windows_NT x64 10.0.19045
    Remote ssh version is v0.110.1.

  3. And I download the linux cli and code by these links, and put it under correct dirs under ~/.vscode-server, with correct name. Then, the remote ssh works well.
    https://vscode.download.prss.microsoft.com/dbazure/download/stable/e170252f762678dec6ca2cc69aba1570769a5d39/vscode-server-linux-x64.tar.gz
    https://vscode.download.prss.microsoft.com/dbazure/download/stable/e170252f762678dec6ca2cc69aba1570769a5d39/vscode_cli_alpine_x64_cli.tar.gz

  4. I have compile ccls code, and get the bin, if works well on Ubuntu, and I have tested it with ccls --index ./, and the .ccls-cache generates.

  5. Now, I downlaod ccls extension(all version has been tried), and install on Win11, then ftp to Ubuntu and install it by install from vsix. Installing is successfully.

  6. Restart vscode, or exec any ccls command, fails, with "正在激活扩展". Log of host extension shows:
    Server CWD is xxx
    ccls server connection was closed
    [Error - 6:44:41 PM] Connection to server got closed. Server will not be restarted.

Expected behavior

Work well.

Steps to reproduce

System information

  • ccls version (git describe --tags): 0.20230717 ee2d4f5b9a2181e2c71341d34c7d2463f0c28cd1
  • OS: Win11 client ,Ubuntu remote,
    Linux ndb-2402 5.15.0-119-generic Solves broken hierarchy windows #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • Editor:
  • vscode-ccls version (git describe --tags): tried ALL, currently is v0.1.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions