dmd support for IDEs

"Jérôme M. Berger" jeberger at free.fr
Sun Oct 11 08:38:10 PDT 2009


Walter Bright wrote:
> Jérôme M. Berger wrote:
>>> . all the symbols in that module, and the members of those symbols 
>>> (recursively)
>>
>>     Including local variables for functions?
> 
> That seems pointless, as they'll be inaccessible outside of the scope of 
> the function.

	The point would be for smart autocompletion: type the beginning of 
a variable name, hit the autocomplete key and the IDE offers you a 
choice of the names available at that point, i.e:
  - Global symbols (including imported ones);
  - Class members if the function is a method;
  - Local variables.

	It's also useful for member completion: type "foo." and the IDE 
offers you a list of members for foo. This requires knowing its 
class even if it is a local...

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20091011/90566154/attachment.pgp>


More information about the Digitalmars-d mailing list