Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could anyone tell me how to go about editing the existing CSS and/or HTML autocomplete language in Notepad++? My Google-fu has let me down and I can't find an answer.

In essence, I want to add some CSS3 to the autocomplete and to edit some of the existing entries to suit my needs.

I'm using v.5.7 on Win7 btw.

share|improve this question

I think you can just add the relevant new keywords to the langs.xml file within the Notepad++ directory (back it up first, the usual warnings, etc). But, I believe this will do syntax highlighting only.

So, if you then go in to the plugins\APIs subdirectory you can edit the relevant .xml to also provide auto completion.

share|improve this answer
Many thanks, it worked perfectly. Please consider yourself draped in copious good karma. – JoeP Jul 24 '10 at 10:12
which is apparently better than getting the best answer. =P – John Oct 20 '11 at 23:36
@JoeP would you please mark this as the answer if you found it helpful :) I did +1 – Anagio Sep 22 '13 at 6:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.