-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tools - Add VS Code spell checking & recommended extensions #10781
base: master
Are you sure you want to change the base?
Conversation
{ | ||
"filename": "**/stringtable.xml", | ||
"includeRegExpList": [ | ||
"/<English>(.*)<\\/English>.*/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which flavor is this sentence ? I think (.*)
should be (.*?)
for fewer problems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming it's JS RegExp if the extension is written in TypeScript.
"/\\s*(\\* Author:).*/", // Ignore author names in header | ||
"/\\s*authors\\[\\]\\s*=\\s*{(.*)};.*/", // Ignore author names in CfgPatches | ||
"/\\s*author\\s*=.*/", // Ignore author in config | ||
"/.*((Amov)|(Ainj)|(Acin)|(Ainv)).+/", // Ignore animation names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have each part in parenthesis ? Also the starting A
doesn't need duplicating, I think.
"/.*((Amov)|(Ainj)|(Acin)|(Ainv)).+/", // Ignore animation names | |
"/.*A(mov|in[jv]|cin).+/", // Ignore animation names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is easier to read. I don't know if I like your edit.
Co-authored-by: Jouni Järvinen <[email protected]>
When merged this pull request will:
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.