komodo

Komodo Python auto complete: type inference by variable metadata?

I'm using Komodo Edit for Python development, and I want to get the best out of the auto complete. If I do this: a = A() a. I can see a list of members of A. But if I do this: a = [A()] b = a[0] b. It does not work. I want to be able to do this: a = [A()] b = a[0] """b Type: A """ b. So how can I tell the auto complete that ...

Komodo - watch variables and execute code while on pause in the program

With c# in the Visual Studio IDE I can pause at anytime a program and watch its variables, inspect whatever I want. I noticed that with the Komodo IDE when something crashes and it stops the flow of the program, I can do exactly the same. But for some reason, it seems that when I try to do the same when I manually pause the program, the ...

Paste syntax highlighted code from Komodo?

I recently switched from using Vim in Puttytray on WindowsXP to Komodo on OSX. One of the features I miss is Puttytray used to let you copy the colored text out of whatever is in your terminal and paste it as rich text on any application that accepts it (like your instant messanger). This makes it easier for me to discuss code with cowo...

Komodo Edit 5.2 Django Template Syntax Error - Info: <head> previously mentioned

I am using Komodo Edit 5.2 for editing html and Django template files. It always shows a single syntax error inside the first {% block %} area on the first tag of my template. For example: {% extends "base.html" %} {% load i18n %} {% block title %}Hello{% endblock %} {% block content %} <p>Hello</p> <-- Syntax error on this singl...

Komodo Code Completion for Django

Hi guys, Sorry to repeat old questions, but I didn't quite understand the answer. The question was: How to enable auto-complete in Komodo Edit 5.2 for Django http://stackoverflow.com/questions/1424392/komodo-edit-code-completion-for-django "It was already on my python path (could import django stuff via plain old python shell), howev...

Komodo Edit "new command" options memory

I am using Komodo Edit 5.2.4. I have set up a custom "new command" which takes some input from the user and executes a program with it. This works fine, but I want the ability to default the options to the options the user previously selected the last time they ran the command. I can't figure out how to do this, although I can see that ...

python komodo for add scripting syntax

Hello python guys, I am a php programmer and since Komodo apears to be programmed in Python I am call in on you guys. Normally a php class is called like this: exampleClass::classFunction(arg); However I use php a bid different and my classes are called like this: Y::s('exampleClass')->classFunction(arg); If you are wondering, th...

User input in perl - Issue with running script in KomodoEdit

i wrote this tiny code on gedit and ran it :- #/usr/bin/perl print "Enter the radius of circle: \n"; $radius = <>; chomp $radius; print "radius is: $radius\n"; $circumference = (2*3.141592654) * $radius; print "Circumference of circle with radius : $radius = $circumference\n"; Runs fine using command line.Ran the same code on Komodo ...

Indent guide plugin for gedit (python).

See the indent guides? They're damn helpful when writing Python code. Any chance I could get something similar for gedit? I wouldn't mind having to write my own plugin, as long as it's in Python... So: Is there a plugin for this which works with gedit? If not, would it be possible to write one in Python. ...

Getting Unit Tests to work with Komodo IDE for Python

I've tried to run the following code on Komodo IDE (for python): import unittest class MathLibraryTests(unittest.TestCase): def test1Plus1Equals2(self): self.assertEqual(1+1, 2) Then, I created a new test plan, pointing to this project(file) directory and tried to run it the test plan. It seems to run but it doesn't seem ...

How do you configure Komodo diff using tortoiseHg and beyondcompare?

I'm trying to configure Komodo IDE so that it integrates with tortoiseHg and my beyondcompare3 diff tool. The diff works fine in tortoiseHg, but when I try to do a diff in Komodo nothing happens, no errors, no windows, nothing. Found a similar thread for SVN but need to know what to set the "diff options" box to for tortoiseHg (mercurial...

PHP Komodo getter/setter auto-generation

Does Komodo support getter/setter auto generation a la NetBeans or Eclipse? If so how do I use it? I can't seem to find it. ...

Komodo Edit auto-complete won't find a Python module.

I am using Komodo edit on a Python file on Windows. When I type import s it successfully lists all the importable files starting with s, including one of my modules in one of my directories. When I type import t it lists all the importable files starting with t, EXCLUDING one of my modules in the same directory. Even though Komodo can...

Why Won't Komodo 6 Run or Debug Python 3 Code?

My problem: I try to debug some python 3 code. Komodo gives me this error message: "Komodo does not support execution of Python3 files through the debugger subsystem, please use a run command in the toolbox to process this file." then when I run 'run,' it gives me this error: "'run' is not recognized as an internal or external comma...

java Api catalog? komodoedit java auto complete feature

Hi by default komodo edit supports the following languages for its auto completion feature by default: Ruby: require, class modules (on . and ::), class variables and methods, method calltips. Python Perl PHP XSLT XML Tcl I am programming in java at the moment, and I need to have the auto completion feature with that language. Can so...

Advanced Find & Replace / Text Expand / Macros

Hopefully a nice quick one for someone. I'm working on a project that requires a specific link being written around 400 or so locations. Each link is the same, except it has the town's name in it, such as: <li><a href="/contact-details.html?location=Andover">Andover</a></li> I'm currently using Komodo Edit to write my projects, and I ...

How to convert an unicode JavaScript string into a byte array using Mozilla services?

I have a service writing remote files, but it requires a byte array as input. Rest of the interface provides only JavaScript unicode strings. No way to write them then. I found something like this in MDC: var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"] .createInstance(Components.interf...