Skip to content

Commit b582b76

Browse files
authored
Merge pull request #12 from L13/feature/display-grid
Feature/display grid
2 parents 9889586 + bf95eb2 commit b582b76

32 files changed

+14614
-3700
lines changed

.eslintignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
images/
44
out/
55
plugins/
6-
scripts/
6+
snippets/
7+
tasks/
8+
test/
9+
.eslintrc.json
10+
gulpfile.js

.eslintrc.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"env": {
3-
"browser": true,
43
"es6": true,
54
"node": true
65
},
@@ -115,13 +114,13 @@
115114
"error",
116115
{
117116
"selector": "default",
118-
"format": [
119-
"camelCase",
120-
"PascalCase",
121-
"UPPER_CASE"
122-
],
117+
"format": null,
123118
"leadingUnderscore": "allow",
124-
"trailingUnderscore": "forbid"
119+
"trailingUnderscore": "forbid",
120+
"custom": {
121+
"regex": "^(?:[A-Za-z](?:[A-Za-z0-9]+)*|[A-Z](?:[A-Z0-9]*?)(?:_[A-Z0-9]+)*|[A-Za-z][A-Za-z0-9]+(?:\\.[A-Za-z0-9]+)+|\\d+|(?:-[a-z0-9]+)+)$",
122+
"match": true
123+
}
125124
}
126125
],
127126
"@typescript-eslint/no-dupe-class-members": "error",
@@ -156,6 +155,7 @@
156155
],
157156
"no-throw-literal": "off",
158157
"@typescript-eslint/no-throw-literal": "error",
158+
"@typescript-eslint/no-unsafe-argument": "off",
159159
"@typescript-eslint/no-unsafe-assignment": "off",
160160
"@typescript-eslint/no-unsafe-member-access": "off",
161161
"@typescript-eslint/no-unsafe-return": "off",

.gitattributes

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
out
22
node_modules
3-
*.vsix
3+
*.vsix
4+
test/
5+
!src/test/

.vscode/extensions.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3-
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4-
5-
// List of extensions which should be recommended for users of this workspace.
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
64
"recommendations": [
75
"dbaeumer.vscode-eslint"
86
]

.vscode/launch.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,21 @@
1616
"outFiles": [
1717
"${workspaceFolder}/out/**/*.js"
1818
],
19-
"preLaunchTask": "npm: watch"
19+
// "preLaunchTask": "npm: watch"
20+
},
21+
{
22+
"name": "Extension Tests",
23+
"type": "extensionHost",
24+
"request": "launch",
25+
"runtimeExecutable": "${execPath}",
26+
"args": [
27+
"--extensionDevelopmentPath=${workspaceFolder}",
28+
"--extensionTestsPath=${workspaceFolder}/out/test"
29+
],
30+
"outFiles": [
31+
"${workspaceFolder}/out/test/**/*.js"
32+
],
33+
// "preLaunchTask": "npm: watch"
2034
}
2135
]
2236
}

.vscode/tasks.json

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,29 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
14-
"group": {
15-
"kind": "build",
16-
"isDefault": true
17-
}
7+
"type": "gulp",
8+
"task": "build & watch",
9+
"problemMatcher": []
10+
},
11+
{
12+
"type": "gulp",
13+
"task": "build",
14+
"problemMatcher": []
15+
},
16+
{
17+
"type": "gulp",
18+
"task": "watch",
19+
"problemMatcher": []
20+
},
21+
{
22+
"type": "gulp",
23+
"task": "clean",
24+
"problemMatcher": []
1825
},
1926
{
2027
"type": "npm",
21-
"script": "docs",
22-
"problemMatcher": [],
23-
"label": "npm: docs",
24-
"detail": "node ./scripts/docs.js"
28+
"script": "compile",
29+
"problemMatcher": []
2530
}
2631
]
2732
}

.vscodeignore

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
.vscode/**
22
.vscode-test/**
3-
.gitattributes
4-
.gitignore
5-
.eslintignore
6-
.eslintrc.json
7-
tsconfig.json
83
plugins/**
9-
scripts/**
104
src/**
5+
tasks/**
6+
test/**
117
tests/**
8+
.eslintignore
9+
.eslintrc.json
10+
.gitignore
11+
gulpfile.js
12+
tsconfig.json
1213
**/*.map
13-
**/*.ts
14+
**/*.ts

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# Change Log
22
All notable changes to the "CSS and SCSS Snippets" extension will be documented in this file.
33

4+
## [0.18.0] - 2024-03-31
5+
6+
### Added
7+
- Added `_` for child brace scope `& { ... }`.
8+
- Added `__` for simple brace scope `#{}` in SCSS.
9+
- Added `#{clipboard}` and `#{selection}` for keyboard shortcut usage.
10+
- Added `grid` properties.
11+
- Added `writing-mode` property.
12+
- Added `isolation` property.
13+
- Added `block` and `inline` properties for `border`, `margin` and `padding`.
14+
- Added SCSS module functions.
15+
- Added `$1`, `$d1` and `$g1` for SCSS variable declaration.
16+
- Added `true`, `false` and `null` for SCSS.
17+
18+
### Changed
19+
- Changed prefix for color from `_` to `#`.
20+
- Simplified SCSS include.
21+
- Strings are always single quote.
22+
- Some fixes and clean up like simplified font.
23+
- Eliminated a lot of duplicated prefixes with value selection.
24+
25+
### Removed
26+
- Removed properties with prefixes.
27+
428
## [0.17.0] - 2023-04-09
529

630
### Changed

0 commit comments

Comments
 (0)