Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Now listeningNew to Visual Studio Code? Get it now.
Now listening

Now listening

Arda Cetinkaya

|
168 installs
| (0) | Free
Displays the recent tracks that you listened or currently listening within Last.fm
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Last.fm Recent Tracks VS Code Extension

This is a simple Visual Studio Code(a.k.a VS Code) extension that displays currently playings songs within Last.fm. Sometimes while listening mixed list a catchy and good song may hit. Whitout leaving VS Code environment, it is easy to see what is currentl playing with help of Last.fm

But the main concept for this plugin is to learn how to create an extension for VS Code. Mainly some other business requierment causes me to develop an extension. Because it is not currently possible to have it as open source; I just wanted to share my learning journey within this simple extension.

  • Also check these resources to deep dive into VS Code Extension development
    • https://code.visualstudio.com/api/get-started/your-first-extension
    • https://code.visualstudio.com/api/extension-guides/webview
    • https://github.com/microsoft/vscode-extension-samples

Features

  • Displays currently playing song in Explorer view
  • Displays recent listened tracks in Explorer view as WebView

Requirements

  • Idea about Last.fm
    • If you are not integrating your music player(Ex: Spotify) with Last.fm as an user, this extension won't help you for anything, then maybe just helps you to learn how to develop a better VS Code extension.
    • So you need Last.fm account and API key, please check here

Extension Settings

This extension has the following settings:

  • lastfm.view.username: username for Last.fm account
  • lastfm.view.apiKey: API key to access Last.fm APIs

These settings can be set with Init command of the extension

username

Known Issues

  • If Last.fm username is changed for extension VS Code instance should be restarted.

Release Notes

1.0.0

  • Initial release

Following extension guidelines

I hope this repo. helps you to start your journey to create great extensions. To have more solid knowledge about VS Code extensions please also check and follow the following guidelines;

  • Extension Guidelines

Enjoy, happy coding!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft