Skip to content

Releases: huacnlee/autocorrect

v2.5.4

10 Dec 17:01
Compare
Choose a tag to compare

What's Changed

  • Fix color output lint result in CI browser (GitHub Actions, GitLab CI).
  • Fix diff color to use Ansi Color for more compatibility.

v2.5.2

29 Nov 05:11
Compare
Choose a tag to compare
  • Improve AsciiDoc parser for fix a lot of issues. #114
  • Fix autocorrect-java crash on call loadConfig on macOS x86_64.

Extensions Update

v2.5.1

24 Nov 12:08
Compare
Choose a tag to compare

🌈 VS Code plugin has been renamed to: huacnlee.autocorrect.
🚀 autocorrect-idea-plugin just updated, and add enableLint config to turn on/off lint.

New features

  • Add fileTypes config key for support customize file types mapping.
  • Add rule: no-space-fullwidth-quote for allows config keep or remove space around fullwidth quotes “”,
  • Add .asc as AsciiDoc.
  • Add .mdx as Markdown.
  • Add Rakefile, .gemspec, Profile as Ruby.

Bug fix

  • Fix halfwidth covert for escape quote when wrap has same quote.
  • Fix AsciiDoc issue that will lose the end char in mark.

v2.4.0

27 Oct 10:09
Compare
Choose a tag to compare
  • Add XML parser to support .xml files.
  • Add to support .kt, .gradle for fallback to use Koltin parser.
  • Add to support .proto file type for fallback to use Java parser.
  • Improve Markdown parser for supports paragraph in list. fix #107 @trdthg
  • Improve Markdown parser for identify list style (ul, ol, TODO).
  • Fix to ignore tags in Markdown #101 @ivaquero.

v2.3.2

25 Oct 07:32
Compare
Choose a tag to compare
  • Improve Markdown parser for nested parens in link #105
  • Avoid format inline code mark in Markdown, fix #106

v2.3.1

21 Oct 06:29
Compare
Choose a tag to compare
  • Avoid change halfwidth, when string have any code.

v2.3.0

21 Oct 05:15
Compare
Choose a tag to compare

New feature

  • Add to support correct full-width punctuations into half-width in english contents, rule: halfwidth-punctuation.
  • Split new rule space-bracket for config whether to add spaces around [], ().

autocorrect-2 3-halfwidth-punctuaction

Other changes

  • Improve Markdown parser details.
  • Rule halfwidth has removed, use halfwidth-word, halfwidth-punctuation instead.

新功能说明

  • 新增 halfwidth-punctuation 规则,现在可以检测在英文中的全角标点符号,转换为半角(新特性可以有效帮助我们就在英文文案里面的错误)。
  • 新增 space-bracket (这个是之前就有的仅仅拆分出来),决定是否在 []() 左右增加空格,以便于可以按需开关。

v2.2.0

19 Oct 12:03
Compare
Choose a tag to compare

New feature

Add textRules options for config some special words or texts to ignore.

For example we wants:

  • Hello世界 - To just give warning.
  • Hi你好 - To ignore.

Use can config in .autocorrectrc:

textRules:
  Hello世界: 2
  Hi你好: 0

After that, the AutoCorrect will follow your textRules to process.

v2.1.1

10 Oct 15:06
Compare
Choose a tag to compare
  • Fix previous version bug, disable halfwidth in english, that still have many bad case.

v2.1.0

10 Oct 12:24
Compare
Choose a tag to compare

New features

  • cli: Add --stdin option for allows read input from STDIN. #88 @TomBener

Fix

  • Fix #92 improve Objective-C, Swift for void format NSLocalizedString key.