Skip to content

Feature/display grid #12

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 4 commits into from
Mar 31, 2024
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
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
images/
out/
plugins/
scripts/
snippets/
tasks/
test/
.eslintrc.json
gulpfile.js
14 changes: 7 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
Expand Down Expand Up @@ -115,13 +114,13 @@
"error",
{
"selector": "default",
"format": [
"camelCase",
"PascalCase",
"UPPER_CASE"
],
"format": null,
"leadingUnderscore": "allow",
"trailingUnderscore": "forbid"
"trailingUnderscore": "forbid",
"custom": {
"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]+)+)$",
"match": true
}
}
],
"@typescript-eslint/no-dupe-class-members": "error",
Expand Down Expand Up @@ -156,6 +155,7 @@
],
"no-throw-literal": "off",
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
Expand Down
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
out
node_modules
*.vsix
*.vsix
test/
!src/test/
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
]
Expand Down
16 changes: 15 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,21 @@
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
// "preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
// "preLaunchTask": "npm: watch"
}
]
}
35 changes: 20 additions & 15 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,29 @@
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
"type": "gulp",
"task": "build & watch",
"problemMatcher": []
},
{
"type": "gulp",
"task": "build",
"problemMatcher": []
},
{
"type": "gulp",
"task": "watch",
"problemMatcher": []
},
{
"type": "gulp",
"task": "clean",
"problemMatcher": []
},
{
"type": "npm",
"script": "docs",
"problemMatcher": [],
"label": "npm: docs",
"detail": "node ./scripts/docs.js"
"script": "compile",
"problemMatcher": []
}
]
}
15 changes: 8 additions & 7 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
.vscode/**
.vscode-test/**
.gitattributes
.gitignore
.eslintignore
.eslintrc.json
tsconfig.json
plugins/**
scripts/**
src/**
tasks/**
test/**
tests/**
.eslintignore
.eslintrc.json
.gitignore
gulpfile.js
tsconfig.json
**/*.map
**/*.ts
**/*.ts
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# Change Log
All notable changes to the "CSS and SCSS Snippets" extension will be documented in this file.

## [0.18.0] - 2024-03-31

### Added
- Added `_` for child brace scope `& { ... }`.
- Added `__` for simple brace scope `#{}` in SCSS.
- Added `#{clipboard}` and `#{selection}` for keyboard shortcut usage.
- Added `grid` properties.
- Added `writing-mode` property.
- Added `isolation` property.
- Added `block` and `inline` properties for `border`, `margin` and `padding`.
- Added SCSS module functions.
- Added `$1`, `$d1` and `$g1` for SCSS variable declaration.
- Added `true`, `false` and `null` for SCSS.

### Changed
- Changed prefix for color from `_` to `#`.
- Simplified SCSS include.
- Strings are always single quote.
- Some fixes and clean up like simplified font.
- Eliminated a lot of duplicated prefixes with value selection.

### Removed
- Removed properties with prefixes.

## [0.17.0] - 2023-04-09

### Changed
Expand Down
Loading