记录下本菜鸟作为一个初级前端,当拿到一个新电脑的时候
windows terminal
terminal
是我个人比较喜欢的命令行工具,默认可以启动
cmd
,
powershell
,
Azure Cloud Shell
,
还可以自己添加配置,比如
git-bash
。
并且界面比较美观,可以看一下比原生的
cmd
或者
powershell
好看多了。
系统商店搜索
terminal
进行安装
powershell
直接运行脚本会报错
先通过管理员身份启动
powershell
然后执行
set-ExecutionPolicy RemoteSigned
来让
powershell
支持运行脚本。
Watt Toolkit
系统商店搜索
Watt Toolkit
,下载安装,勾选
github
然后点击加速就行了,这样就可以快速合法的访问
github
了。
谷歌浏览器
新电脑自带一个
edge
,虽说也是和谷歌一样的内核,但我更习惯用谷歌
安装后进行下列操作
设置浏览器显示最小字体,防止开发移动端时小字体显示出问题
把浏览器首页设置为 👉👉
流莺起始页
VisBug
Vue.js devtools
Code Cola
万能复制
(
Enable Copy
)
草料二维码
插件数不胜数,喜欢啥安装啥...
系统输入法不喜欢,安装个自己喜欢的,再换个皮肤,美滋滋。
vscode
👉👉
【图文并茂】六十多个 vscode 插件,助你打造最强编辑器
设置代码片段
"VUE3.0"
: {
"prefix"
:
"vv3"
,
"body"
: [
"<template>"
,
" <div>\n"
,
" </div>"
,
"</template>\n"
,
"<script lang='ts'>"
,
"import { defineComponent } from 'vue';\n"
,
"export default defineComponent({"
,
" name: '$1',"
,
" setup() {"
,
" return {};"
,
" },"
,
"});"
,
"</script>\n"
,
"<style lang='scss'>\n"
,
"</style>\n"
"description"
:
"Create vue template"
"VUE3setp"
: {
"prefix"
:
"v3set"
,
"body"
: [
"<template>"
,
" <div class=''>\n"
,
" </div>"
,
"</template>\n"
,
"<script lang='ts' setup>"
,
"</script>\n"
,
"<style lang='scss'>\n"
,
"</style>\n"
"description"
:
"Create vue template"
"fn"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"fn"
,
"body"
: [
"const $1 = ($2)=>{$3}"
"description"
:
"fn"
"refn"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"vref"
,
"body"
: [
"const $1 = ref($2)"
"description"
:
"vref"
"computedfn"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"vcomputed"
,
"body"
: [
"const $1 = computed(($2) => {"
,
"$3"
,
"description"
:
"vcomputed"
"port"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"port"
,
"body"
: [
"import $1 from '$2'"
"description"
:
"port"
"reactive"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"vreactive"
,
"body"
: [
"const state$1 = reactive({"
,
"$2"
,
"});"
"description"
:
"vreactive"
"Print to console"
: {
"scope"
:
"javascript,typescript"
,
"prefix"
:
"log"
,
"body"
: [
"console.log('🚀🚀~ $1:',$1);"
"description"
:
"Log output to console"
设置配置文件
👉👉
vscode默认设置
"workbench.iconTheme"
:
"vscode-great-icons"
,
"workbench.colorTheme"
:
"Community Material Theme Palenight High Contrast"
,
"editor.tokenColorCustomizations"
: {
"comments"
: {
"fontStyle"
:
""
,
"foreground"
:
"#08a43b"
,
"highlight-matching-tag.styles"
: {
"opening"
: {
"name"
: {
"underline"
:
"#fff"
,
"highlight"
:
"#08a43b"
"better-comments.tags"
: [
"tag"
:
"!"
,
"color"
:
"#FF2D00"
,
"strikethrough"
:
false
,
"underline"
:
false
,
"backgroundColor"
:
"transparent"
,
"bold"
:
false
,
"italic"
:
false
"tag"
:
"?"
,
"color"
:
"#3498DB"
,
"strikethrough"
:
false
,
"underline"
:
false
,
"backgroundColor"
:
"transparent"
,
"bold"
:
false
,
"italic"
:
false
"tag"
:
"//"
,
"color"
:
"#474747"
,
"strikethrough"
:
true
,
"underline"
:
false
,
"backgroundColor"
:
"transparent"
,
"bold"
:
false
,
"italic"
:
false
"tag"
:
"todo"
,
"color"
:
"#FF8C00"
,
"strikethrough"
:
false
,
"underline"
:
false
,
"backgroundColor"
:
"transparent"
,
"bold"
:
false
,
"italic"
:
false
"tag"
:
"*"
,
"color"
:
"#08a43b"
,
"strikethrough"
:
false
,
"underline"
:
false
,
"backgroundColor"
:
"transparent"
,
"bold"
:
false
,
"italic"
:
false
"html.format.indentHandlebars"
:
true
,
"html.format.indentInnerHtml"
:
true
,
"editor.formatOnPaste"
:
true
,
"editor.formatOnSave"
:
true
,
"editor.formatOnType"
:
true
,
"files.autoSave"
:
"onFocusChange"
,
"editor.tabSize"
:
2
,
"editor.mouseWheelZoom"
:
false
,
"editor.linkedEditing"
:
true
,
"editor.renderWhitespace"
:
"all"
,
"search.exclude"
: {
"**/node_modules"
:
true
,
"**/.history"
:
true
"editor.rulers"
: [
"editor.codeActionsOnSave"
: {
"source.fixAll.eslint"
:
true
"diffEditor.ignoreTrimWhitespace"
:
false
,
** 默认行尾字符。
** - \n: LF
** - \r\n: CRLF
** - auto: 使用具体操作系统规定的行末字符。
"files.eol"
:
"\n"
,
"[shellscript]"
: {
"files.eol"
:
"\n"
"security.workspace.trust.untrustedFiles"
:
"open"
,
"files.associations"
: {
"*.vue"
:
"vue"
,
".prettierrc.json"
:
"jsonc"
** 控制编辑器是否应运行在对屏幕阅读器进行优化的模式。
** - auto: 编辑器将使用平台 API 以检测是否附加了屏幕阅读器。
** - on: 编辑器将对屏幕阅读器的使用进行永久优化。
** - off: 编辑器将不再对屏幕阅读器的使用进行优化。
"editor.accessibilitySupport"
:
"off"
,
"explorer.confirmDelete"
:
true
,
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
,
"editor.definitionLinkOpensInPeek"
:
true
,
"editor.occurrencesHighlight"
:
false
,
"editor.renderLineHighlightOnlyWhenFocus"
:
true
,
"editor.renderControlCharacters"
:
true
,
"files.trimTrailingWhitespace"
:
true
,
"merge-conflict.autoNavigateNextConflict.enabled"
:
true
,
"emmet.triggerExpansionOnTab"
:
true
,
"html.format.wrapAttributes"
:
"force-aligned"
,
"[javascript]"
: {
"editor.defaultFormatter"
:
"vscode.typescript-language-features"
"[typescript]"
: {
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"[vue]"
: {
"editor.defaultFormatter"
:
"octref.vetur"
"[css]"
: {
"editor.defaultFormatter"
:
"vscode.css-language-features"
,
"[sass]"
: {
"editor.defaultFormatter"
:
"johnsoncodehk.volar"
,
"[scss]"
: {
"editor.defaultFormatter"
:
"vscode.css-language-features"
,
"[html]"
: {
"editor.defaultFormatter"
:
"vscode.html-language-features"
"[json]"
: {
"editor.defaultFormatter"
:
"vscode.json-language-features"
"[jsonc]"
: {
"editor.defaultFormatter"
:
"vscode.json-language-features"
"prettier.singleQuote"
:
true
,
"prettier.semi"
:
true
,
"prettier.tabWidth"
:
2
,
"prettier.trailingComma"
:
"all"
,
"prettier.bracketSpacing"
:
true
,
"prettier.arrowParens"
:
"always"
,
"terminal.integrated.allowMnemonics"
:
true
,
"terminal.integrated.automationShell.linux"
:
""
,
"eslint.validate"
: [
"javascript"
,
"javascriptreact"
,
"typescript"
,
"typescriptreact"
,
"vue"
,
"html"
,
"json"
"eslint.codeAction.showDocumentation"
: {
"enable"
:
true
"turboConsoleLog.logMessagePrefix"
:
"🚀🚀"
,
"turboConsoleLog.includeFileNameAndLineNum"
:
false
,
"turboConsoleLog.addSemicolonInTheEnd"
:
true
,
"turboConsoleLog.quote"
:
"'"
,
"turboConsoleLog.insertEnclosingFunction"
:
false
,
"fileheader.customMade"
: {
"Author"
:
"一尾流莺"
,
"Description"
:
""
,
"Date"
:
"Do not edit"
,
"LastEditTime"
:
"Do not edit"
,
"FilePath"
:
""
"fileheader.cursorMode"
: {
"description"
:
""
,
"param"
:
""
,
"return"
:
""
"vetur.format.defaultFormatterOptions"
: {
"js-beautify-html"
: {
"wrap_line_length"
:
999
,
"wrap_attributes"
:
"force-aligned"
,
"end_with_newline"
:
false
,
"indent_with_tabs"
:
false
"prettyhtml"
: {
"printWidth"
:
200
,
"singleQuote"
:
true
,
"wrapAttributes"
:
false
,
"sortAttributes"
:
false
"prettier"
: {
"semi"
:
false
,
"singleQuote"
:
true
,
"trailingComma"
:
"all"
"vetur.format.enable"
:
true
,
"vetur.format.defaultFormatter.js"
:
"prettier"
,
"vetur.format.defaultFormatter.html"
:
"js-beautify-html"
,
"vetur.format.defaultFormatter.css"
:
"prettier"
,
"vetur.format.defaultFormatter.scss"
:
"prettier"
,
"vetur.format.defaultFormatter.sass"
:
"sass-formatter"
,
"vetur.experimental.templateInterpolationService"
:
false
,
"typescript.tsdk"
:
"node_modules/typescript/lib"
,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions"
:
false
,
"javascript.format.insertSpaceBeforeFunctionParenthesis"
:
false
,
"vetur.validation.script"
:
false
,
"editor.gotoLocation.multipleTypeDefinitions"
:
"goto"
,
"editor.gotoLocation.multipleReferences"
:
"goto"
,
"editor.gotoLocation.multipleImplementations"
:
"goto"
,
"editor.gotoLocation.multipleDefinitions"
:
"goto"
,
"editor.gotoLocation.multipleDeclarations"
:
"goto"
,
"explorer.compactFolders"
:
false
,
"html.format.wrapLineLength"
:
0
,
"typescript.updateImportsOnFileMove.enabled"
:
"never"
,
"volar.codeLens.scriptSetupTools"
:
true
,
"volar.codeLens.pugTools"
:
true
,
"javascript.updateImportsOnFileMove.enabled"
:
"always"
,
"git.confirmSync"
:
false
,
"polacode.shadow"
:
"none"
,
"polacode.transparentBackground"
:
true
,
"cSpell.userWords"
: [
"maxlength"
git/svn
git
必装,
svn
取决于公司用不用。
包管理工具
不用全装,需要哪个装哪个
... ...
nodejs
nvm
版本管理,没装上,不装了😡😠😡
nrm
源管理工具
npm install -g nrm
nrm ls
nrm use taobao
nrm add ****
vue-cli
开发 vue
使用,公司的老工程还是需要的。
tree-cli
比系统自带的更好的生成目录树工具。
node-mon
开发 nodejs
项目必备,热启动。
Photoshop(切图仔必须)
pxcook(增强ps)
Fiddler EveryWhere(手机调试,选装)
Sourcetree/github desktop(代码管理)
switchHost(Host管理)
uTools(快捷工具)
Foxmail(邮箱管理)
xmind(思维导图)
wolai(笔记,中文低配版的nation)
微信/企业微信(摸鱼/工作)
ScreenToGif(录屏转gif)
闪电Gif制作软件
snipaste(截图软件)
酷狗/网易云/listen1 (摸鱼听歌)
apifox/postman (接口调试工具)
wps office(办公)
百度网盘/阿里网盘
Navicat(数据库)
sunlogin(远程操作)
nginx(前端)
mongodb compass(mongodb数据库专用)
Windows Terminal(增强版命令行工具)
Everything(文件查找)
WizTree(磁盘分析)
xyplorer(文件管理)