How to edit tooltip opacity in vscode? (how to change the intellisense suggestions transparency) - tooltip

I am a beginner in vscode.
When I write code the tooltip annoys me, because I use divided screen in macOS
so I want to make the tooltips semi-transparent without press ctrl
like this image:

Try this colorCustomization in your settings:
"workbench.colorCustomizations": {
"editorSuggestWidget.background": "#ff000060"
}
The last two digits, in this case 60 are opacity. There a few more editorSuggestWidget options to change too.

https://wannabedev.tistory.com/37
I found it, here is a screenshot:

Unfortunately, that's a visual studio feature not yet available in visual studio code.
At present, the only option is to disable the pop-up altogether, in which case you don't get the hinting, which is not ideal.
There are a lot of threads on GitHub about the position and opacity of the tool tip (search terms like 'tooltip intellisense position' you'll find a bunch). You can add your voice there.

Related

Why is my Octave GUI editor so buggy? How can I fix it?

The editor for the GUI is a complete mess. When I create a brand new script, the spacing and font are relatively ok.
However, if I open any existing function, it is shown with way too much space between lines, and spaces and tabs show way more space than they should. An example is shown below:
I tried selecting the Edit - Preferences - General - Use custom file editor options, and chose "notepad++ -n%l %f. I have notepad++ installed already on my computer.
When I selected this option and clicked ok, the Octave GUI crashed. When I tried to reopen a file now, I get the error "could not start custom file editor".
If I change the font, it temporarily fixes the issue. But none of the changes persist. Often clicking OK crashes octave. And any time it's reopened, the fonts revert to default, and the spacing problems returns.
How can I make the editor show an appropriate leading and space width?
I would also like to be able to further customize, if possible. For example I'd like it to use a dark theme. But for now just showing a reasonable space between lines would make this at least useable.
I'm using Windows 10, Octave version 6.4.0

How to disable green highlight in Spyder

does anybody knows how to disable the green highlight in Spyder editor as I show in the picture below?
Thanks
Spyder has many settings which the user can change.
In Preferences>Tools>Appearance>Edit Selected Scheme we can select the colors of several highlights, including current cell. (followed by OK then Apply, which can take a few seconds, then OK).
Setting this to #19232d (which seems to be the color of the overall dark theme background) at least gives the appearance of highlighting having been stopped.
There seems to be no way of setting such a color to transparent (in the CSS sense).
Under Tools>Preferences>Editor it seems as though we can unset highlighting of the current cell, but this appears to get overwritten by the Highlight Occurrences after selection, and setting that to something huge in the hopes it would not kick in did not seem to work.
However, I do not claim to be a Spyder expert and would welcome feedback from those who are and who perhaps know of ways of stopping highlighting in certain areas completely.
(Spyder maintainer here) This is caused by a bug in our code. It'll be fixed in our 4.2.0 version, to be released in November 2020.
In the meantime, the solution is to reactivate the option Highlight current line, present in the menu Tools > Preferences > Editor > Display.

How to configure spyder 4 to behave like spyder 3

I just installed spyder 4.0.1 and am overwhelmed by all the bells and whistles. Which settings should I change/uncheck in order to get back to spyder 3 default behaviour?
Two most pressing problems are with the auto-complete (using TAB) in the editor:
The first item is black on dark blue and therefore illegible. Can I adjust that?
There are way too many irrelevant suggestions. Can I adjust that?
(Python/anaconda/win7 in case it makes a difference.)
(Spyder maintainer here) My answers:
The first item is black on dark blue and therefore illegible. Can I adjust that?
No, but that dark blue color comes from the Windows classic theme, which is really ugly. In the normal Windows 10 theme things look as expected:
There are way too many irrelevant suggestions. Can I adjust that?
Yes. Please see my answer about that: https://stackoverflow.com/a/59724907/438386

Is there a way to organize Delphi XE2/XE5 tabs editor in multitabs?

I have a lot of files to keep open, and the current single line of tabs is just difficult. I see that GExperts and CNPack does not have that (unless I missed that).
Is there any trick to achieve that, or any other suggestion that I could have more tabs visible?
The TIDEGradientTabSet (if it's still used in modern Delphi) doesn't support multiline view, so the only option for those IDE experts could be making own tab set control hiding the original one.
Alternatives are:
On the far right of the tabs is a small down arrow. Press that, and you'll see a list of all the files that are open in the editor;
Pressing Ctrl+B will open up a dialog to select a tab;
TMS has a free tool AltTab but it did not get update for while. That was exactly what was needed for Delphi IDE;

Chevron button in delphi dialog form

I want to draw a Chevron button
in a custom dialog form and I'm wondering if exist a State and Part constant to be used with the DrawThemeBackground function or I must draw this kind of button manually?
The closest I can find for XP is
ThemeServices.DrawElement(Canvas.Handle, GetElementDetails(tebNormalGroupExpandNormal),
Rect(10, 100, 100, 200));
or
EBP_NORMALGROUPEXPAND using DrawThemeBackground directly. However this draws a double arrow (on XP at least)
However later windows versions also have TDLG_EXPANDOBUTTON, which is what you want judging by the image at Where do I find the icons / animations recommended in the Windows 7 UX guide?
Thanks to Andreas (as usual for theme and customer drawing related questions)
See also his utility at Windows Visual Themes: Gallery of Parts and States?
Ideally I would use the second version if available, but fall back to the first on XP.
You can't find it in the list of Parts and States? Then it doesn't exist. http://msdn.microsoft.com/en-us/library/bb773210(v=vs.85).aspx

Resources