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

A docs panel open and never closes. #4360

Closed
grv07 opened this issue Oct 19, 2022 · 2 comments · Fixed by #4456
Closed

A docs panel open and never closes. #4360

grv07 opened this issue Oct 19, 2022 · 2 comments · Fixed by #4456
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@grv07
Copy link
Contributor

grv07 commented Oct 19, 2022

Summary

I think we should have a force close command for any open document pop-up.

image

Reproduction Steps

I tried this:

  1. hx

I expected this to happen: Close open docs when I open any other docs by + k.

Instead, this happened: As you can see on my screen it always opens I even close the buffer but it is still there. Now to solve this I have to close and reopen the helix.

Helix log

 
2022-10-17T14:00:52.751 helix_lsp::transport [ERROR] err <- "  51: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}::
2022-10-18T12:40:51.357 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1711, character: 0 }, end: Position { line: 1711, character: 0 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: unmatched `}`", related_information: None, tags: None, data: None }
2022-10-18T12:40:51.964 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1710, character: 6 }, end: Position { line: 1710, character: 6 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected BANG", related_information: None, tags: None, data: None }
2022-10-18T12:40:51.964 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1710, character: 12 }, end: Position { line: 1710, character: 12 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected SEMICOLON", related_information: None, tags: None, data: None }
2022-10-18T12:40:51.964 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1711, character: 0 }, end: Position { line: 1711, character: 0 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: unmatched `}`", related_information: None, tags: None, data: None }
2022-10-18T12:41:12.416 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 141.290271ms" }
2022-10-18T12:48:08.069 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 143.542743ms" }
2022-10-18T12:48:36.148 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 172.39674ms" }
2022-10-18T12:50:09.860 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1670, character: 6 }, end: Position { line: 1670, character: 6 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected BANG", related_information: None, tags: None, data: None }
2022-10-18T12:50:09.860 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1670, character: 12 }, end: Position { line: 1670, character: 12 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected SEMICOLON", related_information: None, tags: None, data: None }
2022-10-18T12:50:09.860 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1671, character: 0 }, end: Position { line: 1671, character: 0 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: unmatched `}`", related_information: None, tags: None, data: None }
2022-10-18T12:50:31.612 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1666, character: 6 }, end: Position { line: 1666, character: 6 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected BANG", related_information: None, tags: None, data: None }
2022-10-18T12:50:31.612 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1666, character: 12 }, end: Position { line: 1666, character: 12 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: expected SEMICOLON", related_information: None, tags: None, data: None }
2022-10-18T12:50:31.612 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1667, character: 0 }, end: Position { line: 1667, character: 0 } }, severity: Some(Error), code: Some(String("syntax-error")), code_description: Some(CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("rust-analyzer.github.io")), port: None, path: "/manual.html", query: None, fragment: Some("syntax-error") } }), source: Some("rust-analyzer"), message: "Syntax Error: unmatched `}`", related_information: None, tags: None, data: None }
2022-10-18T17:03:13.835 helix_view::editor [ERROR] Failed to initialize the LSP for `source.yaml` { cannot find binary path }

Platform

Linux

Terminal Emulator

zellij

Helix Version

master

@grv07 grv07 added the C-bug Category: This is a bug label Oct 19, 2022
@the-mikedavis
Copy link
Member

C-c should close any popup

@the-mikedavis
Copy link
Member

For signature help getting stuck there's #3112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants