question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Word "I" not Capitalized when First Letter Capitalization Used

See original GitHub issue

Describe the Bug

“Headings should be formatted with capitalization” lowercases words that should always be capitalized when “First letter” is selected.

In practice, this may only mean the word “I”.

How to Reproduce

Steps to reproduce the behavior:

  1. Write a heading such as ### What did I learn?
  2. Lint
  3. The heading is changed to ### What did i learn?

Expected Behavior

No change, i.e.

### What did I learn?

Device

  • Desktop
  • Mobile

Additional Context

I realize I can add “I” to the list of ignored words, but I shouldn’t have to.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
pjkaufmancommented, Nov 29, 2022

Would it be a correct understanding to say that the ignored words would only affect “Title Case” and the capitalization of the first letter? That is to say it would not affect forcing all caps on the header. Or should ignore words affect all of the capitalization types for the heading rule?

So…I’m talking about “First letter,” not “Title Case.” “First letter” should not lowercase words that are always capitalized, such as “I.” It should also not lowercase any of the words in the “Ignore Words” list. The fix to my mind is to either make “Ignore Words” apply to “First letter” as well as “Title Case” (if that doesn’t cause other conflicts), or to create an “Uppercase Words” list that never get lowercased.

The best way to incorporate this would be to just use the same/similar logic under the hood for both of them. So using ignore words makes the most sense.

0reactions
pjkaufmancommented, Nov 30, 2022

This should be fixed on master now and it will go out with the next release. Please let us know if there is an issue with the change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Word is not capitalizing first letter of sentences
I'm trying to get Word to capitialize the first word of every sentence. It worked for me in previous versions of Word but...
Read more >
Word Won't Capitalize Some Sentences - Microsoft Word Tips
Word Won't Capitalize Some Sentences · Choose AutoCorrect from the Tools menu. · Click on the Exceptions button. · Make sure the First...
Read more >
How To Fix Not Capitalizing First Letter of Sentence ...
To Fix Not Capitalizing First Letter of Sentence Automatically in MS Word, follow these steps:Click “File”, then “Options”, then “Proofing”, ...
Read more >
Automatic Capitalization fixes in Word - Office Watch
Typing a word with the first two letters in uppercase is easily done by holding down the Shift key a little too long....
Read more >
How to Stop Microsoft Word From Capitalizing the First Letter ...
1. Click the “File” tab. · 2. Select “Options.” · 3. Click “Proofing.” · 4. Click “AutoCorrect Options.” · 5. Click the box...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found