mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3mobile wallpaper 4
295 字
1 分钟
开发工具推荐与效率软件
2025-06-03

一、代码编辑器#

1.1 VS Code 推荐配置#

// settings.json 推荐配置
{
"editor.fontSize": 14,
"editor.lineHeight": 24,
"editor.fontFamily": "JetBrains Mono, Consolas, monospace",
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "line",
"editor.formatOnSave": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "material-icon-theme",
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.git": true,
"**/node_modules": true
},
"terminal.integrated.fontSize": 13,
"terminal.integrated.shell.linux": "/bin/zsh"
}
插件名称功能必装程度
GitLensGit 增强
Error Lens错误高亮
GitHub CopilotAI 补全
Prettier代码格式化
ESLint代码检查
Docker容器管理

1.2 Vim 高效操作#

" .vimrc 推荐配置
set number
set relativenumber
set cursorline
set hlsearch
set incsearch
set ignorecase
set smartcase
" 快捷键映射
let mapleader = " "
nnoremap <leader>w :w<cr>
nnoremap <leader>q :q<cr>
nnoremap <leader>s :sp<cr>
nnoremap <leader>v :vsp<cr>
" 快速导航
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l

二、终端配置#

2.1 Zsh + Oh My Zsh#

# 安装 Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# 推荐插件
plugins=(
git # Git 别名
docker # Docker 补全
kubectl # K8s 补全
zsh-autosuggestions # 自动建议
zsh-syntax-highlighting # 语法高亮
fzf # 模糊搜索
)

2.2 Tmux 配置#

.tmux.conf
# 快捷键前缀
unbind C-b
set -g prefix C-a
# 鼠标支持
set -g mouse on
# 窗格快捷键
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# 重新加载配置
bind r source-file ~/.tmux.conf
# 分屏
bind | split-window -h
bind - split-window -v

| Tmux 命令 | 功能 | | --------- | -------- | -------- | | C-a d | 断开会话 | | C-a c | 新建窗口 | | C-a | | 水平分屏 | | C-a - | 垂直分屏 | | C-a o | 切换窗格 |

三、版本控制#

3.1 Git 别名#

~/.gitconfig
[alias]
# 简洁日志
lg = log --oneline --graph --all
lga = log --oneline --graph --all --decorate
# 快速暂存
co = checkout
br = branch
st = status -sb
ci = commit
# 撤销
unstage = reset HEAD --
discard = checkout --
# 差异
di = diff
dic = diff --cached

3.2 Git 钩子#

.git/hooks/commit-msg
#!/bin/bash
commit_msg=$(cat "$1")
max_length=72
if [ ${#commit_msg} -gt $max_length ]; then
echo "提交信息超过 $max_length 字符"
exit 1
fi
# 强制Conventional Commits格式
if ! echo "$commit_msg" | grep -qE "^(feat|fix|docs|style|refactor|test|chore)"; then
echo "提交类型必须是 feat|fix|docs|style|refactor|test|chore"
exit 1
fi

四、笔记工具#

4.1 Obsidian 推荐配置#

# obsidian.yml 核心配置
core:
defaultViewMode: "source"
showInlineTitle: true
showLineNumber: true
editor:
codeTabSize: 4
highlightIndentGuides: true
plugins:
- calendar
- todoist-plugin
- dataview
- quickadd
插件功能推荐度
Dataview查询笔记
Templater模板生成
Git版本控制
Excalidraw白板绘图

4.2 VS Code Notebooks#

# Python notebook 示例
# %%
import pandas as pd
import numpy as np
# 数据处理
# %%
df = pd.read_csv("data.csv")
df.info()
# %%
df.describe()

五、协作工具#

5.1 即时协作#

工具特点适用场景
Slack频道组织团队沟通
Discord语音频道开发者社区
Lark文档协作企业办公
Telegram群组机器人开源社区

5.2 项目管理#

# GitHub Projects 看板自动化
name: 自动看板
on:
issues:
types: [opened, closed, labeled]
jobs:
automate:
runs-on: ubuntu-latest
steps:
- name: Move to board
uses: actions/github-actions/move-selected-issues@v3
with:
column: ${{ github.event.label.name }}

六、总结#

graph TB A["开发效率工具"] --> B["编辑器"] A --> C["终端"] A --> D["版本控制"] A --> E["笔记工具"] A --> F["协作平台"] B --> B1["VS Code"] B --> B2["Vim/Neovim"] C --> C1["Zsh/Oh My Zsh"] C --> C2["Tmux"] D --> D1["Git"] D --> D2["GitHub/GitLab"] E --> E1["Obsidian"] E --> E2["Notion"] F --> F1["Slack/Lark"] F --> F2["Linear/Jira"]

工具选择原则

  • 自动化一切可自动化的
  • 使用快捷键减少鼠标操作
  • 保持工具链一致性
  • 定期清理和优化配置

支持与分享

如果这篇文章对你有帮助,欢迎支持作者或分享给更多人

开发工具推荐与效率软件
https://blog.souloss.com/posts/pref/development-tools-recommendation/
作者
Souloss
发布于
2025-06-03
许可协议
CC BY-NC-SA 4.0

部分信息可能已经过时