Frage zur IDE (automatische Kommentarzeile)



  • Hallo zusammen!

    Ich benutze seit laengerem Visual C++ 2008 Express, vorher VC++ 2005 Express.

    Meine Frage ist ob es nicht moeglich ist folgende Zeile z.B. per Shortcut automatisch einfuegen zu koennen:

    //--------------------------------------------------------------------
    

    Zweite Frage: ist es in VC++ moeglich beim erstellen einer neuen Header/Sourcedatei automatisch einen Absatz mit dem Dateinamen und dem Erstellungszeitpunkt einfuegen zu lassen, aehnlich wie z.B. bei KDevelop? Aehnlich wie folgendes:

    //----------------------------------------------------------------------------
    // Anti-Grain Geometry (AGG) - Version 2.5
    // A high quality rendering engine for C++
    // Copyright (C) 2002-2006 Maxim Shemanarev
    // Contact: mcseem@antigrain.com
    //          mcseemagg@yahoo.com
    //          http://antigrain.com
    // 
    // AGG is free software; you can redistribute it and/or
    // modify it under the terms of the GNU General Public License
    // as published by the Free Software Foundation; either version 2
    // of the License, or (at your option) any later version.
    // 
    // AGG is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU General Public License for more details.
    // 
    // You should have received a copy of the GNU General Public License
    // along with AGG; if not, write to the Free Software
    // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
    // MA 02110-1301, USA.
    //----------------------------------------------------------------------------
    

    Danke fuer jegliche Hilfe.

    Viele Gruesse
    Sven


  • Mod

    Puaschal geht das IMHO nicht aber über Visual Studio Templates müsste dies gehen:
    http://msdn2.microsoft.com/de-de/library/xsxc3ete(VS.80).aspx

    Das Du Dir selbst natürlich einen Makro Recorden kannst, der das auch macht ist hoffentlich klar...



  • Ich hab dafür Makros. 🙂


  • Mod

    estartu schrieb:

    Ich hab dafür Makros. 🙂

    Ich benutze VA-X Snippets... 😉



  • Martin Richter schrieb:

    estartu schrieb:

    Ich hab dafür Makros. 🙂

    Ich benutze VA-X Snippets... 😉

    Ich auch :D, einfach nur geil!



  • Danke fuer eure Antworten, werd mir das mal anschauen.

    Viele Gruesse


Anmelden zum Antworten