Can I force VS2022 to show numbers instead of Hex values wherever possible? - visual-studio-2022

Visual Studio shows me hex numbers in various places, for example here:
When I click it to copy it, it offers me "Copy", "Copy value", "Copy expression" and "Copy Hexadecimal".
With each option, I end up getting the hex value.
However, I would need the number.
Is there any way to do that easily?

Right click on it.
There should be a hexadecimal entry, that you can uncheck.

Related

How to ignore capitalization in Beyond Compare 4

BC4 is currently highlighting lines, even when they differ only by capitalization. I want to ignore those.
In Session Settings, I have UN-checked the box labeled "Character Case".
I have selected the "Minor" button (sub-text: "Ignore unimportant Differences").
I have ensured that the file type (.cs file) corresponds to the rules selected (as suggested here).
What else am I missing?
So, I got an answer straight from Scooter support community:
The character case check box only affects default text (text that isn't a string, identifier, comment, etc).
To ignore character case for non-default text, click the Edit Grammar button.
In the Grammar tab, select the grammar definition that matches the text that should ignore character case, such as Identifier.
Click the Gear icon.
Uncheck This element is case sensitive.
Click OK until you're back to the main window
For the .cs file type, in Session Settings, you will also need to uncheck the box labeled "Identifier" (this is in addition to selecting the "Minor" button as already stated).
This is not necessary for some other file types, such as "HTML", "MS Word Documents", "RTF", "XML", and of course "Everything Else". Simply selecting the "Minor" button will ignore character case.

PhpStorm "Find In Path" defaulting to cryptic string

Normally, using cmd+shift+f will launch PhpStorm's "Find in Path..." feature, and the search text defaults to whatever text is highlighted in the IDE. For me, it defaults to what is highlighted for a fraction of a second, before being replaced with this code:
2223 2BC9 EA71 DED7 8AAE DB73 C773 21A0 E816 78AE
I am not sure what this code represents but it is always the same. I have to delete and re-type or paste the content I want to search in order to continue with my search. The next time I open the "Find in Path" dialog, it happens again.
Does anyone have any clue what this might mean?
It must be caused by GPG tool: https://gpgtools.tenderapp.com/discussions/problems/51070-gpgservices-spurious-select-key-dialog.
Unchecking the box next to OpenPGP: Insert my Fingerprint in Mac System Preferences -> Keyboard -> Shortcuts -> System should help

Section Header Range.Text Returning Empty String Instead of Actual Text

I have a PDF file that I am trying to parse text out of. I opened the file using Microsoft Word, and text I need is in the header. On the first page, the header is justified left with a center tab that has the text (plain English name document title instead of the complicated reference name) that I am trying to grab. There is a right tab that has a page number control that I don't care about.
When I try to run the following:
Debug.Print ThisDocument.Sections(1).Headers(wdHeaderFooterPrimary).Exists
it gives me True, so I know the header exists. However, when I try to run
Debug.Print ThisDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.Text
it gives me nothing but an empty string, which I can further confirm by wrapping it in a Len(…) command which gives me 1. How can I get the text out of the header?
Of note, I tried using some Adobe SDK functions which would have been easier, but I do not have the professional Acrobat suite so I do not have access to those tools. Hence the MS Word workaround.

Excel: 2007-2013 TypeGuessRows - Character Value

I need to import an excel 2007-2013 file into MSSQL but the characters are being truncated within a column. The quick fix is to sort the rows from largest to smallest interns of character sting length.
I require a permanent solution and the following answer (see below) worked for .exe files however what will be the corresponding solution for .xlsx files.
Thanks
Chantelle
To change the value of TypeGuessRows, use these steps: 1.On the Start
menu, click Run. In the Run dialog box, type Regedt32, and then click
OK. 2.Open the following key in the Registry editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel
Note For 64-bit systems, the corresponding key is as follows:
HKLM\SOFTWARE\wow6432node\microsoft\jet\4.0\engines\excel
3.Double-click TypeGuessRows. 4.In the DWORD editor dialog box, click Decimal under Base. Type a value between 0 and 16, inclusive, for
Value data. 5.Click OK, and then exit the Registry Editor.
A second way to work around this problem (without modifying the
registry) is to make sure that rows with fields, which have data 255
characters or greater, are present in the first 8 rows of the source
data file. shareedit
answered Jan 20 '14 at 11:21
Suji 112

Add quotation marks to selected word via shortcut

Is there any way (Plugin, Script) to add quotation marks (or square brackets or parentheses) at the beginning and the end of selected text via a keyboard shortcut in the Kate editor?
I think of something like selecting a word and then pressing Ctrl-U (this would upcase the selected word). Is there something similar for quotation marks?
The "Configure Shortcuts" menu does not provide this option.
This should be possible to do by using Kate's Javascript plugin system: http://docs.kde.org/stable/en/kde-baseapps/kate/advanced-editing-tools-scripting.html.
By finding the word at the current cursor position and inserting text before and after, you could create a “surround with quotation marks” function.
For an example of a Kate script, see here: http://kucrut.org/move-cursor-to-next-prev-paragraph-in-kate/.
One solution would be the following:
Go to Settings > Configure Kate > Editing
Activate the Auto brackets option
Now you are able to wrap the selected text with brackets.
Though there is one drawback. The Auto brackets option is "always on", meaning that once you type "(" the corresponding ")" also comes up.