Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Assign Hotkey to paste predefined code? (QtCreator)

Assign Hotkey to paste predefined code? (QtCreator)

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 191 Views
  • 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.
  • pauleddP Offline
    pauleddP Offline
    pauledd
    wrote on last edited by
    #1

    Hi

    Is it possible to assign a hotkey/key-combination to a custom code to paste
    into the editor?
    For example I want CTRL-SHIFT-D to insert "qDebug() << " at the current cursor position.

    ODБOïO 1 Reply Last reply
    0
    • pauleddP pauledd

      Hi

      Is it possible to assign a hotkey/key-combination to a custom code to paste
      into the editor?
      For example I want CTRL-SHIFT-D to insert "qDebug() << " at the current cursor position.

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @pauledd Hi
      you can create Macros

      1 Reply Last reply
      3
      • pauleddP Offline
        pauleddP Offline
        pauledd
        wrote on last edited by
        #3

        Thanks, solved.

        1 Reply Last reply
        1

        • Login

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