I'm a long term Rider, and Sublime Text user, so it's baffling my hands to switch from the more common CTRL + Left Click, to the VS Code style ALT + Left Click that the Godot text editor uses.

Looking through the input map shows me a lot of the carat shortcuts that I can change, but so far as I can see, it's the keyboard shortcut only ones, and as such seems not to include one for adding a carat at the current mouse cursor location.

Any help would be incredibly appreciated!

  • Toxe replied to this.

    schme16 Are you asking about the build-in Godot text editor or VSCode?

    Although to be honest, the real answer is: don't use the mouse at all, use the keyboard. I just had to check what Alt+Click even does in VSCode because I would never use the mouse to add multiple cursors/carets but only the keyboard.

      why not continue using sublime ride floyd or any of custom IDE's? YOu can open the gdscript gile in them make changes, save and then focus screen in godot and it ill update. Syntax highlighting? well there are workarounds for each IDE. Class lookup? Why not switch to a new window/desktop that has browser up and docs running and use search?

      I dont use keyboard only. My daily life does not rely on how many keystrokes i does.

      sometimes you got only one hand available when doing stuff on computer, so the mouse is the logical thing to use.

      Jeepytea says:

      As of Godot 4.x, the "Add Carat" shortcut (which allows for multiple carets or cursors in the script editor, useful for multi-cursor editing) can be customized through the Editor Settings. Here's how you can change it:


      ✅ Steps to Change "Add Carat" Shortcut in Godot Text Editor:

      1. Open Godot Editor.

      2. Go to the top menu and select:
        Editor → Editor Settings

      3. In the left panel, go to:
        Text Editor → Shortcuts

      4. Scroll down or search (using the search bar) for:
        add_caret_below or add_caret_above

        These are typically labeled:

        • add_caret_below – default: Ctrl + Alt + Down

        • add_caret_above – default: Ctrl + Alt + Up

      5. Click the shortcut entry (e.g. Ctrl + Alt + Down) next to add_caret_below.

      6. Press the new key combination you want to assign.

      7. Press OK to confirm.


      📝 Tips:

      • Be careful not to assign a shortcut that conflicts with existing OS-level shortcuts.
      • You can reset to default if needed using the reset icon next to the shortcut.

      Let me know if you're on Godot 3.x — the steps are slightly different.

        kuligs2 sometimes you got only one hand available when doing stuff on computer, so the mouse is the logical thing to use

        One usually does need two hands for Alt+Click.

          Toxe on binbows you can summon virtual keyboard, and do away with just mouse.

          Unfortunately there is no such thing on linux. Atleast not on KDE DE. There was one on GNOME maybe mint i forgor.

          Offtopic: IF someone knows "working" virtual keyboard for ARCH KDE @ me.

          • Toxe replied to this.

            kuligs2 I just did a quick "virtual keyboard for KDE" search and it seems to me that KDE either already has a virtual keyboard included or there is an addon for it.

              Toxe lies, it dont work. It works in certain cases and summons automatically on some apps but not others, and yeah, there are tons of "virtual keyboards" but none of them work like the one in windows, where you summon it and can use it. None of that - "it only works in text input fields" or deps are broken etc etc..
              The ones i tested dont work so that you can use it with just only mouse.

              Curious, whats the app name you found?

              • Toxe replied to this.

                kuligs2 Curious, whats the app name you found?

                This one, but looking at it closer this seems to be more like a Qt control and not a separate program.

                Toxe Godot text editor, but the Godot editor's defaults behave identically to the VSCode shortcuts, hence invoking its name.
                Unfortunately if there's several items spread across different, non-adjacent, non-aligned, lines it's not a simple click-click-click, with keyboard shortcuts you can't pick an arbitrary second carat location. I use the keyboard only shortcuts for all they can do, but they can't do what the alt+click does.

                kuligs2 Sublime is missing a lot of the nice IDE features that even the base Godot text editor has, particularly with function/method/property suggestion, as well as expected inputs for those functions/methods.
                And Although Rider has a lot of those features, I've found Godot to be a little clunky with external editors, with 4.4 and 4.4.1 I've had had errors occur due to Godot not syncing the changes, and worse, getting caught in an error state thinking the code was corrupted, and requiring a restart. I was going to give Rider another go in 4.5 once it left beta.
                Putting aside the AI slop as it's not relevant to my question as add_caret_above/add_caret_below are keyboard only shortcuts, and only creates a single, aligned carat either above or below the last placed carat, the idea of exclusively using the docs search is more unwieldy than just retraining my derpy hands to us alt instead of ctrl, inline hints of what a particular object's properties and methods are, are how I find the Godot equivalent of like 90% of the game engine concepts I'm familiar with from other engines, but not familiar with Godot's specific names for, but if I had to do a specific website search every time I'd get nothing done at all, lol!
                Side note: Not sure if it's supposed to be funny, but why change the name of software... it's... weird?

                Unfortunately it looks like the topic has drifted from my question, and appears the answer is "You can't"

                Thanks to everyone who responded, and maybe Godot will further open up their shortcut customisation in future!

                  schme16 And Although Rider has a lot of those features, I've found Godot to be a little clunky with external editors

                  My current workflow is: Open the project in Godot and then open the project directory in VSCode, after which VSCode will connect to Godot's language server for Intellisense and syncing. I use the Godot editor to make small GDScript changes and VSCode for writing most of the code. I also have the godot-tools extension installed.

                  I switch between them either via Alt+Tab or by pressing CapsLock (I've written an AutoHotkey macro for that). I know that Godot can open an external editor for editing GDScript files but I find that clunky and awkward.

                  As long as you don't forget to save your changes this has worked great for me and I don't think I ever had any sync issues.

                  As for VSCode vs. SublimeText: I used SublimeText years ago and I think it is great but IMO VSCode is just better these days and also has GDScript and a bit of scene support.