The Troll's factory

Geekeries & pensées
-->

Geany ajoute une ligne blanche à la fin du fichier // Comment s’en débarasser

Ce post sera également traduit en anglais afin de donner accès à cette ressource à nos amis internationaux :)

I will translate this post in english because geany is mostly used by international users, so we have not to forget ‘em :)

Si vous utilisez le très bon logiciel (IDE) Geany, vous aurez sans doute remarqué que par défaut, celui-ci ajoute une ligne blanche à la fin de votre fichier lorsque vous l’enregistrer… ce qui peut vite devenir insupportable quand on n’a rien demandé… et que ça nous emmerde bien !

If you are using the very nice software (IDE) Geany, you may have noticed that, by default, it adds a « line shift », or « new blank line » at the end of the current file when you save it… a feature that can become unbearable when it hasn’t been asked and… it finally hassle us !

En réalité, cet ajout de ligne est une « fonctionnalité » de Geany, et il suffit de la désactiver en se rendant dans les options de Geany :

1°) Aller dans le menu « Edition » puis faites « Préférences ».
2°) Sélectionnez l’onglet « Fichiers » à gauche
3°) Décochez la case « Nouvelle ligne en fin de fichier »

In deed, this blank line automatic add is a « feature » of Geany, and it can be disabled simply going in Geany’s settings :1°) go to « Edit » menu and select « Preferences »
2°) Click on the « Files » tab on the left
3°) uncheck « Ensure a new line at file end »

C’est fait ! Même pas besoin de redémarrer Geany !

Done ! You don’t even have to restart Geany ! Enjoy !

Share and Enjoy:
  • Print
  • PDF
  • Twitter
  • Facebook
  • LinkedIn
  • RSS
  • Wikio FR
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • Sphinn
  • Mixx
  • Add to favorites
  • Live
  • Netvibes
  • Scoopeo
  • viadeo FR
  • Identi.ca
  • MySpace
  • StumbleUpon
  • Yahoo! Buzz
posté par Troll dans astuces avec 6 commentaires

6 réponses à “Geany ajoute une ligne blanche à la fin du fichier // Comment s’en débarasser”

  1. […] Ce billet était mentionné sur Twitter par webdeux, OneCommunity et Geek Actu, Troll. Troll a dit: On the TrollFactory : Geany ajoute une ligne blanche à la fin du fichier // Comment s'en http://is.gd/bwyJf […]

  2. Sonja Bauman dit :

    If I had a dime for each time I came here! Amazing writing!

  3. David dit :

    Merci pour cette astuce. :)

  4. Troll dit :

    De rien David ;)

    N’hésites pas à la faire passer ;-)

    Ou à me suivre sur Twitter ;-)

  5. nsg dit :

    heu oui, mais ne serait-ce pas « Ensure new line at file end » / « Nouvelle ligne à la fin du fichier » qu’il faudrait plutôt décocher ? :-)

  6. Troll dit :

    Salut NSG !

    Comme quoi personne ne regarde les images :)

    Effectivement, une coquille s’est glissé là o_O

    C’est quand même étrange, comment est-ce que j’ai pu entourer le truc du dessous…

    Ou alors j’ai utilisé des calques qui se sont décalés :D

    En tout cas merci de l’avoir signalé, à très bientôt ;)

Poster un commentaire

Remplissez le formulaire suivant pour poster un message.
Nom
Email
Site internet
Votre commentaire