njpipeorgan / wolfram-language-notebook

Notebook support for Wolfram Language in VS Code
Apache License 2.0
159 stars 11 forks source link

Show multiple lines of definition at one time. #13

Closed asukaminato0721 closed 1 year ago

asukaminato0721 commented 2 years ago

Is your feature request related to a problem? A clear and concise description of what the problem is.

the definition can't be shown at one glance.

image

Describe the solution you'd like A clear and concise description of what you want to happen.

This may be better?

image

Additional context Add any other context or screenshots about the feature request here.

njpipeorgan commented 2 years ago

Thanks for the feedback. It seems to be a VSCode notebook issue. The two images below show the hover information for python list in a normal editor and in a notebook cell. Note that there is no line wrap in the notebook. image image

How did you produce the line wrap in your second screenshot?

asukaminato0721 commented 2 years ago

I installed both https://marketplace.visualstudio.com/items?itemName=WolframResearch.wolfram and https://marketplace.visualstudio.com/items?itemName=njpipeorgan.wolfram-language-notebook , then I open a wl file.

njpipeorgan commented 2 years ago

Thanks. So it is a VSCode problem that there is no line wrap in notebooks. The hover panels are shown through a VSCode API. I provide the content in the panel but have no control over how it is rendered.