About Store Forum Documentation Contact



Post Reply 
Code Editor
Author Message
fatcoder Offline
Member

Post: #16
RE: Code Editor
Just had another play with the code editor and was wondering if you could limit the autocomplete list to only those options that can be used as a method's parameter where possible?

For example, D.ambNormal takes one parameter of type Bool. So if you wanted to enter "true" and you start typing the "t" you get an autocomplete list of everything starting with t. Because the type is a Bool, the editor should only show true (or false) in the autocomplete list.

Maybe you can do the same with enums too?
03-13-2011 01:27 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #17
RE: Code Editor
No, its not only true or false. You can get bool from many things. Like "bool func()" "class X{bool member;}" there are many combinations. For example "namespace.class.static_obj.asBool()"
03-13-2011 08:16 AM
Find all posts by this user Quote this message in a reply
Post Reply