How do I change the colour of the results grid borders in Azure Data Studio? - azure-data-studio

There must be a way to do this, because switching between different themes changes the colour of the borders in the results grid. But I want to customise it for one of themes I'm currently using. (Which I know is possible based on this question.)
The only reference I can find in Microsoft's documentation is this page for Visual Studio Code:
https://code.visualstudio.com/api/references/theme-color
...but seeing as the results grid is an Azure Data Studio feature, there's nothing in there talking about it.
Anyone have any thoughts??

Related

In the extension development of Visual Studio, is there an API similar to the effect of the Decoration API in the extension of VSCode?

I am developing a code completion extension. I have achieved the effect in the figure below in both VSCode and Jetbrains IDE, that is, the completion content is displayed in gray text behind the code. In VSCode, I can achieve it through the Decoration API. In Jetbrains, I can achieve it by rendering a piece of text behind the cursor through EditorCustomElementRenderer. I like this completion method very much. The well-known completion tool Copilot also uses this mode. I have checked a lot of documents, but I still can't find how to implement it in Visual Studio. I want to see how to implement this in Visual Studio, many thanks!
VSCode JetBrains
I researched related documents and tools and found that in VS2019, similar effects cannot be achieved. But Copilot achieves something similar in VS2022. Wondering which API he used? It would be even better if there is such an API in VS2019.
If there is really no related API, I would like to know if there is an API that can render a piece of text near the cursor, which can be in the form of tooltips or something else, similar to the following effect.
tootips
What I hope is that I can control through code when to display this prompt near the cursor.
To summarize my problem is as follows
1. In VS2019, is there an API for rendering a piece of text behind the cursor, similar to Decortaion API in VSCode
2. If not in VS2019, is there any in VS2022?
3. If not, is there a similar API that can display a piece of text behind the cursor? Which can be in the form of tooltips or something else.

How to format tile view in Microsoft SharePoint

Currently my SharePoint website looks like this image
I was wondering if there is a way to make the section with the links smaller (maybe by about 25%) and into two rows of five while still keeping that default tile view SharePoint provides. I've looked into custom formatting with JSON, but I'm not sure how to replicate the default tile view using this method. Also, I'm completely clueless on how to edit a whole section's size as there is no option when editing the web part. Any help is appreciated.

Grunt background image on gruntfile.js in Visual Studio 2015

Just downloaded the VS 2015 RC and have been playing around with Gruntfile.js. I noticed Mads Kristensen demo'ing this, and various JSON files would have a background image displayed in the lower right corner based on the library it was used for (Grunt, Bower, etc...)
It looked like:
Anyone know how to get those background images to display?
It is called Adornments.
From MSDN
Adornments are graphic effects that are not directly related to the
font and color of the characters in the text view. For example, the
red squiggle underline that is used to mark non-compiling code in many
programming languages is an embedded adornment, and tooltips are
pop-up adornments. Adornments are derived from UIElement and implement
ITag. Two specialized types of adornment tag are the
SpaceNegotiatingAdornmentTag, for adornments that occupy the same
space as the text in a view, and the ErrorTag, for the squiggle
underline.
It's not a new feature from VS2015, it already existed in VS2010.
Several extensions allow you to put a custom image as a watermark on the text editor.
If you want to know how it is done under the hood, here is a GitHub repository of an extension.
Here is another MSDN article that explains which classes to implement if you want to create your extension.

Custom controls in Visual Studio Lightswitch

Can someone point me to an article or tutorial on using custom controls in Visual Studio Lightswitch? I'm trying to add a rich text box to a page, linked to a string property. When running the app, sometimes the field will show up, sometimes it won't. If it does show the width of the field is small, about 2 characters, but will expand when text is pasted inside. Saving doesn't work, though.
I'm not even sure about whether or not I'm allowed to use controls like these in a Lightswitch app, even though custom controls are obviously supported. Are the custom controls restricted to a certain type or set?
Thanks in advance for any assistance.
W.
Have a look at the following example, http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/10/LightSwitch-Student-Information-System-Part-3-Custom-Controls.aspx
Also the Training Kit has examples of Custome Controls included.
There is also this tutorial:
Creating A LightSwitch Custom Silverlight Control
http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/2/Creating-A-LightSwitch-Custom-Silverlight-Control.aspx

Visual Studio Forms Designer and the size of invisible objects

The form designer in Visual Studio is giving me fits and I'm hoping someone can at least point out what's going on.
The latest incarnation involved a tab sheet with some controls on each of the sheets. Sheets #2 and #3 were done and I was working on #1--when suddenly two controls on sheet #2 vanished in the running program. Some hunting showed that they had their width set to zero--yet they are fine in the designer.
The common factor I have had (I have had other such disappearances) is that the components are invisible when the form is created.
For any given state of the program the behavior is completely consistent but when other controls are created or destroyed the behavior may change.
Do you use Visual Studio's Document Outline Window? It's very useful for visualisation when dealing with complex layouts.

Resources