常用开发工具
tab键替换和去行尾空格配置
1.eclipse
1.1 eclipse保存时自动去除行尾空格的配置
Window->Preferences->Java->Editor->Save Actions->AddtionnalAction->Configuretion->Code Organizing->Remove trailing whitespace
1.2 eclipse tab键使用4个空格替换的配置
Window->Preferences->Java->Code Style->Formatter->Edit->Indentation->Tab policy 选择Spaces only,Tab size修改成4
2.Source Insight
ource Insight tab键使用4个空格替换的配置
Options->Document Options->Document Type选择Java Source File【有使用C++得也可以选】 ->勾选Expand tabs->Tab width修改成 4
Source Insight 保存时自动去除行尾空格的配置
Options->Perferences->Files-> Remove extra white space when saving
3.beyond compare
3.1 beyond compare tab键使用4个空格替换的配置
工具->文件格式->左侧窗口选择需要修改的文件格式(比如:Java源代码)->杂项(右侧第四个tab选项卡) -> 勾选 插入空格替换tab,并将制表位个数更改为4
3.2 beyond compare保存时自动去除行尾空格的配置
工具->文件格式->左侧窗口选择需要修改的文件格式(比如:Java源代码)->转换(右侧第二个tab选项卡)->勾选 当保存时 剪裁尾随空格。
3.3 如何忽略行尾unix/pc导致的差异
选择:比较内容--基于规则的比较
2.解压缩工具
1.winrarx64.exe
新版的解压缩工具支持格式比较多