Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccls extension activate failed #143

Open
tier-cap opened this issue Dec 13, 2024 · 1 comment
Open

ccls extension activate failed #143

tier-cap opened this issue Dec 13, 2024 · 1 comment

Comments

@tier-cap
Copy link

tier-cap commented Dec 13, 2024

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
@tier-cap
Copy link
Author

I also get a Win11 and Ubuntu(v22.04) hosts, both network are well.
And, I have Also met this problem.
Server CWD is /home/xiaojinz/test/demo
ccls server connection was closed
[Error - 12:50:03 PM] Connection to server got closed. Server will not be restarted.

Belowing for more info:
VSCode
Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

CCLS Extension
v0.1.29
CLANG
clang version 14.0.0-1ubuntu1.1
CCLS Code
48f1a006b78944a944cdc0c98fb4b447e19fce7d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant