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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like