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
- Displays currently playing song in Explorer view
- Displays recent listened tracks in Explorer view as WebView
- 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
This extension has the following settings:
lastfm.view.username
: username for Last.fm accountlastfm.view.apiKey
: API key to access Last.fm APIs
These settings can be set with Init command of the extension
- If Last.fm username is changed for extension VS Code instance should be restarted.
- Initial release
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;
Enjoy, happy coding!