IDE
大约 2 分钟
IDE (Integrated Development Environment) : 集成开发环境
reference
- zed 👉🏻 🐙
Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
- 轻灵编码
Lightly 轻灵编码,让写代码变得更简单
Font
- FiraCode
Free monospaced font with programming ligatures
# install
brew install --cask font-fira-code
Xcode
Xcode Snippets 占位符 :
<# summary #>
显示 Xcode 编译时间 :
$ defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES
Xcode 快捷键
快捷键 说明 Command + /
注释代码 Command + Option + [
代码向上移动一行 Command + Option + ]
代码向下移动一行 Command + [
代码向左移动 tab Command + ]
代码向右移动 tab Command + Option + <-
局部折叠代码块 Command + Option + ->
局部展开代码块 Command + Option + Shift + <-
全局折叠代码块 Command + Option + Shift + ->
全局展开代码库 Command + Ctrl + Shift + <-
折叠注释块 Command + Ctrl + Shift + ->
展开注释块
AndroidStudio
忽略对某个特定单词的拼写检查(
Typo
)在项目的根目录下建立一个名为
.idea/dictionaries
的目录(如果不存在)创建一个以字典的
xml
文件,比如dict.xml
将想要忽略检测的单词的加入字典单词
words
中<component name="ProjectDictionaryState"> <dictionary name="dict"> <words> <w>ogo</w> </words> </dictionary> </component>
JetBrains - IDEA
设置文件夹为资源文件夹 :
Project Settings -> Modules -> Sources
,可以设置(Mark as
)文件类型IDEA 控制台乱码
在 Configuration 中配置
- 方法一 :
Server -> VM options
设置为-Dfile.encoding=UTF-8
- 方法二 :
Startup/Connection -> Pass environment variables
添加JAVA_TOOL_OPTIONS
:-Dfile.encoding=UTF-8
- 方法一 :
IDEA 快捷键
快捷键 说明 double Shift
在项目目录的所有文件中查找 Command + F
在当前文件中查找 Command + Shift + F
在当前项目中查找包含查询内容的文件 Command + E
最近打开的文件 Option + F7
查询项目中,所有引用(类、函数、变量)的地方
JetBrains - PyCharm
- 关闭科学模式 (Scientific Mode)
View
->Scientific Mode
Preferences
->Tools
->Python Scientific
->Show plots in toolwindow