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

Auto close brackets are inserted when pasting code #2347

Closed
brem-hub opened this issue Apr 30, 2022 · 1 comment
Closed

Auto close brackets are inserted when pasting code #2347

brem-hub opened this issue Apr 30, 2022 · 1 comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@brem-hub
Copy link

Summary

When I pasted code with Shift + Ctrl + V, autocompletion added extra closing brackets for each opening bracket.

Reproduction Steps

I tried this:

  1. helix test.cpp - Open file with helix and write example code.
void foo() {
        {

        }

        {

        }
}
  1. cat test.cpp | xclip -selection clipboard - copy example code to clipboard with Shift + Ctrl + C or xclip
  2. helix test_copy.cpp - open another file and insert clipboard data with Shift + Ctrl + V

I expected this to happen:

test_copy.cpp

void foo() {
        {

        }

        {

        }
}

Instead, this happened:
test_copy.cpp

void foo() {
    {

    }

    {

    }
}
	}
}
}

Helix log

~/.cache/helix/helix.log
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] clangd version 13.0.1\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] Features: linux\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] PID: 6095\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] Working directory: /home/bremka/University/Algos/YaContest2_12\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] argv[0]: /usr/bin/clangd\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] Starting LSP over stdin/stdout\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] <-- initialize(0)\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] --> reply:initialize(0) 0 ms\n"
2022-04-30T18:59:58.180 helix_lsp::transport [ERROR] err <- "I[18:59:58.180] <-- initialized\n"
2022-04-30T18:59:58.181 helix_lsp::transport [ERROR] err <- "I[18:59:58.181] <-- textDocument/didOpen\n"
2022-04-30T18:59:58.181 helix_lsp::transport [ERROR] err <- "I[18:59:58.181] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T18:59:58.181 helix_lsp::transport [ERROR] err <- "I[18:59:58.181] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 0 with command clangd fallback\n"
2022-04-30T18:59:58.181 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T18:59:58.181 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T18:59:58.190 helix_lsp::transport [ERROR] err <- "I[18:59:58.190] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:05.493 helix_lsp::transport [ERROR] err <- "I[19:00:05.492] <-- textDocument/didChange\n"
2022-04-30T19:00:05.543 helix_lsp::transport [ERROR] err <- "I[19:00:05.543] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.544 helix_lsp::transport [ERROR] err <- "I[19:00:05.544] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 1 with command clangd fallback\n"
2022-04-30T19:00:05.544 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:05.544 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.584 helix_lsp::transport [ERROR] err <- "I[19:00:05.584] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:05.593 helix_lsp::transport [ERROR] err <- "I[19:00:05.593] <-- textDocument/didChange\n"
2022-04-30T19:00:05.643 helix_lsp::transport [ERROR] err <- "I[19:00:05.643] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.644 helix_lsp::transport [ERROR] err <- "I[19:00:05.644] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 2 with command clangd fallback\n"
2022-04-30T19:00:05.644 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:05.644 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.662 helix_lsp::transport [ERROR] err <- "I[19:00:05.662] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:05.767 helix_lsp::transport [ERROR] err <- "I[19:00:05.767] <-- textDocument/didChange\n"
2022-04-30T19:00:05.818 helix_lsp::transport [ERROR] err <- "I[19:00:05.818] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.818 helix_lsp::transport [ERROR] err <- "I[19:00:05.818] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 3 with command clangd fallback\n"
2022-04-30T19:00:05.818 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:05.818 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.837 helix_lsp::transport [ERROR] err <- "I[19:00:05.837] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:05.846 helix_lsp::transport [ERROR] err <- "I[19:00:05.846] <-- textDocument/didChange\n"
2022-04-30T19:00:05.897 helix_lsp::transport [ERROR] err <- "I[19:00:05.897] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.897 helix_lsp::transport [ERROR] err <- "I[19:00:05.897] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 4 with command clangd fallback\n"
2022-04-30T19:00:05.898 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:05.898 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.904 helix_lsp::transport [ERROR] err <- "I[19:00:05.904] <-- textDocument/didChange\n"
2022-04-30T19:00:05.917 helix_lsp::transport [ERROR] err <- "I[19:00:05.917] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:05.954 helix_lsp::transport [ERROR] err <- "I[19:00:05.954] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.955 helix_lsp::transport [ERROR] err <- "I[19:00:05.955] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 5 with command clangd fallback\n"
2022-04-30T19:00:05.955 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:05.955 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:05.972 helix_lsp::transport [ERROR] err <- "I[19:00:05.972] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.028 helix_lsp::transport [ERROR] err <- "I[19:00:07.028] <-- textDocument/didChange\n"
2022-04-30T19:00:07.079 helix_lsp::transport [ERROR] err <- "I[19:00:07.079] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.079 helix_lsp::transport [ERROR] err <- "I[19:00:07.079] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 6 with command clangd fallback\n"
2022-04-30T19:00:07.080 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:07.080 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.099 helix_lsp::transport [ERROR] err <- "I[19:00:07.099] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.117 helix_lsp::transport [ERROR] err <- "I[19:00:07.117] <-- textDocument/didChange\n"
2022-04-30T19:00:07.168 helix_lsp::transport [ERROR] err <- "I[19:00:07.168] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.168 helix_lsp::transport [ERROR] err <- "I[19:00:07.168] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 7 with command clangd fallback\n"
2022-04-30T19:00:07.168 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:07.168 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.187 helix_lsp::transport [ERROR] err <- "I[19:00:07.187] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.246 helix_lsp::transport [ERROR] err <- "I[19:00:07.246] <-- textDocument/didChange\n"
2022-04-30T19:00:07.296 helix_lsp::transport [ERROR] err <- "I[19:00:07.296] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.297 helix_lsp::transport [ERROR] err <- "I[19:00:07.297] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 8 with command clangd fallback\n"
2022-04-30T19:00:07.297 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:07.297 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.316 helix_lsp::transport [ERROR] err <- "I[19:00:07.316] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.482 helix_lsp::transport [ERROR] err <- "I[19:00:07.482] <-- textDocument/didChange\n"
2022-04-30T19:00:07.485 helix_lsp::transport [ERROR] err <- "I[19:00:07.484] <-- textDocument/signatureHelp(1)\n"
2022-04-30T19:00:07.500 helix_lsp::transport [ERROR] err <- "I[19:00:07.499] --> reply:textDocument/signatureHelp(1) 14 ms\n"
2022-04-30T19:00:07.532 helix_lsp::transport [ERROR] err <- "I[19:00:07.532] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.533 helix_lsp::transport [ERROR] err <- "I[19:00:07.533] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 9 with command clangd fallback\n"
2022-04-30T19:00:07.533 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:07.533 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.552 helix_lsp::transport [ERROR] err <- "I[19:00:07.552] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.873 helix_lsp::transport [ERROR] err <- "I[19:00:07.872] <-- textDocument/didChange\n"
2022-04-30T19:00:07.923 helix_lsp::transport [ERROR] err <- "I[19:00:07.923] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.923 helix_lsp::transport [ERROR] err <- "I[19:00:07.923] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 10 with command clangd fallback\n"
2022-04-30T19:00:07.924 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:07.924 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:07.942 helix_lsp::transport [ERROR] err <- "I[19:00:07.942] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:07.989 helix_lsp::transport [ERROR] err <- "I[19:00:07.989] <-- textDocument/didChange\n"
2022-04-30T19:00:08.040 helix_lsp::transport [ERROR] err <- "I[19:00:08.040] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:08.040 helix_lsp::transport [ERROR] err <- "I[19:00:08.040] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 11 with command clangd fallback\n"
2022-04-30T19:00:08.040 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:08.040 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:08.058 helix_lsp::transport [ERROR] err <- "I[19:00:08.058] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:08.164 helix_lsp::transport [ERROR] err <- "I[19:00:08.164] <-- textDocument/didChange\n"
2022-04-30T19:00:08.214 helix_lsp::transport [ERROR] err <- "I[19:00:08.214] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:08.215 helix_lsp::transport [ERROR] err <- "I[19:00:08.215] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 12 with command clangd fallback\n"
2022-04-30T19:00:08.215 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:08.215 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:08.235 helix_lsp::transport [ERROR] err <- "I[19:00:08.234] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:09.046 helix_lsp::transport [ERROR] err <- "I[19:00:09.046] <-- textDocument/didChange\n"
2022-04-30T19:00:09.097 helix_lsp::transport [ERROR] err <- "I[19:00:09.096] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:09.097 helix_lsp::transport [ERROR] err <- "I[19:00:09.097] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 13 with command clangd fallback\n"
2022-04-30T19:00:09.097 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:09.097 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:09.117 helix_lsp::transport [ERROR] err <- "I[19:00:09.117] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:09.212 helix_lsp::transport [ERROR] err <- "I[19:00:09.212] <-- textDocument/didChange\n"
2022-04-30T19:00:09.263 helix_lsp::transport [ERROR] err <- "I[19:00:09.262] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:09.263 helix_lsp::transport [ERROR] err <- "I[19:00:09.263] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 14 with command clangd fallback\n"
2022-04-30T19:00:09.263 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:09.263 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:09.282 helix_lsp::transport [ERROR] err <- "I[19:00:09.282] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:10.433 helix_lsp::transport [ERROR] err <- "I[19:00:10.433] <-- textDocument/didChange\n"
2022-04-30T19:00:10.483 helix_lsp::transport [ERROR] err <- "I[19:00:10.483] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:10.484 helix_lsp::transport [ERROR] err <- "I[19:00:10.484] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 15 with command clangd fallback\n"
2022-04-30T19:00:10.484 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:10.484 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:10.503 helix_lsp::transport [ERROR] err <- "I[19:00:10.503] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:10.612 helix_lsp::transport [ERROR] err <- "I[19:00:10.612] <-- textDocument/didChange\n"
2022-04-30T19:00:10.663 helix_lsp::transport [ERROR] err <- "I[19:00:10.663] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:10.664 helix_lsp::transport [ERROR] err <- "I[19:00:10.664] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 16 with command clangd fallback\n"
2022-04-30T19:00:10.664 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:10.664 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:10.683 helix_lsp::transport [ERROR] err <- "I[19:00:10.683] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:11.455 helix_lsp::transport [ERROR] err <- "I[19:00:11.454] <-- textDocument/didChange\n"
2022-04-30T19:00:11.505 helix_lsp::transport [ERROR] err <- "I[19:00:11.505] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:11.506 helix_lsp::transport [ERROR] err <- "I[19:00:11.505] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 17 with command clangd fallback\n"
2022-04-30T19:00:11.506 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:11.506 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:11.525 helix_lsp::transport [ERROR] err <- "I[19:00:11.524] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:11.620 helix_lsp::transport [ERROR] err <- "I[19:00:11.620] <-- textDocument/didChange\n"
2022-04-30T19:00:11.671 helix_lsp::transport [ERROR] err <- "I[19:00:11.670] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:11.671 helix_lsp::transport [ERROR] err <- "I[19:00:11.671] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 18 with command clangd fallback\n"
2022-04-30T19:00:11.671 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:11.671 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:11.690 helix_lsp::transport [ERROR] err <- "I[19:00:11.689] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:12.010 helix_lsp::transport [ERROR] err <- "I[19:00:12.010] <-- textDocument/didChange\n"
2022-04-30T19:00:12.061 helix_lsp::transport [ERROR] err <- "I[19:00:12.060] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:12.061 helix_lsp::transport [ERROR] err <- "I[19:00:12.061] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 19 with command clangd fallback\n"
2022-04-30T19:00:12.061 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:12.061 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:12.080 helix_lsp::transport [ERROR] err <- "I[19:00:12.080] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:12.263 helix_lsp::transport [ERROR] err <- "I[19:00:12.263] <-- textDocument/didChange\n"
2022-04-30T19:00:12.314 helix_lsp::transport [ERROR] err <- "I[19:00:12.313] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:12.314 helix_lsp::transport [ERROR] err <- "I[19:00:12.314] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 20 with command clangd fallback\n"
2022-04-30T19:00:12.314 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:12.314 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:12.333 helix_lsp::transport [ERROR] err <- "I[19:00:12.333] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:14.103 helix_lsp::transport [ERROR] err <- "I[19:00:14.103] <-- textDocument/didSave\n"
2022-04-30T19:00:14.103 helix_lsp::transport [ERROR] err <- "I[19:00:14.103] File version went from 20 to 20\n"
2022-04-30T19:00:14.153 helix_lsp::transport [ERROR] err <- "I[19:00:14.153] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:14.153 helix_lsp::transport [ERROR] err <- "I[19:00:14.153] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test.cpp version 20 with command clangd fallback\n"
2022-04-30T19:00:14.153 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:14.153 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test.cpp\n"
2022-04-30T19:00:14.549 helix_lsp::transport [ERROR] err <- "I[19:00:14.548] <-- shutdown(2)\n"
2022-04-30T19:00:14.549 helix_lsp::transport [ERROR] err <- "I[19:00:14.549] --> reply:shutdown(2) 0 ms\n"
2022-04-30T19:00:14.549 helix_lsp::transport [ERROR] err <- "I[19:00:14.549] <-- exit\n"
2022-04-30T19:00:14.549 helix_lsp::transport [ERROR] err <- "I[19:00:14.549] LSP finished, exiting with status 0\n"
2022-04-30T19:00:30.296 helix_view::theme [WARN] Theme: invalid style attribute: modifier
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] clangd version 13.0.1\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] Features: linux\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] PID: 6169\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] Working directory: /home/bremka/University/Algos/YaContest2_12\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] argv[0]: /usr/bin/clangd\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] Starting LSP over stdin/stdout\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] <-- initialize(0)\n"
2022-04-30T19:00:30.393 helix_lsp::transport [ERROR] err <- "I[19:00:30.393] --> reply:initialize(0) 0 ms\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "I[19:00:30.394] <-- initialized\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "I[19:00:30.394] <-- textDocument/didOpen\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "I[19:00:30.394] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "I[19:00:30.394] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test_copy.cpp version 0 with command clangd fallback\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:30.394 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:30.403 helix_lsp::transport [ERROR] err <- "I[19:00:30.403] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:31.107 helix_lsp::transport [ERROR] err <- "I[19:00:31.107] <-- textDocument/didChange\n"
2022-04-30T19:00:31.109 helix_lsp::transport [ERROR] err <- "I[19:00:31.109] <-- textDocument/didChange\n"
2022-04-30T19:00:31.112 helix_lsp::transport [ERROR] err <- "I[19:00:31.112] <-- textDocument/didChange\n"
2022-04-30T19:00:31.114 helix_lsp::transport [ERROR] err <- "I[19:00:31.114] <-- textDocument/didChange\n"
2022-04-30T19:00:31.116 helix_lsp::transport [ERROR] err <- "I[19:00:31.116] <-- textDocument/didChange\n"
2022-04-30T19:00:31.118 helix_lsp::transport [ERROR] err <- "I[19:00:31.118] <-- textDocument/didChange\n"
2022-04-30T19:00:31.119 helix_lsp::transport [ERROR] err <- "I[19:00:31.119] <-- textDocument/didChange\n"
2022-04-30T19:00:31.121 helix_lsp::transport [ERROR] err <- "I[19:00:31.121] <-- textDocument/didChange\n"
2022-04-30T19:00:31.125 helix_lsp::transport [ERROR] err <- "I[19:00:31.125] <-- textDocument/didChange\n"
2022-04-30T19:00:31.127 helix_lsp::transport [ERROR] err <- "I[19:00:31.127] <-- textDocument/didChange\n"
2022-04-30T19:00:31.128 helix_lsp::transport [ERROR] err <- "I[19:00:31.128] <-- textDocument/didChange\n"
2022-04-30T19:00:31.129 helix_lsp::transport [ERROR] err <- "I[19:00:31.129] <-- textDocument/didChange\n"
2022-04-30T19:00:31.131 helix_lsp::transport [ERROR] err <- "I[19:00:31.130] <-- textDocument/didChange\n"
2022-04-30T19:00:31.132 helix_lsp::transport [ERROR] err <- "I[19:00:31.132] <-- textDocument/didChange\n"
2022-04-30T19:00:31.133 helix_lsp::transport [ERROR] err <- "I[19:00:31.133] <-- textDocument/didChange\n"
2022-04-30T19:00:31.134 helix_lsp::transport [ERROR] err <- "I[19:00:31.134] <-- textDocument/didChange\n"
2022-04-30T19:00:31.135 helix_lsp::transport [ERROR] err <- "I[19:00:31.135] <-- textDocument/didChange\n"
2022-04-30T19:00:31.136 helix_lsp::transport [ERROR] err <- "I[19:00:31.136] <-- textDocument/didChange\n"
2022-04-30T19:00:31.137 helix_lsp::transport [ERROR] err <- "I[19:00:31.137] <-- textDocument/didChange\n"
2022-04-30T19:00:31.138 helix_lsp::transport [ERROR] err <- "I[19:00:31.138] <-- textDocument/didChange\n"
2022-04-30T19:00:31.138 helix_lsp::transport [ERROR] err <- "I[19:00:31.138] <-- textDocument/didChange\n"
2022-04-30T19:00:31.139 helix_lsp::transport [ERROR] err <- "I[19:00:31.139] <-- textDocument/didChange\n"
2022-04-30T19:00:31.140 helix_lsp::transport [ERROR] err <- "I[19:00:31.140] <-- textDocument/didChange\n"
2022-04-30T19:00:31.141 helix_lsp::transport [ERROR] err <- "I[19:00:31.141] <-- textDocument/didChange\n"
2022-04-30T19:00:31.141 helix_lsp::transport [ERROR] err <- "I[19:00:31.141] <-- textDocument/didChange\n"
2022-04-30T19:00:31.142 helix_lsp::transport [ERROR] err <- "I[19:00:31.142] <-- textDocument/didChange\n"
2022-04-30T19:00:31.143 helix_lsp::transport [ERROR] err <- "I[19:00:31.143] <-- textDocument/didChange\n"
2022-04-30T19:00:31.143 helix_lsp::transport [ERROR] err <- "I[19:00:31.143] <-- textDocument/didChange\n"
2022-04-30T19:00:31.144 helix_lsp::transport [ERROR] err <- "I[19:00:31.144] <-- textDocument/didChange\n"
2022-04-30T19:00:31.145 helix_lsp::transport [ERROR] err <- "I[19:00:31.145] <-- textDocument/didChange\n"
2022-04-30T19:00:31.145 helix_lsp::transport [ERROR] err <- "I[19:00:31.145] <-- textDocument/didChange\n"
2022-04-30T19:00:31.146 helix_lsp::transport [ERROR] err <- "I[19:00:31.146] <-- textDocument/didChange\n"
2022-04-30T19:00:31.147 helix_lsp::transport [ERROR] err <- "I[19:00:31.147] <-- textDocument/didChange\n"
2022-04-30T19:00:31.147 helix_lsp::transport [ERROR] err <- "I[19:00:31.147] <-- textDocument/didChange\n"
2022-04-30T19:00:31.148 helix_lsp::transport [ERROR] err <- "I[19:00:31.148] <-- textDocument/didChange\n"
2022-04-30T19:00:31.148 helix_lsp::transport [ERROR] err <- "I[19:00:31.148] <-- textDocument/didChange\n"
2022-04-30T19:00:31.149 helix_lsp::transport [ERROR] err <- "I[19:00:31.149] <-- textDocument/didChange\n"
2022-04-30T19:00:31.150 helix_lsp::transport [ERROR] err <- "I[19:00:31.150] <-- textDocument/didChange\n"
2022-04-30T19:00:31.150 helix_lsp::transport [ERROR] err <- "I[19:00:31.150] <-- textDocument/didChange\n"
2022-04-30T19:00:31.151 helix_lsp::transport [ERROR] err <- "I[19:00:31.151] <-- textDocument/signatureHelp(1)\n"
2022-04-30T19:00:31.154 helix_lsp::transport [ERROR] err <- "I[19:00:31.154] --> reply:textDocument/signatureHelp(1) 3 ms\n"
2022-04-30T19:00:31.200 helix_lsp::transport [ERROR] err <- "I[19:00:31.200] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:31.201 helix_lsp::transport [ERROR] err <- "I[19:00:31.201] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test_copy.cpp version 39 with command clangd fallback\n"
2022-04-30T19:00:31.201 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:31.201 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:31.236 helix_lsp::transport [ERROR] err <- "I[19:00:31.236] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:39.538 helix_lsp::transport [ERROR] err <- "I[19:00:39.538] <-- textDocument/didChange\n"
2022-04-30T19:00:39.589 helix_lsp::transport [ERROR] err <- "I[19:00:39.589] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:39.590 helix_lsp::transport [ERROR] err <- "I[19:00:39.590] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test_copy.cpp version 40 with command clangd fallback\n"
2022-04-30T19:00:39.590 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:39.590 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:39.609 helix_lsp::transport [ERROR] err <- "I[19:00:39.609] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:39.835 helix_lsp::transport [ERROR] err <- "I[19:00:39.835] <-- textDocument/didChange\n"
2022-04-30T19:00:39.885 helix_lsp::transport [ERROR] err <- "I[19:00:39.885] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:39.886 helix_lsp::transport [ERROR] err <- "I[19:00:39.886] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test_copy.cpp version 41 with command clangd fallback\n"
2022-04-30T19:00:39.886 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:39.886 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:39.905 helix_lsp::transport [ERROR] err <- "I[19:00:39.905] --> textDocument/publishDiagnostics\n"
2022-04-30T19:00:41.088 helix_lsp::transport [ERROR] err <- "I[19:00:41.088] <-- textDocument/didSave\n"
2022-04-30T19:00:41.088 helix_lsp::transport [ERROR] err <- "I[19:00:41.088] File version went from 41 to 41\n"
2022-04-30T19:00:41.138 helix_lsp::transport [ERROR] err <- "I[19:00:41.138] Failed to find compilation database for /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:41.138 helix_lsp::transport [ERROR] err <- "I[19:00:41.138] ASTWorker building file /home/bremka/University/Algos/YaContest2_12/test_copy.cpp version 41 with command clangd fallback\n"
2022-04-30T19:00:41.138 helix_lsp::transport [ERROR] err <- "[/home/bremka/University/Algos/YaContest2_12]\n"
2022-04-30T19:00:41.138 helix_lsp::transport [ERROR] err <- "/usr/bin/clang -resource-dir=/usr/lib/clang/13.0.1 -- /home/bremka/University/Algos/YaContest2_12/test_copy.cpp\n"
2022-04-30T19:00:41.800 helix_lsp::transport [ERROR] err <- "I[19:00:41.800] <-- shutdown(2)\n"
2022-04-30T19:00:41.800 helix_lsp::transport [ERROR] err <- "I[19:00:41.800] --> reply:shutdown(2) 0 ms\n"
2022-04-30T19:00:41.800 helix_lsp::transport [ERROR] err <- "I[19:00:41.800] <-- exit\n"
2022-04-30T19:00:41.800 helix_lsp::transport [ERROR] err <- "I[19:00:41.800] LSP finished, exiting with status 0\n"

Platform

Linux

Terminal Emulator

Konsole

Helix Version

helix 22.03

@brem-hub brem-hub added the C-bug Category: This is a bug label Apr 30, 2022
@the-mikedavis
Copy link
Member

Duplicate of #2239

@the-mikedavis the-mikedavis marked this as a duplicate of #2239 Apr 30, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants