ActiveState Community

Debian / Ubuntu

Python in Komodo

Hello.

Help me please.
My Komodo Edit v4.4.1 incorrect autolist complete somtimes.

for example:
python code:

from os import environ
def env(request):
    raw_a = {'q':1, 'w':2,'r':4}
    
    a = raw_a.items()
    b = environ.items()
    c=dir(environ)
    return render_to_response('env.html', {
        'env' : b,
        'dop' : c
    })

but I render my template which content it:

html-template:

{% for i in dop %}
    
  • {{ i }}
  • {% endfor %}

    then it exist there

    As example that I attach screen here.

    Komodo Edit with Django template system

    How can I join my Komodo Edit with Django template system as it done in the window where I edit my views.py or other Python-module. I want to have list of filter and tags when I edit my template (html-template document).
    How can I do it?

    Thanks.

    ps
    when will be new version 5.0 Komodo edit?

    Debug in PHP eval() function

    Hi

    I am running a php template system, where some html template pages are read by a php script, pre-processed and the directed into an eval() statement.

    This works fine, however, I would like to debug these html template pages. I know that they are generated dynamically, and the source code is not statically available. However, my question is now: Is there a way, that I can single step into these html template pages - ie. single stepping (the template pages also contains php code).

    I am running Komodo IDE 4.4.1.

    Thanx in advance
    Steen L. Frederiksen

    komodo can't find rails

    I'm evaluating Komodo and trying to create a Rails project using the Ruby on Rails template. However, Komodo keeps telling me that Rails isn't located in the same folder as Ruby, /usr/bin. Since Rails was installed using "gem install", it is in /var/lib/gems/1.8/bin; however it is in the bash search path and I added it to the Komodo PATH environment variable. But it still doesn't work. What am I doing wrong?

    Best regards,
    Peter

    Matching end tag finder?

    Hi all. First time poster, etc......

    I know in homesite one can find the opening tag (say, for a div tag, for example) and do a control-m to find it's matching closing tag (/div).

    Is there anything like that in Komodo?

    It would sure be nice. Thanks for any advice.

    -Aaron

    Problem with remote PHP debugging

    I have had my Komodo 4.4 setup for remote debugging on my own PC running Kubuntu without any problems. Running my own LAMP setup on my own machine. Works perfectly.

    However, I do now wish to setup my Komodo for debugging on another server, running Linux - but when trying, it fails.

    A python user feature request list

    Hello, I'm a month-old Komodo Python user.
    Sorry for group-posting many features at the same time... but it's already some work to gather it :-)

    So there are, from my point of view, the most missing Komodo features :
    - on-the-fly tool-tips when the mouse flies over a function name (with function summary : profile, docstring...) (gnat-gps like)

    - CRTL+Click to 'go to definition' ? (eclipse like) (with a better 'go to definition' scope, currently, sometimes Komodo opens it self the good files to jump into, and sometimes not, reproducable with PyLDAP for instance)

    Like generating files executables tcl for linux (Ubuntu) from Windows- tclapp

    Greetings.

    Desire to know as I can generate files executables tcl for Linux (Ubuntu) from Windows.

    I am thankful for the aid.

    Douglas Aparicio Bermudez

    TwinView nVidia on Kubuntu 8.04, dialogs, hints, menus etc leak over into the next display :(

    I have a dual monitor setup and if I get a huge function signature hint on my dual view, the hint spreads across both monitors. If I open a menu very close to the adjacent display, the menu spills over and may be split between the both of them. Is there a way to tell Komodo to keep everything on a single monitor?

    How to Adjust the Open Parenthesis Newline Indentation

    This is quite annoying. Doing development in Python, if I create an open parenthesis, type a single a letter right after it and make a newline, the next line starts 1 column over to the column with the open parenthesis.

    here is an example.

    this_is_a_long_function_call_slash_commented_name(long_arg1,
                                                      long_arg2,
                                                      long_argX
                                                      )