Skip to content

Commit

Permalink
Add VSCode project files
Browse files Browse the repository at this point in the history
It doesn't look like there are any other IDE specific files
in this repo right now, but it might be nice to include these.
  • Loading branch information
addshore authored and benapetr committed Oct 25, 2024
1 parent be14628 commit 4f8c548
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/release/huggle/huggle",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"search.exclude": {
"huggle/": true
}
}
26 changes: 26 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Configure",
"type": "shell",
"command": "./configure --extension --web-engine"
},
{
"label": "Build release",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder}/release"
}
},
{
"label": "Install",
"type": "shell",
"command": "sudo make install && sudo ldconfig",
"options": {
"cwd": "${workspaceFolder}/release"
}
}
]
}

0 comments on commit 4f8c548

Please sign in to comment.