Michael Stephens wrote:
I should be able to just say
dbg("test") should present intellisense at least for what dbg takes as an argument.


"import" in Python is not the same as the C# using directive. If you do the following:

import RT

Then you can only access members of the RT module using:

RT.attribute

and you said that worked?

If you want to be able to just type dbg("test") then you would need to do something like:

from RT import dbg

You can only use names you have specifically imported. I have no idea how good the IronPython Studio intellisense is though.

Michael Foord


Michael Stephens

Electrical Engineering Graduate Student
University of Wyoming
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> or [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

On Tue, Jun 24, 2008 at 3:49 PM, Curt Hagenlocher <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I don't understand from your description what you expect to see in
    "Problem 2".

    On Tue, Jun 24, 2008 at 2:35 PM, Michael Stephens <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

I have two instances where I can't get intellisense to work. Is it something I am doing or something wrong with Python
        Studio.  I have attached a generated project.
Problem 1:
          I can't access base class methods
        Problem 2:
          I can't access things declared in RT.py despite importing it..
          The closest that that will work is
            import RT
            RT.dbg()// intellisense works! but i shouldnt need to call
        RT directly
Any help would be appreciated.

        Michael Stephens

        Electrical Engineering Graduate Student
        University of Wyoming
        [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> or [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>

        _______________________________________________
        Users mailing list
        [email protected] <mailto:[email protected]>
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to