Skip to content

Commit

Permalink
view container + syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstephens committed Dec 27, 2024
1 parent 5261c27 commit e6f5d6c
Show file tree
Hide file tree
Showing 13 changed files with 407 additions and 207 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ hidden
.vs
**/*.ilk
**/*.pdb
.vscode/ipch/
18 changes: 18 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,25 @@
"cppStandard": "c++17",
"intelliSenseMode": "windows-clang-x64",
"configurationProvider": "ms-vscode.cmake-tools"
},
{
"name": "Process",
"includePath": [
"${workspaceFolder}/**",
"src\\process\\node-v20.15.1\\include\\node",
"C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt"
],
"defines": [
"_DEBUG"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\Llvm\\x64\\bin\\clang-cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-clang-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}

],
"version": 4
}
11 changes: 10 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"trace": true,
"preLaunchTask": "npm: watch"
},
{
Expand All @@ -38,7 +39,15 @@
"name": "Attach Debugger",
"type":"cppvsdbg",
"request": "attach",
"processId":"${command:pickProcess}"
"processId":"${command:pickProcess}",
"sourceFileMap": {
"minkernel/crts/ucrt/src/appcrt": "C:/Program Files (x86)/Windows Kits/10/Source/10.0.22621.0/ucrt",
"minkernel/crts": "C:/Program Files (x86)/Windows Kits/10/Source/10.0.22621.0",
"VCCRT/vcruntime/inc": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/crt/src/vcruntime",
"D:\\a\\_work\\1\\s\\src\\vctools\\delayimp":"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\include",
"D:\\a\\_work\\1\\s\\src\\vctools\\crt\\vcstartup\\src\\misc": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\crt\\src\\vcruntime"

},
}

]
Expand Down
9 changes: 7 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
"ratio": "cpp",
"stop_token": "cpp",
"thread": "cpp",
"xhash": "cpp"
}
"xhash": "cpp",
"functional": "cpp",
"cstdarg": "cpp",
"mutex": "cpp",
"unordered_set": "cpp"
},
"svg.preview.background": "transparent"
}
140 changes: 75 additions & 65 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,79 +16,89 @@
"isDefault": true
}
},
{
"type": "npm",
"script": "compile",
"problemMatcher": ["$tsc"],
"label": "npm: compile"
},
{
"type": "shell",
"label": "Build reg.exe",
"command": "clang-cl",
"args": [
"-g",
"reg\\reg.cpp",
"-DUNICODE", "-D_UNICODE", "-DWIN32_LEAN_AND_MEAN",
"-o", "reg\\reg.exe",
"/MTd",
"/link", "advapi32.lib"
],
"problemMatcher": {
"owner": "cpp",
"type": "npm",
"script": "compile",
"problemMatcher": ["$tsc"],
"label": "npm: compile"
},
{
"type": "shell",
"label": "Build reg.exe",
"command": "clang-cl",
"args": [
"-g",
"reg\\reg.cpp",
"-DUNICODE", "-D_UNICODE", "-DWIN32_LEAN_AND_MEAN",
"-o", "reg\\reg.exe",
"/MTd",
"/link", "advapi32.lib"
],
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative", "${workspaceFolder}"
],
"pattern": {
"regexp": "(.*)\\((.*)\\) *: *(warning|error) *: *(.*)",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "Build Release reg.exe",
"command": "clang-cl",
"args": [
"reg\\reg.cpp",
"-DUNICODE", "-D_UNICODE", "-DWIN32_LEAN_AND_MEAN",
"-O2",
"-o", "reg\\reg.exe",
"/MD",
"/link", "advapi32.lib"
],
"problemMatcher": [
"$msCompile"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "prepublish",
"command": "git add . & npm version minor --force",
"problemMatcher": [],
"dependsOn": [
"npm: compile",
"Build Release reg.exe"
]
},
"pattern": {
"regexp": "(.*)\\((.*)\\) *: *(warning|error) *: *(.*)",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
},
"group": "build",
},
{
"type": "shell",
"label": "Build Release reg.exe",
"command": "clang-cl",
"args": [
"reg\\reg.cpp",
"-DUNICODE", "-D_UNICODE", "-DWIN32_LEAN_AND_MEAN",
"-O2",
"-o", "reg\\reg.exe",
"/MD",
"/link", "advapi32.lib"
],
"problemMatcher": [
"$msCompile"
],
"group": "build",
},

{
"type": "shell",
"label": "prepublish",
"command": "git add . & if not ${input:version}==none npm version ${input:version} --force",
"problemMatcher": [],
"dependsOn": [
"npm: compile",
"Build Release reg.exe"
]
},
{
"type": "shell",
"label": "PUBLISH",
"command": "node E:\\Github\\vscode-vsce\\vsce publish",
"problemMatcher": [],
"dependsOn": "prepublish"
},
{
"type": "shell",
"label": "PUBLISH",
"command": "vsce publish",
"label": "PACKAGE",
"command": "node E:\\Github\\vscode-vsce\\vsce package",
"problemMatcher": [],
"dependsOn": "prepublish"
}

],
"inputs": [
{
"id": "version",
"description": "Version bump:",
"type": "pickString",
"options": ["none", "patch", "minor", "major"],
"default": "none"
},
]
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"😀"
<span data-index="1"></span>
# Visual Studio Code Registry Editor

This extension adds a registry editor to the explorer, and general support for .reg files.
Expand Down Expand Up @@ -39,3 +41,4 @@ Exposes the following commands for inclusion in launch scripts, etc:
## Author
Adrian Stephens


Binary file added assets/Registry.psd
Binary file not shown.
117 changes: 117 additions & 0 deletions assets/Registry.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e6f5d6c

Please sign in to comment.