Annonce ToutSurTout

Bienvenue sur toutsurtout.biz

Déjà 16 ans !

Radio TST

Si vous souhaitez participer vous aussi aux discussions sur le forum, il faut vous inscrire ou vous identifier.

Le Thème TST Halloween est maintenant en place.

Les inscriptions sont actuellement OUVERTES.
  • Accueil forums
  •  » Tutoriels
  •  » Notepad++ : Définir automatiquement la mise en forme du langage HTML aux fichiers PHP

Message 1 Discussion postée le 12-05-2022 à 21:23:14

Loic
Avatar de Loic


Titre: Administrateur d'élite
Avancement: Niveau 5
Lieu: Avec Solenne
Date d'inscription: 26-09-2009
Messages: 113 030
Site web

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.


http://www.toutsurtout.biz/img/UserBarTST.gif
http://www.toutsurtout.biz/img/Sign-Loic.gif
Loic DL un jour, Loic DL toujours ...
 

  • Accueil forums
  •  » Tutoriels
  •  » Notepad++ : Définir automatiquement la mise en forme du langage HTML aux fichiers PHP