Skip to content

能够自动将全角中文标点(如中文逗号、分号、句号、引号等)替换为半角标点。该工具帮助开发者在编码时保持标点统一,无需频繁切换输入法。

License

Notifications You must be signed in to change notification settings

tlcsdm/eclipse-fixcnchar

Repository files navigation

Eclipse FixCNChar Eclipse Plugin

能够自动将全角中文标点(如中文逗号、分号、句号、引号等)替换为半角标点。该工具帮助开发者在编码时保持标点统一,无需频繁切换输入法。

Now Support Eclipse 2024-06 and later, Mac OS X, Linux (with nautilus) and Windows.

Features

  • 在 Eclipse 编辑器中输入时,自动将中文标点符号(, 。 ; : “ ” ‘ ’ ( ) 【 】 《 》)替换为英文符号。
  • 使用快捷键 Ctrl+Alt+R,可将选中内容中的中文标点一次性替换为英文标点。
  • 在 Preferences 中配置替换规则(中文 → 英文映射),满足个性化需求。
  • 在 Preferences 中可切换是否启用实时替换功能。
  • 所有替换操作均支持 Eclipse 的撤销/重做机制。

Use

Window -> Preferences -> General -> Fix Chinese Characters

screenshot

Build

This project uses Tycho with Maven to build. It requires Maven 3.9.0 or higher version.

Dev build:

mvn clean verify

Release build:

mvn clean org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.0.0 verify

Install

  1. Add https://raw.githubusercontent.com/tlcsdm/eclipse-fixcnchar/update_site/ as the upgrade location in Eclipse.
  2. Download from Jenkins
  3. ← Drag it to your eclipse workbench to install! (I recommand Main Toolbar as Drop Target)

About

能够自动将全角中文标点(如中文逗号、分号、句号、引号等)替换为半角标点。该工具帮助开发者在编码时保持标点统一,无需频繁切换输入法。

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages