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

UX: Display a better error message if the reason for no backends is #lines > disable_max_lines #186

Closed
b0o opened this issue Nov 27, 2022 · 2 comments

Comments

@b0o
Copy link
Contributor

b0o commented Nov 27, 2022

When attempting to open Aerial, if there is an appropriate backend but there are more than disable_max_lines lines in the current file, Aerial displays the notification "Aerial could find no supported backend". This confused me for a few minutes, until I ran AerialInfo and saw "File exceeds disable_max_lines size". It would be helpful if this information was included in the initial error message.

@stevearc
Copy link
Owner

That error message is left over from an earlier time. I think it makes more sense now to always open the aerial window, even if there are no symbols. This is more consistent with the behavior that happens if you open aerial and switch to an unsupported buffer. Plus, now we put some detailed diagnostic information in the window if there aren't any symbols, so it won't be as confusing!

@b0o
Copy link
Contributor Author

b0o commented Nov 29, 2022

I think it makes more sense now to always open the aerial window, even if there are no symbols.

I agree, this is a nice improvement. Thanks for fixing this!

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

2 participants