question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version fails to apply -SfixCircleLabelOverlapping=true

See original GitHub issue

I notice that the plugin was recently updated to a version of PlantUML that includes the following defect: http://forum.plantuml.net/8442/regression-in-2018-03-2018-11-component-diagram-layout

I tried to use the workaround described by PlantUML developers and adding the following setting in VSCode settings:

	"plantuml.commandArgs": ["-SfixCircleLabelOverlapping=true"],

However, this results in a failure of the preview to render.

image

Please advise if I am doing something wrong or what is the right way to work around this defect when rendering diagrams with the VSCode plugin.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
qjebbscommented, Oct 25, 2018

Thanks for the advice, the setting names are historical issues, to be honest, I didn’t realize we need two arg settings too, that’s why I call the first one as “commandArgs”. Change it will make current config of many users become invalid, I cannot decide to do so.

I’ll take your descriptions first, thanks.

0reactions
sandersaarescommented, Oct 25, 2018

Maybe you can help write better descriptions.

Sure, I can try. Let’s see.

It might have helped me to more easily find the right setting if they were called “plantumlArgs” and “javaArgs”. Some statement along the lines of “These arguments configure the Java runtime. Use jarArgs to configure PlantUML” might also help in the description of “commandArgs”.

I immediately started configuring “commandsArgs” when I saw it because, well, I think of “run PlantUML” as the command and did not realize it was somehow split.

In cmd line, you still need to decide where to put the args, after java or after plantuml.jar, don’t you?

I have so far never needed to think about it, no. This is the first time I hear that it may make some difference. I guess my experience so far is always based on online example commands where the parameters are already put in the right place by the author of the example.

Further, arg settings are advanced settings, people who use cmd line args, should assumed to be experts, they knows what they are doing. Or they shouldn’t use them, and try other plans, like: this version of jar has trouble, I switch to another one…

Agreed. It is a rather troublesome situation that the PlantUML defect forces me to think about this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ggbiplot overlapping variables - Stack Overflow
This is a hack which adds a line break to one of the variable names so it doesn't overlap with another: library(ggbiplot) data(wine) ......
Read more >
The fixLabelOverlap attribute for VictoryAxis does not seem to ...
This sandbox demonstrates the issue. By toggling the fix overlap value Chart 1 will correctly display labels without overlapping while Chart 2 ...
Read more >
What's New - Regionmask - Read the Docs
Version 0.9.0 contains some exiting improvements: overlapping regions and unstructured grids can now be masked correctly. Further, Regions can ...
Read more >
What's new — MNE 1.2.2 documentation
Fix bug in mne.pick_types() and related methods where csd=True was not passed handled properly (#10470 by new contributor Matthias Dold).
Read more >
How to Fix Misaligned Labels Templates?
Your labels look correct on screen but are not printing correctly? The first thing you want to check is your printer settings. Print...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found