Replies: 2 comments 4 replies
-
Thanks for the long suggestion. The second point is good but may not be covered by this extension. We are in a phase to gradually rule out magic comments (vscode config is far more flexible). Therefore advanced magic comment will not be implemented. For the first one, the workload is quite huge! I myself is happy to see it happen, but I am not sure how it can/should be implemented technically. |
Beta Was this translation helpful? Give feedback.
-
The first point is related to #2098. I would love to have intellisense for package options but the implementation effort is really huge.
can basically be only achieved by parsing the file from the beginning. This is not reasonable to parse the whole file every time intellisense is triggered. So, we could deal with % Example
\hypersetup{colorlinks = false, citebordercolor = green, linkbordercolor = red, urlbordercolor = cyan} but not % Example
\hypersetup{
colorlinks = false,
citebordercolor = green,
linkbordercolor = red,
urlbordercolor = cyan,
} |
Beta Was this translation helpful? Give feedback.
-
IntelliSense triggered by a specific situation
Please forgive me that this post is not Q&A.
Premise
This discussion is a feature we hope to be implemented in LaTeX workshop.
However, since collecting IntelliSense data is expected to be very laborious and complicated to expand the functionality, so it is okay to propose an alternative extension. If presented with an alternative extension, I think I'll have to create the data myself, but that's not a problem. Also, this feature is ambitious and I don't mind if it ends up being just an idea.
But if someone can make it happen, users will have a better and more comfortable LaTeXing life.
Expected features
IntelliSense for package settings
For example, settings for the hyperref package can be specified from
\hypersetup
, but it is very difficult to enter the settings name correctly and it is often difficult to remember. Of course, this is especially true for beginners.The example of process by which IntelliSense suggestion is displayed:
\hypersetup
triggers IntelliSense data about hyperref settings.c
suggestscolorlinks
andcitebordercolor
and more.It would be very useful if
\hypersetup
could trigger the IntelliSense of these option names and avoid typography. Of course, it would be nice if this feature was also provided for other major packages.The important thing is that this IntelliSense suggestion only display in
\hypersetup
.IntelliSense for command line in TeX file
When using magic comments or llmk (toml field), you need to write the following command line in the TeX file.
I don't know what to do about this, but I think it would be nice to suggest options such as
-interaction=nonstopmode
.In the case of llmk, it may be sufficient to have a snippet of toml available between
+++
Beta Was this translation helpful? Give feedback.
All reactions