add:添加一个vscode配置。
This commit is contained in:
parent
5dab2d65a2
commit
f885eeb8b1
40
.vscode/settings.json
vendored
Normal file
40
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"files.autoSave": "onFocusChange",
|
||||||
|
"editor.fontSize": 13,
|
||||||
|
"editor.fontFamily": "'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono', 'FiraCode Nerd Font Mono'",
|
||||||
|
"cmake.configureOnOpen": true,
|
||||||
|
"cmake.debugConfig": {
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "-gdb-set charset utf-8",
|
||||||
|
"text": "-gdb-set charset UTF-8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Enable gdb pretty-printing",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"args": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"cmake.environment": {
|
||||||
|
"PATH": "${env:PATH};D:/library/wxWidgets/lib/vc_x64_dll",
|
||||||
|
"LD_LIBRARY_PATH": "$LD_LIBRARY_PATH:"
|
||||||
|
},
|
||||||
|
// "cmake.configureSettings": {
|
||||||
|
// "CMAKE_TOOLCHAIN_FILE": "${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
||||||
|
// },
|
||||||
|
"cmake.options.statusBarVisibility": "visible",
|
||||||
|
"cmake.generator": "Ninja",
|
||||||
|
"C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json",
|
||||||
|
"C_Cpp.default.cppStandard": "c++17",
|
||||||
|
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
|
||||||
|
"editor.inlayHints.enabled": "off",
|
||||||
|
"editor.unicodeHighlight.allowedLocales": {
|
||||||
|
"ja": true,
|
||||||
|
"zh-hant": true,
|
||||||
|
"zh-hans": true
|
||||||
|
}
|
||||||
|
}
|
@ -48,7 +48,6 @@ std::list<wxString> CFunPack::parse_result(const wxArrayString& array)
|
|||||||
wxArrayString bk_arry = array;
|
wxArrayString bk_arry = array;
|
||||||
|
|
||||||
for (auto& data : bk_arry) {
|
for (auto& data : bk_arry) {
|
||||||
|
|
||||||
if (data.empty()) {
|
if (data.empty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -77,9 +76,7 @@ std::list<wxString> CFunPack::parse_result(const wxArrayString& array)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CFunInstall::CFunInstall() = default;
|
||||||
CFunInstall::CFunInstall()
|
|
||||||
= default;
|
|
||||||
|
|
||||||
bool CFunInstall::install(const wxString& file, const wxString& ico)
|
bool CFunInstall::install(const wxString& file, const wxString& ico)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user