How to enable connector line jumps - enterprise-architect

I have a domain model, which when unions intersect, looks like this:
What I want to do is that, when two lines intersect, that one pass over the other, like the following:
Supposedly this should be done by the Enterprise by default, but it doesn't.
any ideas?

Go to Start | Desktop | Preferences | Diagram and set the option Enable Connector line jumps (valid for version 15.1)

Related

VS Code adds spaces between content when pasting

When I copy this, for example:
<AdmobComponent/>
It pastes as:
< AdmobComponent / >
Does anyone have any suggestions? I don't even know where to start to fix this.
From within the IDE:
Go to File | Preferences | Settings and then click Text Editor | Formatting.
The top option should be FormatOnPaste, make sure this is unchecked.
If you are using the Prettier extension, then this is a known issue.
For anyone having a similar problem in Visual Studio 2019 it can be fixed as follows:
Go to Tools | Options | Text Editor | {language}
Now depending on the Language the options that need to be changed could be in a few different places or missing. But for C# and JavaScript go to Code Style | Formatting
Once there there are a few options. If "Automatically format on paste" is unticked it will completely remove any reformatting on paste.
Or for a more limited impact go into the "Spacing" section and change "Set spacing for operators" to "Ignore spaces around binary operators". By doing this some automatic reformatting is lost but I think it's worth it not to have all those spaces inserted into stuff like Kebab case variables.

ipython notebook # find and replace has only replace "all" option

How to selectively replace some words in a single cell e.g. there are 7 variables named 'foo', and replace 3 of them by 'moo'.
The ipython notebook gives only option of replace all.
Update
The version 6.1.1 of the notebook server does not all address this issue. However, I have shifted to Jupyter Lab 2.1.5, which allows selective replacement.
It looks as if it is not possible as of today.
Here's what one of the contributers says on the subject:
I am opposed to trying implement that in our current UI - it doesn't
have the needed abstractions to do that well. In the new
JupyterLab/Workbench it will be quite easy to build a find/replace UI
in a separate panel that allows us to toggle the individual
replacements while still showing the notebook (in a non-model way).
https://github.com/jupyter/notebook/issues/558#issuecomment-164180866

Github - link to function in source

I know I can have anchors to a certain line, but if the source changes that line might become irrelevant. Example:
...source.php#L33 < line 33 may become line 40 later :(
Is there some way to tell GitHub to link to a certain function or property from the source, without specifying the line?
(The source is written in PHP code.)
AFAIK, no, but you can link to a certain revision of the file, and thus, you can know for sure that line will always point at the start of the function.
The URL looks like /{user}/{repo}/blob/{hash}/{file}#L{line}
To get it, click "Commits", select the last commit, click "Browse code", and find your file and line as usual.
documentation
Yes you can. Newer browsers support highlighting a portion of text and scrolling to it.
Example: common.c#:~:text=static%20ssize_t%20led_current_store
All you have to do is to add this to the end of your URL:
#:~:text=function_name
Some browsers do not support this, though: https://caniuse.com/url-scroll-to-text-fragment
Enjoy!

In Visio, how do I get the normal looking arrows? (The line arrows not the triangle ones)

http://www.dofactory.com/Patterns/PatternFlyweight.aspx
There is a UML diagram on that page. It has three different kinds of connections. The shared aggregation connection, the generalized connection (triangle arrow), and the other one... How do I get the other one in Visio? I can't find it...
Thanks.
It isn't "there". You need to specify the "Begin" and "End" shapes for your line, from the Format -> Line menu (or "More line ends" in the lines drop-down menu)
You can use this 1 legged connector
Adjusting the line formatting on arrows found in the shape libraries is buggy and tedious for me. I think the simplest to use arrow in Visio 2010 is on the ribbon Home > Tools > Connector. It's easy to modify it to look like any of the arrows that Michael referenced in his link.
I think you want the Dynamic Connector which, in the past, would appear as standard among the Basic Flowchart Shapes.

What tool can do a visual comparison of two sections within the same file?

Good file comparison tools were already discussed to the pain, but my problem is more exotic. Is there any visual text comparison tool (like WinMerge) that would allow me easily do visual comparison on two sections within the same file?
I have multiple configurations within vcproj file and need to maintain them. It is a pain to do this manually -- splitting windows, scrolling character-by character. On top of that xml is very verbose and takes lots of screen real-estate. I cannot believe there is no tool to do automatic file section comparison, since this sounds like a very common problem.
Please, do not offer me to use property pages, I do not want more complexity, I want less. Splitting manually into files and then comparing them is also too medieval (I am doing this now anyways).
I use Beyond Compare (not free, but I think a shareware version is available). You can select the same file for left and right sides, then right-click the beginning of your section on each side and select "Align Manually". This would allow you to compare two sections of the same file relatively easily.
Overall, I highly recommend the product. I haven't tried version 3, which is what they currently have on their Web site, but version 2 is a fabulous tool. A+
Emacs Ediff.
I use UltraEdit for most of my text editing and they have a product called UltraCompare that does a visual compare.
Update by Mofi
UltraCompare Professional supports also a comparison of text snippets in addition to entire files.
After starting UltraCompare, select Text Compare in menu Mode if not already selected. Select in text editor the first text block which should be compared, press Ctrl+C, switch back to UC and paste with Ctrl+V the block into left text area pane. Switch again to text editor, select the other block in same file, press Ctrl+C, switch back to UC, click into right pane and paste the block with Ctrl+V. The two blocks are immediately compared and the differences are displayed.
Such a text snippet comparison for two blocks in same file can be started also directly from within UltraEdit. Select the first block in file, press Ctrl+C, Ctrl+N, Ctrl+V and Ctrl+A to copy, paste and reselect this block in a new file. Select the second block in file. Execute command Compare from menu File in UltraEdit with option Compare selected text automatically being enabled and click on button Compare. UC Professional is started with just the 2 selected blocks for comparison.
You can use Meld to do this
Open up meld without specifying file names
Meld with prompt which type of comparison you want. Choose file comparison
Meld will present the the icon to select the file names. Below that it will prompt for a Blank comparison. Choose that.
In the file comparison window, paste the sections of the file you want to compare.