Создайте файл vsCodeOpenFolder.reg с этим контентом (если вы не выбрали путь установки по умолчанию, вам необходимо настроить пути в этом файле):Windows Registry Editor Version 5.00 ; Open files [HKEY_CLASSES_ROOT\*\shell\Open with VS Code] @="Edit with VS Code" "Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0" [HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\"" ; This will make it appear when you right click ON a folder ; The "Icon" line can be removed if you don't want the icon to appear [HKEY_CLASSES_ROOT\Directory\shell\vscode] @="Open Folder as VS Code Project" "Icon"="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0" [HKEY_CLASSES_ROOT\Directory\shell\vscode\command] @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\"" ; This will make it appear when you right click INSIDE a folder ; The "Icon" line can be removed if you don't want the icon to appear [HKEY_CLASSES_ROOT\Directory\Background\shell\vscode] @="Open Folder as VS Code Project" "Icon"="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0" [HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%V\""
Дважды щелкните его, чтобы создать записи в реестре
Если "Открыть с кодом" не отображается в контекстном меню "Проводник", необходимо перезагрузить систему.
Если вы используете 64-битную или инсайдерскую версию VS Code, измените путь соответственно
mainFunc(rightElem).then(result => {
console.log("mainFunc", result)
});
$key = 'shipping_address';
$_arr1 = array_combine(array_column($arr1, $key), $arr1);
$result = [
...array_map(fn($n) => $n + ($_arr1[$n[$key]] ?? []), $arr2),
...array_diff_key($_arr1, array_combine(array_column($arr2, $key), $arr2))
];
sudo nano /etc/nginx/nginx.conf
article.post>.__header+.__content+.__footer|bem|jade
article.post
.post__header
.post__content
.post__footer
Preferences -> Package settings -> Emmet -> Settings - User
{
"syntaxProfiles": {
"html" : {
"filters" : "html, bem"
}
},
"preferences": {
"bem.elementSeparator":"__",
"bem.modifierSeparator":"--",
"bem.shortElementPrefix":"-"
}
}