ToutSurTout.biz
Notepad++ : Définir automatiquement la mise en forme du langage HTML aux fichiers PHP


https://www.world-lolo.com/images/uploads/image.num1652383443.of.world-lolo.com.jpg



Ouvrir C:\Users\Administrateur\AppData\Roaming\Notepad++

Ouvrir le fichier langs.xml

Chercher la ligne :

Code :

<Language name="html" ext="html htm shtml shtm xhtml xht hta" commentLine="" commentStart="&lt;!--" commentEnd="--&gt;">

La remplacer par :

Code :

<Language name="html" ext="html htm shtml shtm xhtml xht hta php" commentLine="" commentStart="&lt;!--" commentEnd="--&gt;">

Chercher la ligne :

Code :

<Language name="php" ext="php php3 php4 php5 phps phpt phtml" commentLine="//" commentStart="/*" commentEnd="*/">

La remplacer par :

Code :

<Language name="php" ext="php3 php4 php5 phps phpt phtml" commentLine="//" commentStart="/*" commentEnd="*/">

Fermer Notepad++ pour appliquer le changement.