ID:135862
 
It would be really cool if DreamMaker popped up a tooltip like in VB, when you're entering a procedure's arguments. Examples:

ASSERT( [ASSERT(expression)] findtext("hello","l", [findtext(T1 as text, T2 as text, [Start=1 as num],[End=0 as num])]

The tool-tip would display the name of the argument, the type of the argument, and if it's optional. (Optional would be decided if the argument has a default value)


The []s around the procedure are supposed to be tool-tip, by the way. ;)

~>Volte
this would be extremely useful, I know I love the feature in VB.
As long as it's optional and behaves nicely. That really bugged me in VB because the tooltip kept getting in my way.
Yes, and also have the constants and variables in a scope listed.
view(1,
[view([dist as num][,center as atom])]
|usr(/mob) |^|
|src(/mob) | |
|M(/mob/DM) | |
|hud(/obj/screen/hu| |
|__________________|V|
In response to Crispy
Crispy wrote:
As long as it's optional and behaves nicely. That really bugged me in VB because the tooltip kept getting in my way.


How could it get it your way? It's below the line you're typing on. :P

To prevent this, it could have a little seperate portion down by the text box that displays the compilation errors, or something.

~>Volte
In response to Volte
Volte wrote:
How could it get it your way?

Easily. It clutters up the screen. If I want to see the next line of code, I usually can't. And if I want to move the cursor down to the next line by clicking, I have to move it somewhere else first.

Besides, if I want to know the syntax of a command, I'll press F1. The tooltip was occasionally useful, but most of the time it just bugged me.
Eef. Putting that in would require a lot more context sensitivity and typing awareness than I think DM even has. While that feature can be nice and I like it too (especially for Windows API work), it's useful to remember that BYOND's very source code is edited and compiled in a program that doesn't do that. I see this as way too much effort for too little gain.

Lummox JR
In response to Crispy
Press ESC and it goes away.
In response to OneFishDown
Nifty, I didn't know that. Thanks!