VSCode - show character length of selected text - visual-studio-code

Is it possible to show the character length of your selected text in the status bar? For example, in PyCharm as well as many other editors, it shows the line and column position. Then when you have some text selected, it shows the char count.
However in VSCode, it just shows the line and column position.
But when I select a piece of text, it disappears.
Is this a bug in my installation, or is it something I have to enable?

This should be shown by default:
I notice that your space between "Live Share" and "Spaces: 4" is quite small. Maybe the longer string on a selection does not fit in there. Have you tried expanding the Window or hide some of the status bar elements by right-clicking on it?

Related

How can I remove the file name from the top bar of the VS Code window?

Is there a way to remove the file name in the top bar? It is right next to the menu bar and I suspect that the file name is the reason why part of the menu bar is hidden (the three dots are there).
Put the following in your settings.json:
"window.title": " "
If you set it as an empty string instead of a space, it will instead display "Visual Studio Code".
Alternatively, you could be fancier and use the unicode "Zero Width Space" character (U+200B)
"window.title": "​"
You can't really tell there's a character in the string above because- well- it's a space with zero width :P

Fillable Pdf multi-line, Allow rich text formatting in Acrobat Pro DC: but it ignores line spacing/leading set in More

I'm on Win10, using Acrobat Pro DC 2021.011... to edit and Reader DC (same version) to test.
From experience and from reading forums etc, forms in these apps are maddening... but I have not been able to find any discussion (or solutions) to the following behavior...
The form I'm building for other employees' use has a large edit text box set to Multi-line and Allow Rich Text Formatting. It is set to a default font, Calibri and size 50pt. For most situations this will work for them; provides 2-3 lines for a short product description. But occasionally they want a smaller font and more lines... They know how to get the ctrl+e properties bar. But in my testing of this alternative situation they'll need sometimes, I'm finding it's impossible to get the smaller font size and more lines to work. Here's my process.
tab into text box. Ctrl+E for properties bar.
before typing I set the font size to 24
then I type in my 4 lines of text
then I tab to my next form field...
and kaboom... the field I just filled...it's line height is so large it's pushed some of the content invisible. I assume this is coming from the field's default font size, 50
And if I try to adjust the line height, by selecting all the text and then choosing in More...>Form Field Text Properties>Paragraph>Line Spacing
If I set it to Single and click Close/click into another field I get the very large leading (presumably for 50pt font (same as pic above after point 5)
If I choose Exactly and set to point size slightly larger, click Close/out of field, I get another ridiculous result where the 2/3 line have the height I set, but the space between the 1 & 2 second line is way too much and the space between the last line and 3rd line is way too small...
before tabbing or clicking out of field to another field
Good lord.. what is that! 3 different leading values in the same field; just after applying 1 value to all lines, all text in the field...
It makes no sense... it doesn't look like it regards your input at all, and just comes up with it's own random leading... I've fiddled with Space before/after and combinations of Line Height and nothing comes close to what we need... At this point I'm convinced the Acrobat tools for a stylizing text in a multi-line, allow formatting text field are useless. I'd be better off with my employees they can't format anything, ever. Just type one line and hit Tab or Enter...
What is going on! I'm trying to make a simple fillable form for other employees to use, but this kind of behavior makes that impossible (It's enough of a stretch to teach them to use the ctrl+E and do some styling of their text but this is bonkers and completely unteachable... there's not rhyme or pattern to teach!)
Hope someone can help or has seen this behavior too.

How to make part of my sentence left aligned and rest as right aligned

Let say I have a sentence as This is my whole sentence.
Now I want a part of above sentence This is left aligned. And the remaining part of same sentence my whole sentence as right aligned.
I basically wanted to have option to configure Footer of my document, as part to go left side and another part on the right side.
Is there any way to achieve this with Libre-office writer?
Any pointer will be highly appreciated.
This is done using a tabulator - the tabulation character is entered from the keyboard using the Tab key, and the result of its application is controlled by the type of tabulator and its position on the ruler.
The video shows the formatting of the Header with a Tab. The same steps apply to both Footer and normal paragraph text.
Enter the text you want
Remove unnecessary (preset) Tabs from the Ruler - just drag them aside
By clicking on the Tab Type icon in the upper left corner, set the desired type of future tabulator
Place the cursor in the desired place of your text and press the Tab key
Tab types change cyclically with each click - Left (default), Right, Center, and By Decimal Separator (used to align numbers).
Use the Edit Tabs to fine-tune tab stops

Replace row header with images

I am working on a worksheet which has long header names. I want to display table compactly using icon images instead of using header labels. Say I have a column named "Population Density" in a table. I would like a population icon to show up instead of full label.
Probably the closest you could come with this is using Unicode Emoji in a column alias.
For measure values, right click the header and click "Edit Alias", then paste the unicode emoji into the text box.
For dimensions, right click the pill and click "Edit in Shelf". Move the cursor to the beginning of the line and press Shift+Enter to add a new line above, then press the up arrow. Type // on the new line, paste the selected unicode emoji, and hit Enter.

How to add padding to symbol text in Visio 2013?

In Visio 2013, I have a connector that is in a container that has a gray background color. I successfully changed the background color of the text block by following these steps:
Double-click the connector
Expand the font options by clicking on the icon in the lower-right portion of the 'Home > Font' ribbon area
Click on 'Text Block' tab in the 'Text' dialog
Select 'Solid color' and choose the background color that matches the gray container background color
That works as expected - my text background color is no longer the default white; it now matches the background color of the container.
However, I want to add spacing to the left and right of the text. I tried increasing the margins in the same 'Text Block' tab of the 'Text' dialog mentioned above. This increased the margins but did not extend the background color of the text. A also tried manually adding spaces to the left and right of the text. The leading spaces worked, but the trailing spaces where truncated. Is there any way to add left and right padding to the text (similar to css padding)?
Modifying the text block location/size may give you what you want, combined with text margins.
To modify the text block location, you have to click the text block tool, which is on a dropdown with the text tool (at least in Visio 2003).
I know this is an old question, but I had the same question myself and wasn't able to (quickly) find an answer out there either. I finally hit upon a trick that'll get the result we're looking for:
Instead of spaces, add leading and trailing characters to the longest line in the text box. (I use ".")
Change the color of ONLY those added characters so it matches the text box's background.
The text box's background reaches to the furthest edge of the text within, and we're just using that to get what we want. Since it's just moving the edge indirectly, I consider it a "trick" that we can use instead of a "fix".
Quick list of Cons:
The text box background color has to be solid, or close to it.
The "invisible" text will still exist, so it'll show up in a copy/paste of the text.
Similarly, it may make Searching/CTRL+F for things within the document/file more difficult.
You can use No-Break Space. Insert it from Insert > Symbol.