标签: 开发工具
39 个内容
笔记(27)
**技术背景**:Gradle 项目依赖下载慢,常需配置国内镜像源加速。 **关键问题**:重复在每个项目 build.gradle 配置繁琐。 **主要方案**:优先修改全局 `~/.gradle/init.gradle`,添加阿里云镜像(如 public、google 等仓库);单项目则改 `settings.gradle` 配置 `pluginManagement` 和 `dependencyResolutionManagement`。验证:运行 `./gradlew build --info` 检查日志。
Antigravity 通过 **Rules / Directives** 实现类似 Cursor Rules 的功能,支持 Workspace 或 Agent 级自然语言规则设置,如代码风格、架构约定。 **关键问题**:从 `.cursorrules` 迁移需适配入口。 **方案**:复制内容至 Rules 编辑框,按用途拆分(如 Workspace 统一风格、Agent 专属编码/测试规则),提供细粒度控制。
JetBrains IDE 中 Git 操作缓慢的问题,表现为控制台 Git 命令速度正常,但 IDE 内操作耗时较长。解决方案是针对 Windows 11 系统,结束“MSCP Manager”进程(微软电脑管家),或禁用相关 PC 服务。
在 PowerShell 终端中使用 conda 命令,需先启动 Anaconda Powershell Prompt,然后执行 `conda init powershell` 初始化 PowerShell 环境,以便识别和使用 conda 命令。
GoLand通过Toolchains配置管理make等构建工具。Windows下需注意make路径优先级,推荐MSYS2并调整PATH。配置本质是工具路径查找表,多级fallback可能导致版本问题。跨平台配置需区分不同系统make版本。启用Verbose Build模式可调试构建细节。容器化方案可保证构建环境一致性。
本文档为正则表达式速查表,旨在提供常用的正则表达式语法和标志位参考。内容包括字符类、锚点、转义字符、分组与断言、量词与替换等。同时提供了常见用法示例,例如去除字符串首尾空格。
动态(12)
必不可少的两个 MCP Server
1claude mcp add --transport http deepwiki <a href="https://mcp.deepwiki.com/mcp">https://mcp.deepwiki.com/mcp</a>
2
3claude mcp add --transport http context7 <a href="https://mcp.context7.com/mcp">https://mcp.context7.com/mcp</a>只需要在 ~/.claude/settings.json 加入下面的配置,就可以看你 Claude Code 的实时消耗了
1{
2
3 "statusLine": {
4
5 "type": "command",
6
7 "command": "bun x ccusage statusline", // Use "npx -y ccusage statusline" if you prefer npm
8
9 "padding": 0 // Optional: set to 0 to let status line go to edge
10
11 }
12
13}https://github.com/easybangumiorg/EasyBangumi 动漫 https://github.com/mihonapp/mihon 漫画 https://github.com/aoaostar/legado 小说 https://github.com/MatsuriDayo/NekoBoxForAndroid 科学上网 https://github.com/gkd-kit/gkd 跳过广告 https://github.com/kkevsekk1/AutoX 自动任务 https://github.com/KDE/kdeconnect-android pc 连接工具 https://github.com/termux/termux-app shell 客户端 https://github.com/RikkaApps/Shizuku 免 root adb 工具
那些留在2023年的日子:四月
- GraphQL Server
- FFmpeg WASM
- MochiDiffusion
- stable-diffusion-webui
- Figma
- Maximum XOR of Two Numbers in an Array
- Proxy for Github Copilot