mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-04 10:09:58 +03:00
Add context menu options to copy resource path (#357)
* Add feature * Fix "open_workspace_with_editor" command * Added option to tab title context menu * Add ability to get resource path using command palette * Update lockfile Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
23
package.json
23
package.json
@@ -92,6 +92,14 @@
|
||||
{
|
||||
"command": "godot-tool.set_scene_file",
|
||||
"title": "Set as Scene File"
|
||||
},
|
||||
{
|
||||
"command": "godot-tool.copy_resource_path_context",
|
||||
"title": "Copy Resource Path"
|
||||
},
|
||||
{
|
||||
"command": "godot-tool.copy_resource_path",
|
||||
"title": "Godot Tools: Copy Resource Path"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
@@ -188,7 +196,7 @@
|
||||
],
|
||||
"configuration": "./configurations/gdresource-configuration.json"
|
||||
},
|
||||
{
|
||||
{
|
||||
"id": "gdshader",
|
||||
"aliases": [
|
||||
"gdshader"
|
||||
@@ -197,7 +205,7 @@
|
||||
".gdshader"
|
||||
],
|
||||
"configuration": "./configurations/gdshader-configuration.json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
{
|
||||
@@ -351,6 +359,16 @@
|
||||
{
|
||||
"command": "godot-tool.set_scene_file",
|
||||
"group": "2_workspace"
|
||||
},
|
||||
{
|
||||
"command": "godot-tool.copy_resource_path_context",
|
||||
"group": "6_copypath"
|
||||
}
|
||||
],
|
||||
"editor/title/context": [
|
||||
{
|
||||
"command": "godot-tool.copy_resource_path_context",
|
||||
"group": "1_godot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -369,6 +387,7 @@
|
||||
"dependencies": {
|
||||
"await-notify": "^1.0.1",
|
||||
"global": "^4.4.0",
|
||||
"klaw": "^4.0.1",
|
||||
"marked": "^4.0.11",
|
||||
"net": "^1.0.2",
|
||||
"terminate": "^2.5.0",
|
||||
|
||||
Reference in New Issue
Block a user