https://github.com/andrew-codechimp/vscode-lmsslim-snippets
LMS SLIM Framework & Perl Snippet Extension for VSCode
https://github.com/andrew-codechimp/vscode-lmsslim-snippets
published snippets vscode-extension vscode-snippets
Last synced: 8 months ago
JSON representation
LMS SLIM Framework & Perl Snippet Extension for VSCode
- Host: GitHub
- URL: https://github.com/andrew-codechimp/vscode-lmsslim-snippets
- Owner: andrew-codechimp
- License: unlicense
- Created: 2019-09-03T13:05:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-03T10:03:50.000Z (9 months ago)
- Last Synced: 2025-10-02T00:33:39.673Z (8 months ago)
- Topics: published, snippets, vscode-extension, vscode-snippets
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LMS Slim Snippets
Snippets for Lyrion Media Server (formerly Logitech Media Server) dev, provides both perl and html snippets to help with common slim dev tasks.
## Installation
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): https://marketplace.visualstudio.com/items?itemName=codechimp.lmsslim-snippets
## Snippets
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 |
### Slim HTML
| Trigger | Content |
| --------------------------- | --------------------------- |
| `slimsettingtitle⇥` | create a title wrapper |
| `slimsettinginputtext⇥` | create a text input wrapper |
| `slimsettinginputcheckbox⇥` | creates a checkbox wrapper |
### Perl
| Trigger | Content |
| ------------- | ------------------------------ |
| `if⇥` | creates an if block |
| `for⇥` | creates a for block |
| `argsclass⇥` | creates class method arguments |
| `argsobject⇥` | creates object arguments |
## Modifying
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 https://github.com/andrew-codechimp/vscode-lmsslim-snippets
## Release Notes
### 1.0.1
Rename to Lyrion
### 1.0.0
Initial release