Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. International
  3. Italian
  4. [Qt Creator] Snippets
Qt 6.12 LTS is out! See what's new in the release blog

[Qt Creator] Snippets

Scheduled Pinned Locked Moved Italian
1 Posts 1 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Salve a tutti =)

    Allora, ho una domanda banale:
    In QtCreator, nella sezione relativa alla creazione segli Snippets (Tool -> Options -> Text Editor -> Snippets) è possibile creare proprio frammenti di codice in modo molto facile.
    Leggendo quelli di default ho costatato che e' possibile identificare sei settori i quali verranno evidenziati in fase di richiamo del frammento; Questi vengono raggruppati fra il simbolo del dollaro ( $ ), come in questo esempio:

    @template <typename $T$>
    class $name$
    {
    public:
    $name$() {}
    ~$name$()
    };@

    La mia domanda e': Dove posso trovare una guida di riferimento per questi identificatori? oppure esiste solo il dollaro?
    (francamente non avrei idea di cos'altro possa servire in tale utility, ma non si sa mai O.o )

    Ringrazio in anticipo per la risposta =)
    sciau

    Edit:
    Chiedo scusa per il post, ma ho risolto =X
    Comunque, magari puo' servire a qualcun'altro; Ecco il link di riferimento: "Qt Creator - Editing Code Snippets":http://doc.qt.nokia.com/qtcreator-2.4/creator-completing-code.html#editing-code-snippets

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved