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)
Forum Updated to NodeBB v4.3 + New Features

Assign Hotkey to paste predefined code? (QtCreator)

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 197 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.
  • P Offline
    P Offline
    pauledd
    wrote on 18 Nov 2019, 09:17 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.

    O 1 Reply Last reply 18 Nov 2019, 09:48
    0
    • P pauledd
      18 Nov 2019, 09:17

      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.

      O Offline
      O Offline
      ODБOï
      wrote on 18 Nov 2019, 09:48 last edited by
      #2

      @pauledd Hi
      you can create Macros

      1 Reply Last reply
      3
      • P Offline
        P Offline
        pauledd
        wrote on 18 Nov 2019, 10:21 last edited by
        #3

        Thanks, solved.

        1 Reply Last reply
        1

        1/3

        18 Nov 2019, 09:17

        • Login

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