Skip to content

Feature/more background repeat #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log
All notable changes to the "L13 CSS Snippets" extension will be documented in this file.
All notable changes to the "CSS Snippets" extension will be documented in this file.

## [0.15.0] - 2020-07-05

### Added
- Added values `round` and `space` for `background-repeat`.

### Changed
- Changed display name from `L13 CSS Snippets` to `CSS and SCSS Snippets`.

## [0.14.1] - 2020-04-19

Expand Down
2 changes: 1 addition & 1 deletion LICENCE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2019 L13|RARY
Copyright (c) 2019 - 2020 L13|RARY

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# L13 CSS and SCSS Snippets
# CSS and SCSS Snippets

This extension contains property snippets for CSS and rule snippets for SCSS.

This extension is part of the [L13 Extension Pack](https://marketplace.visualstudio.com/items?itemName=L13RARY.l13-extension-pack).
## What's new in CSS Snippets 0.15.0

## What's new in L13 CSS Snippets 0.14.1

- Fixed tab stop in `background-position: 0 0;`
- Added values `round` and `space` for `background-repeat`.

## Index

1. [Introduction](#Introduction)
1. [Introduction](#introduction)
1. [Shortcut rules for CSS snippets](#shortcut-rules-for-css-snippets)
1. [Shortcut rules for SCSS snippets](#shortcut-rules-for-scss-snippets)
1. [Recommended Settings](#recommended-settings)
1. [Recommended Keyboard Shortcuts](#recommended-keyboard-shortcuts)
1. [Recommended Extensions](#recommended-extensions)

## Introduction

Expand Down Expand Up @@ -145,4 +144,8 @@ Please have the following keyboard shortcuts always in mind, because these are f
* `Tab` - Jump to the next tab stop of the snippet.
* `DownArrow` - Move the caret down one line.
* `Ctrl + Enter` - Insert line below, even if the caret is in the middle of a line.
* `Ctrl + Shift + Enter` - Insert line above, even if the caret is in the middle of a line.
* `Ctrl + Shift + Enter` - Insert line above, even if the caret is in the middle of a line.

## Recommended Extensions

- [Extension Pack](https://marketplace.visualstudio.com/items?itemName=L13RARY.l13-extension-pack)
4 changes: 4 additions & 0 deletions SNIPPETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,12 @@ Complete list of all CSS and SCSS snippets for Visual Studio Code. The rules for
| `bprt` | `background-position: right top;` |
| `brnr` | `background-repeat: no-repeat;` |
| `brr` | `background-repeat: repeat;` |
| `brr` | `background-repeat: round;` |
| `brrs` | `background-repeat: round space;` |
| `brrx` | `background-repeat: repeat-x;` |
| `brry` | `background-repeat: repeat-y;` |
| `brs` | `background-repeat: space;` |
| `brsr` | `background-repeat: space round;` |
| `-bs2` | `-moz-background-size: ${1:0} ${0:0}; -o-background-size: ${1:0} ${0:0}; -webkit-background-size: ${1:0} ${0:0}; background-size: ${1:0} ${0:0};` |
| `bs2` | `background-size: ${1:0} ${0:0};` |
| `-bsa` | `-moz-background-size: auto; -o-background-size: auto; -webkit-background-size: auto; background-size: auto;` |
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "l13-css-snippets",
"displayName": "L13 CSS Snippets",
"displayName": "CSS and SCSS Snippets",
"description": "Snippets for CSS and SCSS",
"version": "0.14.1",
"version": "0.15.0",
"publisher": "L13RARY",
"preview": true,
"license": "SEE LICENCE IN LICENCE.md",
"homepage": "https://github.com/l13/vscode-css-snippets/blob/master/README.md",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions snippets/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,12 @@

"background-repeat: no-repeat;": { "prefix": "brnr", "body": ["background-repeat: no-repeat;"], "description": "" },
"background-repeat: repeat;": { "prefix": "brr", "body": ["background-repeat: repeat;"], "description": "" },
"background-repeat: round;": { "prefix": "brr", "body": ["background-repeat: round;"], "description": "" },
"background-repeat: round space;": { "prefix": "brrs", "body": ["background-repeat: round space;"], "description": "" },
"background-repeat: repeat-x;": { "prefix": "brrx", "body": ["background-repeat: repeat-x;"], "description": "" },
"background-repeat: repeat-y;": { "prefix": "brry", "body": ["background-repeat: repeat-y;"], "description": "" },
"background-repeat: space;": { "prefix": "brs", "body": ["background-repeat: space;"], "description": "" },
"background-repeat: space round;": { "prefix": "brsr", "body": ["background-repeat: space round;"], "description": "" },

"-prefix-background-size: 0 0;": { "prefix": "-bs2", "body": ["-moz-background-size: ${1:0} ${0:0};", "-o-background-size: ${1:0} ${0:0};", "-webkit-background-size: ${1:0} ${0:0};", "background-size: ${1:0} ${0:0};"], "description": "" },
"background-size: 0 0;": { "prefix": "bs2", "body": ["background-size: ${1:0} ${0:0};"], "description": "" },
Expand Down