Skip to content
LMS SLIM Framework & Perl Snippet Extension for VSCode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

LMS Slim Snippets

Snippets for Logitech Media Server dev, provides both perl and html snippets to help with common slim dev tasks.


Type cmd + shift + p to launch command palette and choose Extensions: Install Extension. Search for lms slim snippets and install.

Installation link (if your are not seeing this from inside VSCode):


Below is a list of all available snippets and the triggers of each one. The means the TAB key.

Slim Perl

Trigger Content
slimloguse⇥ import slim log
slimloginit⇥ init the log
slimlogdebug⇥ create a debug log
slimloginfo⇥ create an info log
slimlogwarn⇥ create a warning log
slimlogerror⇥ create an error log


Trigger Content
slimsettingtitle⇥ create a title wrapper
slimsettinginputtext⇥ create a text input wrapper
slimsettinginputcheckbox⇥ creates a checkbox wrapper


Trigger Content
if⇥ creates an if block
for⇥ creates a for block
argsclass⇥ creates class method arguments
argsobject⇥ creates object arguments


If you want to add/modify snippets you can find this extension in

  • Windows %USERPROFILE%\.vscode\extensions\codechimp.lmsslim-snippets-VERSION
  • macOS ~/.vscode/extensions/codechimp.lmsslim-snippets-VERSION
  • Linux ~/.vscode/extensions/lcodechimp.lmsslim-snippets-VERSION

Within the snippets folder modify the appropriate json file and reload VSCode to pick up the changes.

If your change is useful to others then consider a pull request to get it added to this extension, you can find the source repository at

Release Notes


Initial release

You can’t perform that action at this time.