Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUrX committed Sep 1, 2021
2 parents 4d0c55d + 451d579 commit ad124d0
Show file tree
Hide file tree
Showing 12 changed files with 2,642 additions and 48 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ out
node_modules
*.vsix
*.sc
*.scl
*.scl

#testing/updating purposes

*.txt
*.py
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
"--extensionDevelopmentPath=${workspaceFolder}",
"--enable-proposed-api ImUrX.scarpet"
]
}
]
Expand Down
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ vsc-extension-quickstart.md
**/*.ts
*.vsix
*.sc
*.scl
*.scl
build/**
Binary file added assets/icons.woff
Binary file not shown.
Binary file added assets/scarpetIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions build/updateFont.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const webfontsGenerator = require('webfonts-generator');
const fs = require('fs');

const svgs = [
"scarpetFileIcon.svg"
];

webfontsGenerator({
files: svgs.map(i => `./icons/${i}`),
dest: './out/',
types: ['woff'],
fontName: 'icons',
css: false,
html: false,
startCodepoint: 0xE000

}, function(error) {
if (error) {
console.log('Font creation failed.', error);
return;
}
fs.copyFileSync('./out/icons.woff', './assets/icons.woff');
console.log('Font created at ./assets/icons.woff');
});
File renamed without changes
6 changes: 3 additions & 3 deletions language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"autoCloseBefore": ";:.,=}]s) \n\t",
"surroundingPairs": [
["(", ")"],
["'", "'"],
["[", "]"],
["{", "}"]
["{", "}"],
["'", "'"]
],
"folding": {
"markers": {
"start": "^\\s*\\(\\b",
"end": "^\\s*\\)\\b"
}
},
"wordPattern": "(-?\\d*\\.\\d+)|([^\\~\\:\\+\\-\\!\\^\\*\/\\%\\=\\<\\>\\&\\|\\;\\,\\(\\)\\'\\[\\]\\{\\}]+)",
"wordPattern": "(-?\\d*\\.\\d+)|([^~:+\\-!^*/%=<>&|;,()'[\\]{}\\s]+)",
}
Loading

0 comments on commit ad124d0

Please sign in to comment.