Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
GAMBAS SOFT WARES 2 - Indenteur
indenter french software to ajust tabulation for the source code file.
French only, sorry...

INDENTEUR DE FICHIERS

indenteur.png
Indenter est l'action d'ajouter une tabulation au début de chaque fonction pour faciliter la lisibilité du code. C'est une très bonne habitude à prendre.
Mais pour ceux qui ne l'on pas déjà fait, voici une contribution sympa qui indentera automatiquement votre code.

TELECHARGER LE FICHIER

new update here

Creation date : 23/02/2010 @ 10:32
Last update : 17/02/2022 @ 00:21
Category : GAMBAS SOFT WARES 2
Page read 4925 times


Print the article Print the article


react.gifReactions to this article


Reaction #3 

by Bernard 01/03/2010 @ 22:17

Et  mes amitiés à toi aussi Taoteblues

Reaction #2 

by Bernard 01/03/2010 @ 19:00

Merci de tes conseils, j'en prends bonne note.
Je me suis aperçu qu'il y a une erreur d'indentation au niveau des 'ELSE', j'envoie une mise à jour à sphéris dès que je l'ai corrigé

Reaction #1 

by taoteblues 28/02/2010 @ 20:49

Merci pour ta participation.
J'adore ce type de programme.

Si je peux me permettre, j'ai deux petites remarques:
1) je faisais comme toi pour connaître le nom d'un dossier et d'un fichier mais il y a la formule magique : file,

  'reprendre dernier fichier
 ' i = RInStr(Settings["Fichiers/recent0"], "/")
 ' Dossier = Left$­(Settings["Fichiers/recent0"], i)
   Dossier = File.Dir(Settings["Fichiers/recent0"])
   Fichier = File.Name(Settings["Fichiers/recent0"])
   PRINT Dossier

2) J'ai ajouté dans mon settings la tabulation:

PRIVATE matab AS Integer

PUBLIC SUB Form_Open()
...
  matab = Settings["Tabulation", 2]
   SpinBox1.Value = matab
END

PUBLIC SUB Form_Close()
  ' on enregistre le dernier fichier
  IF FClass.Text <> "" THEN
  Settings["Fichiers/recent0"] = FClass.Text
  Settings["Tabulation"] = SpinBox1.Value
 
  ENDIF

Encore merci

Amitiés
taoteblues

QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^