Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Miscellaneous
»
Suggestions
»
IDE/CodeTools
»
parameter hint
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Update a table with an Au...
by
CraigC
[
Today
at 10:54:23 pm]
ShortStrings vs long stri...
by
Martin_fr
[
Today
at 10:31:12 pm]
TSplitter color property ...
by
backprop
[
Today
at 08:43:28 pm]
Qt6/Wayland clipboard: pa...
by
zeljko
[
Today
at 08:25:30 pm]
Z80 ZX Spectrum and Syste...
by
Cascade
[
Today
at 08:22:14 pm]
Need help with project ma...
by
mas steindorff
[
Today
at 07:25:29 pm]
could Ardour's YTK be use...
by
robert rozee
[
Today
at 03:18:36 pm]
Synchronizing Lazarus pro...
by
Martin_fr
[
Today
at 03:18:18 pm]
Questions about TFuncSeri...
by
hedgehog
[
Today
at 02:03:29 pm]
[revisited] triple click
by
Thaddy
[
Today
at 01:08:40 pm]
macOS 14+ Install Instruc...
by
alchymylab
[
Today
at 12:49:31 pm]
Anyway to "embed" Windows...
by
jamie
[
Today
at 11:36:00 am]
Hello! Anything new?
by
JuhaManninen
[
Today
at 11:22:16 am]
C/C++ code to Object Pasc...
by
domasz
[
Today
at 10:44:20 am]
[Solved] Saving a workboo...
by
Kaljakoira
[
Today
at 09:09:59 am]
Pipewire API
by
Thausand
[
Today
at 07:38:06 am]
Good GPU accelerated math...
by
myisjwj
[
Today
at 03:17:06 am]
Debian removes FPC/Lazaru...
by
Fred vS
[March 09, 2026, 11:17:03 pm]
REST Server/Client, how t...
by
valdir.marcos
[March 09, 2026, 10:18:36 pm]
TSpeedButton qt6 styleshe...
by
dsiders
[March 09, 2026, 09:40:21 pm]
Purpose of TProcessUTF8
by
Thaddy
[March 09, 2026, 09:08:03 pm]
How to remove consoleApp ...
by
Thaddy
[March 09, 2026, 08:51:40 pm]
Fast Canvas Library V1.05...
by
Gigatron
[March 09, 2026, 08:32:15 pm]
[Solved] Set TSpeedButton...
by
jcmontherock
[March 09, 2026, 04:08:22 pm]
[SOLVED] Set horizontal s...
by
rvk
[March 09, 2026, 03:57:47 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: parameter hint (Read 9810 times)
Lacak2
Guest
parameter hint
«
on:
February 25, 2009, 01:55:20 pm »
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 ?
Logged
Marc
Administrator
Hero Member
Posts: 2674
Re: parameter hint
«
Reply #1 on:
February 25, 2009, 02:11:50 pm »
There is, look at Environment - Options - Editor - Automatic features - tooltip expression evaluation
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Lacak2
Guest
Re: parameter hint
«
Reply #2 on:
February 25, 2009, 02:23:20 pm »
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
...
Logged
Martin_fr
Administrator
Hero Member
Posts: 12199
Debugger - SynEdit - and more
Re: parameter hint
«
Reply #3 on:
February 25, 2009, 07:58:41 pm »
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"
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Lacak2
Guest
Re: parameter hint
«
Reply #4 on:
February 26, 2009, 08:43:55 am »
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 ?
Logged
arnoldb
Jr. Member
Posts: 97
Re: parameter hint
«
Reply #5 on:
February 26, 2009, 05:45:15 pm »
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 ?
Logged
Leledumbo
Hero Member
Posts: 8835
Programming + Glam Metal + Tae Kwon Do = Me
Re: parameter hint
«
Reply #6 on:
February 27, 2009, 05:44:13 am »
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.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
desmondc
New member
Posts: 9
Re: parameter hint
«
Reply #7 on:
July 28, 2009, 06:04:19 pm »
Looks like this feature stopped working in 0.9.26-2. Can anyone else confirm or put me out of my misery?
Logged
Martin_fr
Administrator
Hero Member
Posts: 12199
Debugger - SynEdit - and more
Re: parameter hint
«
Reply #8 on:
July 28, 2009, 06:11:01 pm »
I don't know about 0926, but it works in 0927 (daily snapshot). 0927 also works for copy and similar.
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
desmondc
New member
Posts: 9
Re: parameter hint
«
Reply #9 on:
July 28, 2009, 06:36:17 pm »
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)
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Miscellaneous
»
Suggestions
»
IDE/CodeTools
»
parameter hint
TinyPortal
© 2005-2018