Can I dynamically add a number to vscode extension's panel webview container title? - webview

Basically exactly how a number appears next to the Problems panel title depending on # of problems in your workspace, I would like the same behavior for a custom webview view container I have contributed to the panel (based on a number that can dynamically change during my extention's use). Is this possible with currently provided vscode extension API's?

Related

Create a window with Lua?

So as the title says I need to make code to create a window and add some content to it, like text, images etc, so Is it possible or not?
(note that window needs to be interactive, that means you can code buttons, progress bars, selection boxes etc.)
You cannot do this in Lua alone. There are plenty of libraries and frameworks available that allow you to create graphical user interfaces.
http://lua-users.org/wiki/GraphicalUserInterfaceToolkits

Electron app - Custom components in native header

Is it possible in Electron to put custom components into the native application header?
For example, to achieve a design as such:
Currently my app just has the default one with just the title text
Is there a way to make it bigger and put content in there? Or do I have to somehow hide the native header and recreate the native buttons myself?
I suspect it's the latter, but in that case, how do I hide the native one and hook up ability to drag the window with it?
Or is this design entirely not possible in Electron?
The design you're looking for can be achieved, but only on macOS, by using the titleBarStyle property set to either hidden, hiddenInset, or even customButtonsOnHover, in the options passed to new BrowserWindow().
This is explained in more detail in Alternatives on macOS:
There's an alternative way to specify a chromeless window. Instead of
setting frame to false which disables both the titlebar and window
controls, you may want to have the title bar hidden and your content
extend to the full window size, yet still preserve the window controls
("traffic lights") for standard window actions.
There might still be a few issues, such as not being able to drag around the window from its title bar any more, but they are documented in the Frameless Window page; for instance, this specific problem can be solved by adding -webkit-app-region: drag; to the CSS relative to the region(s) you wish to make draggable.

how to hide extension point of visual studio team foundation server

These buttons are added as extension points by me, now i would like to hide these buttons when
"recycle bin" query runs as vsts "link to work item" button hide. please see attachments.
How to hide
Sample code
The work-item-query bar in assigned to me and recycle bin is using the same target: ms.vss-work-web.work-item-query-results-toolbar-menu
If you use this target for your extension, the button will list for both assigned to me and recycle bin.
The open/link to work item system button is also just using some code hidden themselves when loading the query toolbar in recycle bin. Which is more related to UI. However the code is not open, it's not able to achieve this for extension. About the UI related for the extension, you could also take a look at the answer in this question: How to hide quick add panel Backlogs Items using VSTS extension?
You could add a uservoice here suggest either separate targets in assigned to me and recycle bin for the query tool bar, or provide a way to hidden button in extension json.

Sonarqube 5.3, edit project level view

Currently Sonarqube 5.3 has a pre-configured view for project level analysis.
It basically displays the following tabs, Home button, Technical Debt, Coverage, Duplications ...Dashboard etc
So basically I wanted to customize the sequence/remove some of the tabs etc. Is there a way to edit the same?
I basically want to display the custom dashboard first then some of the tabs.
I couldnt find a way to customize it.
There is no way to edit this fixed portion of the interface.

Maintain splitted editor windows in PhpStorm

Using PhpStorm, I usually have 2 or 3 source files opened in splitted editors. Now that I have a secondary screen, I've put all the toolbars in the second screen, and I'd like to have a fixed 3-splits layout for my editors. But as soon as I close the last tab in one of the splits, that split is gone.
I've search through PhpStorm options and surfed for an answer, but didn't seem to find how to do it.
Is there any way to fix the split layout in PhpStorm?
It is not possible to get such behaviour in current version.
https://youtrack.jetbrains.com/issue/IDEA-66407 -- watch this ticket (star/vote/comment) to get notified on progress.

Resources