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:
Daelon Suzuka
2022-05-08 14:47:53 -07:00
committed by GitHub
parent 1d76541f04
commit f860020c63
3 changed files with 1907 additions and 17 deletions

View File

@@ -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",