Skip to content

Commit

Permalink
hover stuff for extension
Browse files Browse the repository at this point in the history
  • Loading branch information
redaphid committed Jan 11, 2025
1 parent 91cadea commit 1011e12
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vscode-extension/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"type": "extensionHost",
"request": "launch",
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}",
"${workspaceFolder}/../shaders/glassy-field.frag"
],
Expand All @@ -16,7 +15,8 @@
},
"outFiles": [
"${workspaceFolder}/out/**/*.js"
]
],
"preLaunchTask": "npm: watch"
}
]
}
6 changes: 5 additions & 1 deletion vscode-extension/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"reveal": "always",
"panel": "new",
"clear": true,
"echo": true
"echo": true,
"focus": true
},
"runOptions": {
"runOn": "folderOpen"
},
"group": {
"kind": "build",
Expand Down
13 changes: 12 additions & 1 deletion vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@
"*.glsl": "paper-cranes-fragment-shader",
"*.crane": "paper-cranes-fragment-shader"
}
}
},
"commands": [
{
"command": "paper-cranes-fragment-shader.activate",
"title": "Activate Paper Cranes Shader"
}
]
},
"devDependencies": {
"@types/node": "^22.x",
Expand All @@ -75,5 +81,10 @@
],
"extensionDependencies": [
"slevesque.shader"
],
"activationEvents": [
"onLanguage:paper-cranes-fragment-shader",
"onCommand:paper-cranes-fragment-shader.activate",
"onStartupFinished"
]
}

0 comments on commit 1011e12

Please sign in to comment.