Hey, probably a stupid question, but when Im tying out a get node function this super duper annoying code suggestion pops up that means nothing to me and cannot be selected. What's going on?

Can I make it stop without disabling all the useful suggestions/autocompletes?

  • Toxe replied to this.

    Warden-95 It is not a suggestion but the function signature. It shows what the function returns and what type of arguments it expects and also what the arguments are named so that you don't need to consult the documentation. The editor does that for every function, not just get_node().

    Go to editor settings and disable the property text_editor/completion/put_callhint_tooltip_below_current_line if you want to get rid of it. I just looked through the settings and I am not sure if you can disable it.

      Toxe Ah I see, thank you for the explanation. I'm starting to get the impression that I just have to get used to the nagging. Still better than Pico8.

      • xyz replied to this.

        Warden-95 This is actually very useful especially for methods with many arguments so you don't need to remember their order or look into reference. Press ESC to make it go away when it appears.

          It's an annoyance when you're trying to copy/paste and you have to release the keys to press ESC.

          xyz Yeah, I can kind of see how things could get exponentially complex very fast. At the moment I'm just trying to complete a tutorial and adjust to a new coding environment and language. I'm coming from a lua ish language and a sub notepad ++ interface/environment. The amount of feedback and suggestions is quite a shock. The node systems a bit hard to adjust to as well. Im used to.... well a text document with tabs.

          I basically agree with both you and xyz. It is very useful and important information but I prefer to see it on demand. I mostly write GDScript code in VSCode (unless it's just changing a single value or line) and I use a keyboard shortcut to show the function signature.

          • xyz replied to this.

            Toxe I can't live without signatures automatically popping up because my short term memory is rather dodgy. It never really occurred to me that someone might find it annoying or want it only on demand. Looks like Godot devs feel the same. Someone should send them a note to make it optional.

            • Toxe replied to this.

              xyz I use them all the time for functions with more arguments but there are a lot of small functions that only take one or two and for those I don't need it so I like it to be on demand. But that's more like a preference. It doesn't really bother me if they pop up automatically.