summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /.vscode
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json26
-rw-r--r--.vscode/tasks.json163
2 files changed, 189 insertions, 0 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000000..863979c0be
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,26 @@
+{
+ // See http://go.microsoft.com/fwlink/?LinkId=827846
+ // for the documentation about the extensions.json format
+ "recommendations": [
+ // Trim only touched lines.
+ "NathanRidley.autotrim",
+ // ESLint support.
+ "dbaeumer.vscode-eslint",
+ // Prettier support.
+ "esbenp.prettier-vscode",
+ // C/C++ language support with clangd
+ "llvm-vs-code-extensions.vscode-clangd",
+ // Provides support for rust-analyzer: novel LSP server for the Rust programming language.
+ "rust-lang.rust-analyzer",
+ // CSS support for HTML documents.
+ "ecmel.vscode-html-css",
+ // Web app and extension debugging.
+ "firefox-devtools.vscode-firefox-debug",
+ // IDL language support
+ "mythmon.idl",
+ // Mercurial support
+ "mrcrowl.hg",
+ // VSCode Remote Development over SSH
+ "ms-vscode-remote.remote-ssh",
+ ]
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000000..d99fb07924
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,163 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "type": "shell",
+ "command": "${workspaceFolder}/mach",
+ "args": ["--log-no-times"],
+ "windows": {
+ // Not using ${workspaceFolder} because doing so somehow runs
+ // the command on a new window instead of within the vscode terminal
+ "command": "./mach"
+ },
+ "tasks": [
+ {
+ "label": "clobber",
+ "args": ["clobber"],
+ "problemMatcher": []
+ },
+ {
+ "label": "clobber-python",
+ "args": ["clobber", "python"],
+ "problemMatcher": []
+ },
+ {
+ "label": "configure",
+ "args": ["configure"],
+ "problemMatcher": []
+ },
+ {
+ "label": "build",
+ "args": ["build"],
+ "problemMatcher": {
+ "owner": "cpp",
+ "fileLocation": "absolute",
+ "pattern": {
+ "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
+ "file": 1,
+ "line": 2,
+ "column": 3,
+ "severity": 4,
+ "message": 5
+ }
+ }
+ },
+ {
+ "label": "build-binaries",
+ "args": ["build", "binaries"],
+ "problemMatcher": {
+ "owner": "cpp",
+ "fileLocation": "absolute",
+ "pattern": {
+ "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
+ "file": 1,
+ "line": 2,
+ "column": 3,
+ "severity": 4,
+ "message": 5
+ }
+ },
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "build-faster",
+ "args": ["build", "faster"],
+ "problemMatcher": {
+ "owner": "cpp",
+ "fileLocation": "absolute",
+ "pattern": {
+ "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
+ "file": 1,
+ "line": 2,
+ "column": 3,
+ "severity": 4,
+ "message": 5
+ }
+ }
+ },
+ {
+ "label": "run",
+ "args": ["run", "-purgecaches"],
+ "problemMatcher": []
+ },
+ {
+ "label": "lint-wo",
+ "args": ["lint", "-wo"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "eslint",
+ "args": ["eslint", "${file}"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "eslint-fix",
+ "args": ["eslint", "--fix", "${file}"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "test",
+ "args": ["test", "${relativeFile}"],
+ "group":"test",
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "mochitest",
+ "args": ["mochitest", "${relativeFile}"],
+ "problemMatcher": {
+ "fileLocation": ["relative", "${workspaceFolder}"],
+ "pattern": {
+ "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
+ "severity": 1,
+ "file": 2,
+ "message": 3
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "reftest",
+ "args": ["reftest", "${relativeFile}"],
+ "problemMatcher": {
+ "fileLocation": ["absolute"],
+ "pattern": {
+ "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
+ "severity": 1,
+ "file": 2,
+ "message": 3
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "xpcshell-test",
+ "args": ["xpcshell-test", "${relativeFile}", "--sequential"],
+ "problemMatcher": {
+ "fileLocation": ["relative", "${workspaceFolder}"],
+ "pattern": {
+ "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
+ "severity": 1,
+ "file": 2,
+ "location": 3,
+ "message": 4
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ }
+ ]
+}