在C盘搜索WeappLocalData这个文件,我这里的路径为: C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\1a695ca2de1a85735f93a43fb366c83f\WeappLocalData ,
在这里新建一个文件 localstorage_b72da75d79277d2f5f9c30c9177be57e.json
文件内容为如下,直接复制即可。之后保存,打开微信开发者工具即可正常使用
{"show":false,"currentCategory":"proxy","compiler":{"clusterCompile":false,"autoPreview":false,"autoRemoteDebug":false},"general":{"openLastModifiedProject":true,"autoPreviewType":"mobile","autoRemoteDebugType":"mobile","maxLogLength":300,"enableNewFW":true,"enableGPU":false,"ignoreUnsafeProxy":false,"simulatorInfoBarQuickOpenFileExtention":"js","whenProjectCloseOpenProjectListWindow":true,"defaultWorkspace":"D:\\WeChatProjects","locale":"zh"},"appearance":{"theme":"dark","devtoolsTheme":"dark","fontFamily":"SF Mono","fontSize":12,"lineHeight":20,"simulatorAlignment":"left"},"edit":{"tabSize":2,"insertSpaces":true,"wrap":"off","minimap":false,"gitIgnoreWindowsReturn":true,"autoTypingsDetectEnabled":true,"alwaysOpenFileInNewTab":false,"autoSave":false,"autoRefresh":false,"saveBeforeCompile":false,"saveBeforePreview":false,"saveBeforeUpload":false},"proxy":{"proxyType":"SYSTEM","proxyHost":"127.0.0.1","proxyPort":"12639"},"notification":{"bbs":true,"sys":true,"alarm":true},"security":{"enableServicePort":true,"port":64751},"geo":{"enabled":false,"latitude":39.92,"longitude":116.46,"speed":-1,"accuracy":65,"altitude":0,"verticalAccuracy":65,"horizontalAccuracy":65},"shortcuts":{"_editingShortcuts":false,"toggleToolbar":{"modifiers":["cmd","shift"],"key":"T"},"toggleSimulatorWindow":{"modifiers":["cmd","alt"],"key":"S"},"toggleEditorWindow":{"modifiers":["cmd","shift"],"key":"E"},"toggleFileTree":{"modifiers":["cmd","shift"],"key":"M"},"toggleDebugWindow":{"key":"I","modifiers":["cmd","shift"]},"rebuild":{"key":"B","modifiers":["cmd"]},"format":{"key":"F","modifiers":["shift","alt"]},"refresh":{"key":"R","modifiers":["cmd"]},"toggleForegroundBackgroundStatus":{"key":"","modifiers":[]},"documentationSearch":{"key":"","modifiers":[]},"gotoFile":{"key":"P","modifiers":["cmd"]},"gotoRecentFile":{"key":"E","modifiers":["cmd"]},"preview":{"key":"P","modifiers":["shift","cmd"]},"upload":{"key":"U","modifiers":["shift","cmd"]}},"syncTime":1584263702017}