multi-column follow-mode similar to emacs - visual-studio-code

When I use emacs, I frequently use follow-mode to show one buffer in two columns side by side where the first line of the right hand column is the line after the last line in the left column - basically, two columns like reading two pages side by side.
Is there a way to achieve this in VS code? I currently open the same file side-by side, and manually scroll the sides to where I want them - but it's nice to have the two kept in sync automatically as I edit and move around.

Related

How to extend multiple objects at one time in QGIS?

I am currently trying to extend a series of parallel lines to 2 perpendicular lines in QGIS (https://i.stack.imgur.com/aQN7v.png). I have found two ways of doing this.
Use the extend tool within the QAD plugin, selecting the outer lines first and then selecting each parallel line separately to extend it to the outer line.
Use the trim/extend tool in the advanced digitising panel to do the same thing
However each parallel line has to be clicked individually for both of these solutions which in my case (100s of lines) takes a very long time. Does anyone know how to extend multiple lines at once?
It would also work if I could just specify the line length of multiple lines at once

How to create page break between elements inside list entry?

My Jasper Report has Detail element that holds List element. Every list entry of which contains number of tables.
I need to add page break between those tables.
The problem is that it is not possible to add line break. I am able to drag it between tables but the report stops working after adding it. It turns out that break is not supported in such places.
Is there a way to workaround this? Currently I'm thinking of adding some fake element that would consume some space but will be invisible, however it is not as simple.
I know it could be achieved by introducing sub-reports, but this requires complete redesign of my report so it is not an option for me.

Adding a empty line between each data set when merging

So right now I am merging 3 data sets together. I am just wondering if it is possible to add an empty line between each of the data sets to see them more clearly instead of all squished together.
Thank you

Dynamically removing table from rdlc report

I'm creating an SSRS report in VS2012.
Under Tablix Properties I can show or hide a table using an expression which uses a boolean parameter; but this leaves a gap in the report.
Is there a way I can just remove the table?
You could call a subreport and determine different subreports based on a variable. You cannot remove space with SSRS to my knowledge of it, it is not designed to remove space, just perform different actions on objects that take up space. I don't even think you can resize the objects dynamically unfortunately. You can cheat though and make two subreports, one with the supposed table and one without. Then when your variable gets hit it calls one and not the other. Since a subreport can change sizes that is a way to thus trick the system's language limitations. It may not fit your needs but it is a thought that could in theory solve this problem.
I think it depends on the report layout and all sorts. I created the simplest case:
From Designer mode you can see it's just three tables in the report, nothing else. The middle table's visibilty is parameter based. In this case, SSRS does make an effort to shift the last table depending on whether the middle is visible:
In this case you still have maybe too much whitespace showing. There are various ways around this. One example is embedding the middle table in a Rectangle that extends to top of the last table, then moving the visibility expression from the table to the Rectangle. In Designer:
End result, looks better:
I guess all I'm trying to show is that SSRS does sometimes move things around based on visibility, but you can also apply extra control using tools like Rectangles to control visibility and layout.

Mysql Workbench: any way to force lines for relationships to be straight?

As you know, when a relationship between two tables on a schema diagram is created, a line between them is drawn. Do you know any way to force those lines to be straight?
v. 5.2.34
Unfortunatelly the only way to do that is to edit the table position manually: select the table, and in the Properties Editor adjust the Top/Left properties until you reach the alignment>
Ok, there is an option called "Align objects to grid".
I found that changing the zoom to 200% allows you to tweak the lines and get them straight most of the time.