prefrences->general->external compare tool->open script foder

新建一个bc.sh文件(名字可以任意,sh后缀即可)保存到打开的文件夹,写入:

#!/bin/bash
 
original_path="$1"
modified_path="$3"
 
/usr/local/bin/bcompare "$original_path" "$modified_path"

保存

使用命令 chmod 777 ...../bc.sh(....代表路径)让sh文件可以执行

在点击external compare tool

看到可以选择bc.sh即可

 

下次提交的时候,对着要比较的文件点击右键,选择用bc.sh对比即可

 

相关文章:

  • 2021-05-21
  • 2021-09-02
  • 2022-01-31
  • 2022-12-23
  • 2022-01-08
  • 2021-04-24
  • 2022-01-26
猜你喜欢
  • 2022-03-09
  • 2022-12-23
  • 2021-07-26
  • 2021-06-13
  • 2021-04-17
  • 2021-12-02
相关资源
相似解决方案