Showing posts with label Development Tools. Show all posts
Showing posts with label Development Tools. Show all posts

Monday, January 4, 2021

Request Visual Studio Code Extension Stats from Marketplace

Visual Studio Code (VSCode) marketplace server collects information about installations and updates for every extension published on market place. It can be requested through REST API endpoint. 

To get extension GUID use
> vsce show publisher.extension-name --json

Find "extensionId" in console output and send HTTP POST request to (3) REST endpoint.

POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery HTTP/1.1
content-type: application/json
accept: application/json;api-version=3.0-preview.1

{
   filters: [{
        criteria: [{
          filterType: 4,
          value: "your-ext-guid"
        }]
   }],
   assetTypes: [],
   flags: 0x100
};

Find in response text install and updatCount statistics

"statistics": [
        {
            "statisticName": "install",
            "value": 25908
        },
        {
            "statisticName": "updateCount",
            "value": 60984
        }
    ]

Links

  1. Original post from reddit.com
  2. Gallery service source from https://github.com/microsoft/vscode
  3. VSCode Marketplace REST endpoint  

Monday, July 1, 2013

MouseFeed for Eclipse is Your Personal Keyboard Shortcuts Coach

MouseFeed | Eclipse Plugins, Bundles and Products - Eclipse Marketplace: "MouseFeed helps to form a habit of using keyboard shortcuts. When the user clicks on a button or on a menu item, the plugin shows a popup reminding about the key shortcut. After a few times, you remember the keyboard shortcut and you will start using it, rather than clicking through menus. This will save you a lot of time at the end of the day."

It works as advertised and started to show popups for actions selected trough menu right after installation and restart. For example, if  "Run->Run..." menu action selected popup shown below appear.

MouseFeed Plug-in Popup Window look

It also has "Action invocation counter threshold" parameter in preferences, which controls the popup behavior for actions without shortcuts.

MouseFeed Plug-in Preferences

If for example "Help->About Eclipse Platform" menu Item selected 3 times, then this plugin shows popup with link to configure shortcut for it.

MouseFeed Plug-in Popup window look for action without shortcut

For more information look at:




'via Blog this'

Friday, September 10, 2010

How to Get Decent Eclipse Based XML Editor Without Downloading Whole Eclipse SDK and Web Tools Binaries

If you're not going to develop Java application, plug-in or debug Eclipse based applications there is no reason to download whole bunch of archives with all eclipse features you're never going to use. So to keep your XML Editor small and free from UI clattering follow this simple steps:
  • Download Eclipse Platform 3.6.X from http://www.eclipse.org, which is only 50M instead of 170M for Classic Eclipse SDK
  • Unpack it somewhere to your local file system (this folder is referenced as ${eclipse} below in this article)
  • Start it by executing ${eclipse}/eclipse or ${eclipse}/eclipse.exe which depends on your operation system
  • Select folder that is going to be used to keep your stuff like new projects, if you're going to create something
  • Open "Install" dialog using "Help->Install New Software..." in bar menu
  • Install "Web, XML, and Java EE Development->Eclipse XML Editors and Tools" form "Helios - http://download.eclipse.org/releases/helios/" update site
  • Wait while Eclipse is downloaded selected software
  • Restart Eclipse when downloading and installation are finished and Eclipse asks you what you want to do
You're done with installation and now have fully functional XML editor with the lots features like: templates, content assist and validation based on DTD or XML Schema.