Releases: huacnlee/autocorrect
Releases · huacnlee/autocorrect
v2.5.4
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
- Improve AsciiDoc parser for fix a lot of issues. #114
- Fix autocorrect-java crash on call loadConfig on macOS x86_64.
Extensions Update
- VS Code Extension v2.5.2
- Intellij Platform Plugin v1.3.1 for fix plugin load will crash error on macOS x86_64. 🎉
v2.5.1
🌈 VS Code plugin has been renamed to: huacnlee.autocorrect.
🚀 autocorrect-idea-plugin just updated, and addenableLint
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
- 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
v2.3.1
- Avoid change halfwidth, when string have any code.
v2.3.0
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[]
,()
.
Other changes
- Improve Markdown parser details.
- Rule
halfwidth
has removed, usehalfwidth-word
,halfwidth-punctuation
instead.
新功能说明
- 新增
halfwidth-punctuation
规则,现在可以检测在英文中的全角标点符号,转换为半角(新特性可以有效帮助我们就在英文文案里面的错误)。 - 新增
space-bracket
(这个是之前就有的仅仅拆分出来),决定是否在[]
、()
左右增加空格,以便于可以按需开关。
v2.2.0
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
- Fix previous version bug, disable halfwidth in english, that still have many bad case.