How do I edit or add to Notepad++ HTML/CSS autocomplete?

8,279

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:
8,279

Related videos on Youtube

jperala
Author by

jperala

Updated on September 17, 2022

Comments

  • jperala
    jperala over 1 year

    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.

  • jperala
    jperala almost 14 years
    Many thanks, it worked perfectly. Please consider yourself draped in copious good karma.
  • John
    John over 12 years
    which is apparently better than getting the best answer. =P
  • Natnael A.
    Natnael A. over 10 years
    @JoeP would you please mark this as the answer if you found it helpful :) I did +1