DBE Auto complete
DBE Auto complete
I got the auto complete function working in the DBE so now if you start typing and then hit CTRL + SPACE you will have the option to select what function you want.
You do not have the required permissions to view the files attached to this post.
Re: DBE Auto complete
Holy shit, why did I never see this post? I will try this tonight when I get home
Re: DBE Auto complete
[quote="Xinux"]now if you start typing and then hit CTRL + SPACE you will have the option to select what function you want.[/quote]
Is there a way to enable this as always active, so it will always have the suggestions as you type...like VS does? Just curious
Is there a way to enable this as always active, so it will always have the suggestions as you type...like VS does? Just curious
Re: DBE Auto complete
Ok it is turned on but I need everyone's opinion if they want to keep it this way or go back to having to hit ctrl+space.
Re: DBE Auto complete
[quote="Xinux"]Ok it is turned on but I need everyone's opinion if they want to keep it this way or go back to having to hit ctrl+space.[/quote]
Fair enough. Looking forward to trying it when I get home
Fair enough. Looking forward to trying it when I get home
-
Starcrusher
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: DBE Auto complete
Is there any way to have this also display the required and optional parameters once you select the function? Similar to what Excel does in formulas....
Re: DBE Auto complete
Something like this?
Fyi it will take a long time to do everything unless someone wants to start it I can give you the format it need's to be in for me to copy and paste it in to the editor code.
Fyi it will take a long time to do everything unless someone wants to start it I can give you the format it need's to be in for me to copy and paste it in to the editor code.
Code: Select all
if(text == "UpdateAttributeBuffBonusValue"){
updateTooltip(pixelPosition, "UpdateAttributeBuffBonusValue(Caster, Type, Attribute, Value");
}
You do not have the required permissions to view the files attached to this post.
-
Starcrusher
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: DBE Auto complete
Yep, like that! Where does that need to go?
Re: DBE Auto complete
I have to put it in the back-end of the code in the post above if you look all you would need to do is fill in the spots where it looks for the word and then what it display's like this then just post it back here and i will copy it in.
Example
Example
Code: Select all
if(text == "UpdateAttributeBuffBonusValue"){
updateTooltip(pixelPosition, "UpdateAttributeBuffBonusValue(Caster, Type, Attribute, Value");
}
if(text == "Word to look for Here"){
updateTooltip(pixelPosition, "What to show in the tooltip if mouse is hovered over");
}
if(text == "Another word to look for Here"){
updateTooltip(pixelPosition, "What to show in the tooltip if mouse is hovered over");
}
-
Starcrusher
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: DBE Auto complete
So basically one for each LUA function that we want to have the tooltip?