parameter hint lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- Lacak2 · 2009-02-25 12:55 Is there planed such feature: when I type parameters for procedure, function, method, that in hint window is displayed name and type of expected parameter ? ---------------------------------------------------------------------- Marc · 2009-02-25 13:11 There is, look at Environment - Options - Editor - Automatic features - tooltip expression evaluation ---------------------------------------------------------------------- Lacak2 · 2009-02-25 13:23 Hm, is there, is checked, but I see nothing when I write code. For example when I write:   SQLQuery1.SQL.Text:=copy( here I expect hint for parametes for copy function:  S; Index, Count: Integer ... ---------------------------------------------------------------------- Martin_fr · 2009-02-25 18:58 Try Shift-ctrl-space while the cursor is inside the brackets. Or whatever key combo is assigned to: "Key-Mapping" => "Code tool Commands" => "Show Code Context" ---------------------------------------------------------------------- Lacak2 · 2009-02-26 07:43 Yes it works, thanks. But not for copy() function, which I tested ... interested! Automatic (Delphi like) showing tooltip, without need of pressing Ctrl+Shift+Space is not possible ? ---------------------------------------------------------------------- arnoldb · 2009-02-26 16:45 I support Lacak2's feelings; I'm using Lazarus for 8-10 hours per day on a fairly big & complicated project, and also miss the automatic display from Delphi... Where in the Lazarus sources would the best starting point be to find how to implement this ? ---------------------------------------------------------------------- Leledumbo · 2009-02-27 04:44 I found that automatic features like this won't work if the source has errors. For the Copy function, I think it's because it's not a true function, but instead a special keyword that will be replaced by the compiler with the proper function call. That's why Copy works perfectly for arrays. ---------------------------------------------------------------------- desmondc · 2009-07-28 16:04 Looks like this feature stopped working in 0.9.26-2. Can anyone else confirm or put me out of my misery? ---------------------------------------------------------------------- Martin_fr · 2009-07-28 16:11 I don't know about 0926, but it works in 0927 (daily snapshot). 0927 also works for copy and similar. ---------------------------------------------------------------------- desmondc · 2009-07-28 16:36 Just weird. I changed the key combination to alt+shift+right. That worked. I used to have ctrl+shift+right. I last set it up in 0.9.22 and kept on copying the xml prefs files ever since on new installations. Maybe my IceWM has some special bla-bla for ctrl+alt key combinations. Well, at least I'm out of my misery now. This calls for celebration, excuse me while I open my bottel of Wyborowa (you see i have been miserable for a while since not been able to use the paramter hint)