Skip to content

mac 开发环境

· 4 min

记录mac本常安装的开发软件和常用的软件,以及一些环境配置

开发#

chrome 插件#

chrome app#

vscode 插件#

Terminal#

环境#

npm 常用包#

日常软件#

usersetting.json#

{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Cobalt2",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": true,
"suppressShowKeyBindingsNotice": true
},
"explorer.confirmDelete": false,
"terminal.integrated.cursorBlinking": true,
"extensions.ignoreRecommendations": false,
"terminal.integrated.fontFamily": "Inconsolata for Powerline",
"editor.fontFamily": "Monaco",
"editor.fontSize": 16,
"editor.lineHeight": 25,
"editor.letterSpacing": 0.5,
"files.trimTrailingWhitespace": true,
"editor.fontWeight": "400",
"editor.cursorStyle": "line",
"editor.cursorWidth": 5,
"editor.cursorBlinking": "blink",
"vscode_custom_css.imports": ["file:///User/xiaojie/.vscodestyles.css"],
"editor.renderWhitespace": "none",
"window.zoomLevel": -2,
"gitlens.historyExplorer.enabled": true,
"workbench.startupEditor": "newUntitledFile",
"workbench.activityBar.visible": true,
"eslint.alwaysShowStatus": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.tabSize": 2,
"editor.detectIndentation": false,
"files.autoSave": "off",
"breadcrumbs.enabled": true,
"editor.minimap.enabled": true,
"editor.renderControlCharacters": true,
"gitlens.gitExplorer.files.layout": "list",
"better-comments.highlightPlainText": true,
"files.associations": {
"*.wpy": "vue"
}
}

.vscodestyles.css#

.monaco-shell {
font-family: 'Operator Mono', 'Inconsolata', monospace;
}
/* This makes the dirty tab circle yellow */
.vs-dark
.monaco-workbench
> .part.editor
> .content
> .one-editor-silo
> .container
> .title
.tabs-container
> .tab.dirty
.close-editor-action {
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' height='16' width='16'%3E%3Ccircle fill='%23ffc600' cx='8' cy='8' r='4'/%3E%3C/svg%3E")
50% no-repeat;
}
.monaco-workbench > .editor > .content > .one-editor-silo {
border-top: 1px solid #15232d !important;
}
.one-editor-silo + .one-editor-silo {
border-left: 1px solid #15232d !important;
}
/*
This puts a thin yellow border around the found items like Sublime did it
*/
.monaco-editor .findMatch,
.monaco-editor .selectionHighlight {
border: 1px solid #ffc600;
border-radius: 2px;
background: transparent;
}
/* This accounts for larger font cutting off - bump up 3px */
.monaco-workbench
> .activitybar
> .content
.monaco-action-bar
.badge
.badge-content {
top: 17px !important;
}

> cd ..