Is there a list of VSS Treeview Icons? - tfs

Refering to the Treeview control for VSTS / TFS:
[https://learn.microsoft.com/en-us/vsts/extend/develop/ui-controls/treeviewo ]
Is there a list of icons for us to choose?
icon: "icon icon-people"
or is there a way to load our own images.
Example:
icon: "./images/sample.png"

Yes, icon-people, icon-pause such as this kind are all build-in icons of TFS/VSTS extension. You could find them in your TFS/VSTS page and you could also directly call them in your custom extension.
Unfortunately, we don't have the official full list of icons. You could refer this tutorial which contain some commonly used.
Load your own images is also support, the format just like you described above icon: "xx/images/sample.png", here is a extension which use his own icon in menu bar, take a look at the source code if you are interested in.

Related

How do I make an inline PDF Viewer

I want to open PDF files from assets but inline with other flutter widgets, like in column widget.
I have used flutter_pdf_viewer plugin. Although being a good plugin, it opens PDF files as a new activity instead of embedding them or display them inline with other widgets.
Can anybody help me figure out how to achieve this?
The flutter_pdf_viewer plugin has a working MVP for inline pdfs available at the inline branch.
A full example is available here.
It still has some stability issues, which are being discussed over here.
In the latest master builds of Flutter, there is an AndroidView widget that allows you to display native android views.
Combine with AndroidPdfViewer to display an interactive PDF in a widget.
Of course that will only work on Android. Right now there is no comparable solution for iOS.

VS Code - Drag image from Explorer pane into markdown file and drop as path

In Visual Studio Code, from the Explorer pane, how can I drag a PNG file from my images folder and drop it in place in a markdown file, so that VS Code inserts the path to the dropped image?
Currently, VS Code just opens the image in a new tab.
I've reviewed the suggested answers, as well as the available markdown extensions, with no luck finding an answer.
Any assistance is appreciated!
I've looked it up everywhere too, bharath is entirely correct, for now you could just use right click -> copy path and paste it, It's quite tedious compared to a drag and drop solution, but Hopefully there would be an asset for that, If someone made this:
https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image
definitely something similar for just dragging and dropping would be possible
It seems like this is not possible yet in vscode as compared to visual studio. There seems to be a pending feature request on their GitHub issues page (link below) which was opened long back and not yet closed.
https://github.com/Microsoft/vscode/issues/5240
It should be in vscode v1.67 - it is in the Insiders Build now.
And see the v1.67 Release Notes: https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_67.md#markdown-drop-into-editor-to-create-link:
You can now quickly create markdown links by dragging and dropping
files from VS Code's explorer into a markdown editor. Simply hold
Shift while dragging the file over a markdown editor to drop it into
the editor and create a link to it:
If the file looks like an image, we will automatically insert an
markdown image. Otherwise we add a normal markdown link.
This also works when dragging some types of files from other
applications, such as dragging and dropping images from a web browser:
enable Workbench > Editor > Drop Into Editor: Enabled
That allows you to Shift drag an image file into an editor without opening a new editor of that image.
enable Markdown > Editor > Drop: Enabled
Also see v1.68 Release Notes, pasting an image or file to create a link:
Paste files to insert Markdown links
We've added experimental support pasting to insert images or file
links in markdown.
This requires enabling "editor.experimental.pasteActions.enabled": true. You can currently copy files from the VS Code explorer. Pasting
image files inserts image references while pasting normal text files
inserts links to those files.
subject: If you want an image in any folder of your vscode.
simply follow the steps.
1.Go to vscode then right click on a folder in which you want your image and then choose reveal in file explorer. After that you can simply copy your image into the vs code folder.

Advanced Installer: Show preview Pictures for every Feature

First Question:
Is it possible to show the Users preview Pictures for every Feature?
If they go with the mouse on the Feature I want to have a description
and a preview Picture from the elements to install!
For example: for a Game different Modifications!
I can't find this function in the Installer and I think I have searched a lot!
And second question:
Is it possible to disable the "advanced Installer" inscription on every Installer side?
1) The standard MSI controls do not support this kind of user interaction. However, Advanced Installer does have an UI theme for the dialogs where you can use HTML and JS to render a custom UI for the end users. You could try use that.
2) Yes, but only if you have a license for the Enterprise or Architect edition. You can customize your dialogs in any way you desire, from Dialogs page.
The same license is also required to try to the solution from the first question.
With the trial version of Advanced Installer you can use any of these feature for 30 days, for free.

Dart Editor Visual Theme...editable?

The new visual theme picker is awesome! Thank you! We can finally "dim the lights". Although, black and, specially, blue fonts, on a dark background, are hard on the eyes. Is there some sort of editable CSS like file that we can tune?
The quick answer is to look in the files in this folder:
plugins\com.google.dart.tools.deploy_0.2.8.r15948\themes
(where r15948 is the version of the editor)
This contains a series of xml files - one per theme, where you can edit the relevant color values.
If you look at Preferences >> Visual Theme, it says:
Download more themes or create your own on eclipsecolorthemes.org. It also lets you import themes.
Hannes Rammer built an open source tool for this
https://github.com/HannesRammer/Rainbow (GitHub)
http://pub.dartlang.org/packages/rainbow
also available online at
https://rainbow-dart.appspot.com/

Get application name on focus in blackberry

I am new in blackberry. I want the name of the application on focus. That is, for a particular application, if it is focused in downloads folder then name of that application should be displayed. Is it possible in Blackberry?
Please share it.
Thank you.
In your project you will find a file called BlackBerry_App_Descriptor.xml
If you open that file in eclipse you will see it allows you to set 2 icons and tick one as rollover (in focus).
You could simply design the rollover icon so that it incorporates your applications name. Or maybe logo/initials as it's not very big.
I'm guessing you mean when your application icon is in focus, if you mean other peoples applications then the answer is no (or more specifically what Richard said).
This would only be possable if the application in question either provided an API for other applications to get this data, through a listener interface for example; or if it issued a global event.

Resources