Latex-workshop: Features that should be moved to LaTeX Utiliities

Created on 1 Aug 2019  路  11Comments  路  Source: James-Yu/LaTeX-Workshop

A continuation of the discussion in #1478

So far

  • Word Count moved out
  • Formatted Paste moving out
LaTeX Utilities dev

Most helpful comment

Just had a think about the Snippet Panel. Even though it may go beyond the minimum of what someone needs to get started, I think it's worth having in the base extension. New users who are also new-ish to LaTeX I imagine would very much appreciate it, but may have no desire for the other 'extra' features in LU.

All 11 comments

I'm thinking View TikZPicture is probably better off there as well. Thoughts?

I agree. I had taken a look into that but found it a bit complex. May you do the migration?

I'll take a look :smiley:

Just had a think about the Snippet Panel. Even though it may go beyond the minimum of what someone needs to get started, I think it's worth having in the base extension. New users who are also new-ish to LaTeX I imagine would very much appreciate it, but may have no desire for the other 'extra' features in LU.

Another thought. I imagine this was going to happen anyway, but following semantic versioning, I think the next release should be v8.0.0 since the 'big feature split' constitutes as "breaking changes" in my mind.

At the very beginning semantic versioning is used. But soon after that it falls back to the old school major_feature.minor_feature.bug_fix style. This is because that all in all LW is not a library/package of some programming language, and every commit includes some breaking changes.

Yet I agree that this is a major feature/change and we should have the major version increased.

I've had another feature idea, and would appreciate some input on whether this is best suited to LW or LU.

Using texdef -s it is possible to get where commands are defined.

$ texdef -s -t latex -c article section
% article.cls, line 302:
\newcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\Large\bfseries}}



md5-b49271836e60ae5d069fdf231e7ddba7



% latex.ltx, line 4856:
defitemize{%
ifnum @itemdepth >thr@@@toodeepelse
advance@itemdepth@ne
edef@itemitem{labelitemromannumeralthe@itemdepth}%
expandafter
list
csname@itemitemendcsname
{defmakelabel##1{hssllap{##1}}}%
fi}
```

I'm thinking this can be used to make a DefinitionProvider.

@tecosaur off topic. Please open a new issue.

How about Compilation Info Panel? It confuses users by appearing in the status bar even when it does not work properly. It is not matured.

Perhaps. One issue would be that that panel is fairly integrated with builder.ts, specifically the logging parts. One approach might be to leave the log-processing stuff but send the result of that off to LU, or rather have an event handler that LU can attach to.

Regarding the issue with functionality, for me, this works as of 7.3.0. If you could let me know if it works for you that would be appreciated :smiley:

I feel like this conversation has stilted. Until someone has more to discuss, this may as well be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

s-ilic picture s-ilic  路  3Comments

tenhobi picture tenhobi  路  4Comments

jose-a-sa picture jose-a-sa  路  4Comments

TiemenSch picture TiemenSch  路  6Comments

fsonntag picture fsonntag  路  4Comments