📄 toggle devstudio scc.vbs
字号:
set shell = CreateObject("WScript.Shell")
key = "HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\ProviderRegKey"
currentSCCP = shell.RegRead(key)
if currentSCCP = Empty then
intButton = shell.Popup("Integration is currently disabled, enable it?", 0, "Visual Studio SourceSafe integration", 4 + 32)
if intButton = 6 then
shell.RegWrite key, "Software\Microsoft\SourceSafe"
shell.Popup "Integration is now enabled" + vbcrlf + "Visual Studio should now be restarted.", 5, "Visual Studio SourceSafe integration", 0
end if
else
intButton = shell.Popup("Integration is currently enabled, disable it?", 0, "Visual Studio SourceSafe integration", 4 + 32)
if intButton = 6 then
shell.RegWrite key, ""
shell.Popup "Integration is now disabled." + vbcrlf + "Visual Studio should now be restarted.", 5, "Visual Studio SourceSafe integration", 0
end if
end if
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -