Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: setup project workspace for better DX (#1048)

Stephen Zhou94f97208e32f
diff --git a/.gitignore b/.gitignore
index dd6f9a35d..9b9885062 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,7 +15,4 @@ build
# Jetbrains
.idea
-# vscode
-.vscode
-
bin/air
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 000000000..1314c7af8
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,5 @@
+{
+ "recommendations": [
+ "golang.go"
+ ]
+}
diff --git a/.vscode/project.code-workspace b/.vscode/project.code-workspace
new file mode 100644
index 000000000..c7ce44429
--- /dev/null
+++ b/.vscode/project.code-workspace
@@ -0,0 +1,12 @@
+{
+ "folders": [
+ {
+ "name": "server",
+ "path": "../"
+ },
+ {
+ "name": "web",
+ "path": "../web"
+ },
+ ],
+}
diff --git a/web/.vscode/extensions.json b/web/.vscode/extensions.json
new file mode 100644
index 000000000..809e8c8fa
--- /dev/null
+++ b/web/.vscode/extensions.json
@@ -0,0 +1,8 @@
+{
+ "recommendations": [
+ "lokalise.i18n-ally",
+ "bradlc.vscode-tailwindcss",
+ "dbaeumer.vscode-eslint",
+ "csstools.postcss"
+ ]
+}
diff --git a/web/.vscode/settings.json b/web/.vscode/settings.json
index a604d6df3..e85bda74b 100644
--- a/web/.vscode/settings.json
+++ b/web/.vscode/settings.json
@@ -2,5 +2,8 @@
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
- }
+ },
+ "i18n-ally.localesPaths": [
+ "src/locales"
+ ]
}