Notepad++ Auto Completion Does Not Work

My Notepad++ autocompletion does not work properly.

I set Preferences > Auto-completion > HTML tags to be checked.

But nothing happens. After I typed both tags, say <h1></h1>, the color turns to purple. However, the second </h1> does not come up automatically.

Can anyone help fix this?

1

4 Answers

By default notepad++ and similar text editors autocomplete text using already entered earlier substrings. So next time you type your html tag there would be tooltip with autocompletion options. However you can enable expected behaviour by "teaching" notepad++ doing it.

Notepad++ wiki has article on autocompletion.

1

My Eureka Moment when I tried the following steps. Settings>Preferences>AutoCompletion> Check/Tick XML/HTML tags >Close. Next. Languages>H>HTML

Ultimately, I fixed the problem by discarding some plugins. It seems "TextFx Character" plugins conflicts with autocomplete, as it works after disabling it.

Don't know why...

1

There were multiple steps to get auto-completion to work - one was the Settings > Preferences > Auto-completion and click Enable auto-Completion and subsequently click the html/xml close tag (step 4):

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest