You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem still occurs after I issued M-x tide-restart-server in the buffer where I had the problem.
I verified that the version and the configuration file path reported by M-x tide-verify-setup are correct.
If tide is reporting an error or warning I think should not be reported, I can run tsc (and tslint, if applicable) without the error or warning I'm seeing in tide.
If tide is not reporting an error or warning I think should be reported, tsc (or tslint, if applicable) reports the error or warning I was expecting to see.
I am positive the problem does not belong to typescript-mode or tsserver.
Relevant Version Numbers
Tide: 20200823.524
TypeScript: 3.8.2
Emacs: 27.1
(The list above is minimal. Make sure to include any other version numbers relevant to your report.)
Steps to Reproduce the Bug
Open typescript file and hover cursor over type definition with arguably big number of lines. Then call tide-documentation-at-point.
Expected Behavior
I expect to see full type definition.
Actual Behavior
The output is truncated if type is long - I see just a beginning, followed by ... <n lines> more ...:
I investigated a bit tide-documentation-at-point and as far as I understand - this behaviour comes from tide-command:quickinfo - I tried to change this to my custom function using quickinfo-full to take it out of equation, but get the same truncation when calling it:
(defunsandric/tide-full-documentation-at-point ()
"Show documentation of the symbol at point."
(interactive)
(tide-command:quickinfo-full
(tide-on-response-success-callback response
(-if-let (body (tide-construct-documentation (plist-get response :body)))
(tide-display-help-buffer "documentation" body)
(message"No documentation available.")))))
I can understand that is intentional though so that output can be truncated in minibuffer, but I would appreciate if someone points me to how to define my own function to show full type.
The text was updated successfully, but these errors were encountered:
When submitting issues to this project, please include the following information.
Checklist
M-x tide-restart-server
in the buffer where I had the problem.M-x tide-verify-setup
are correct.tsc
(andtslint
, if applicable) without the error or warning I'm seeing in tide.tsc
(ortslint
, if applicable) reports the error or warning I was expecting to see.typescript-mode
ortsserver
.Relevant Version Numbers
(The list above is minimal. Make sure to include any other version numbers relevant to your report.)
Steps to Reproduce the Bug
Open typescript file and hover cursor over type definition with arguably big number of lines. Then call
tide-documentation-at-point
.Expected Behavior
I expect to see full type definition.
Actual Behavior
The output is truncated if type is long - I see just a beginning, followed by
... <n lines> more ...
:I investigated a bit
tide-documentation-at-point
and as far as I understand - this behaviour comes fromtide-command:quickinfo
- I tried to change this to my custom function usingquickinfo-full
to take it out of equation, but get the same truncation when calling it:I can understand that is intentional though so that output can be truncated in minibuffer, but I would appreciate if someone points me to how to define my own function to show full type.
The text was updated successfully, but these errors were encountered: