aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-11 01:50:56 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-11 01:50:56 +0200
commit09f9750fc49f94ad524669c7cda26f3154b88c47 (patch)
tree9b12087a65e6b3c92ab6b8518226d8ea2d760c40
parent10398290704e99a969aec921bb392af6552b383a (diff)
downloadsame-09f9750fc49f94ad524669c7cda26f3154b88c47.tar.gz
same-09f9750fc49f94ad524669c7cda26f3154b88c47.tar.bz2
same-09f9750fc49f94ad524669c7cda26f3154b88c47.zip
Add default vscode configurationHEADmain
-rw-r--r--.vscode/settings.json9
-rw-r--r--.vscode/typst.code-snippets29
2 files changed, 38 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..e723c04
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,9 @@
+{
+ "editor.formatOnSave": true,
+ "files.associations": {
+ "*.typ": "typst"
+ },
+ "[typst]": {
+ "editor.defaultFormatter": "nvarner.typst-lsp"
+ }
+}
diff --git a/.vscode/typst.code-snippets b/.vscode/typst.code-snippets
new file mode 100644
index 0000000..db6e071
--- /dev/null
+++ b/.vscode/typst.code-snippets
@@ -0,0 +1,29 @@
+{
+ "SPDX License Header": {
+ "scope": "typst",
+ "prefix": ["spdx", "header", "license"],
+ "description": "Insert SAME Ecosystem multi-scope SPDX license header",
+ "body": [
+ "// SAME Analog Modular Ecosystem",
+ "//",
+ "// / SPDX-FileCopyrightText: 2026 Denis Chevalier <perso@denischevalier.fr>",
+ "// / SPDX-License-Identifier: CC-BY-SA-4.0",
+ "// / SPDX-License-Identifier: CERN-OHL-S-2.0+",
+ "// / SPDX-License-Identifier: GPL-3.0-or-later",
+ "//",
+ "// The prose, explanatory text, rendered figures, tables, and mathematical",
+ "// content of this specification are licensed under CC BY-SA 4.0. If a later",
+ "// version of CC BY-SA is published, the author grants permission to distribute",
+ "// this work under that later version as well.",
+ "//",
+ "// Hardware designs contained herein (schematics, PCB layouts, mechanical",
+ "// drawings, and CAD models) are licensed under CERN-OHL-S-2.0+.",
+ "//",
+ "// All executable code, helper libraries (`lib/*`), metrology assertions, and",
+ "// embedded verification scripts throughout the source documents are licensed",
+ "// under the GNU General Public License v3.0 or later (GPL-3.0-or-later).",
+ "",
+ "$0"
+ ]
+ }
+}