Add a VSCode workspace file.
It's currently only configured for editing the XML dialogs. Maybe someday it can be set up to actually build the game using scons.
This commit is contained in:
3
proj/vscode/.gitignore
vendored
Normal file
3
proj/vscode/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Folder local settings are ignored.
|
||||
# Settings that should be checked in should go in the workspace file.
|
||||
.vscode/settings.json
|
53
proj/vscode/oboe.code-workspace
Normal file
53
proj/vscode/oboe.code-workspace
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "../.."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"redhat.vscode-xml",
|
||||
"ms-vscode.cpptools",
|
||||
]
|
||||
},
|
||||
"settings": {
|
||||
"xml.fileAssociations": [
|
||||
{
|
||||
"pattern": "scenario.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/scenario.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "items.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/items.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "monsters.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/monsters.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "terrain.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/terrain.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "town\\d+.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/town.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "talk\\d+.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/dialogue.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "out\\d+~\\d+.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/outdoor.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "rsrc/dialogs/*.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/dialog.xsd"
|
||||
},
|
||||
{
|
||||
"pattern": "rsrc/scenarios/*/dialogs/*.xml",
|
||||
"systemId": "${workspaceFolder}/rsrc/schemas/dialog.xsd"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user