-
Notifications
You must be signed in to change notification settings - Fork 19
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
How to deal with big content #15
Comments
Hi there. Could you please share an example (ideally with a simple way of reproducing) that breaks the current layout? I have personally not have errors which broke the layout. If the input If the docs are unclear on that matter, I'll happily change them so that they're easier to understand! (this will wait until #14 is merged though, which changes a whole lot of things) |
Well I believe the example is precisely what you highlighted. Like it's not breaking the layout per se but it's more that the line goes on and visually starts column one. When trying it with a
Do you have an example somewhere using Doc as the |
I see. |
I see. So the best option for now would be to render it to Text beforehand to have the line returns in place with a width of like 50-60? |
Pre-rendering should work, provided that there are One fix (which is very dirty and completely voids the purpose of the instance Pretty (Doc ann) where
pretty = unAnnotate But this greatly decreases performance (I am confident that using |
Thanks for taking the time to give a detailed answer! I’ll try my chance with pre-rendering it then. Sounds like the best compromise to me. |
No problem! I'll close this issue as there is pretty much nothing I can really do to solve this issue (because it originates from |
Hello,
I'm currently testing your library and the diagnostics look really good!
I am just having one issue and it's unclear to me how to solve it from the docs. If I have content that spans over multiple lines and it breaks the layout. Is it possible to use say
Doc
s instead of Text/String to create a Report? Or what would be the way of doing something like this? Say showing actual/expected types in a type error, or having a type that is long ( record type or function types for example ).The text was updated successfully, but these errors were encountered: