google-code-export / ulipad

Automatically exported from code.google.com/p/ulipad
0 stars 0 forks source link

Code completion doesn't add self to methods definition. #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Type def inside a class, wait for the code completion to show ${} tags
2. Type the method name and strike tab, then tab again.

What is the expected output? What do you see instead?

Expected :

"self" is added to the method signature

Got instead :

Parameters are left empty and cursor jumps to the function's body.

What version of the product are you using? On what operating system?

I am using UliPad 4.0 on Ubuntu 9.10. Python is 2.6.4, GTK is 2.18.

Please provide any additional information below.

This is not a bug, more like a feature request I guess.

We use "self" much more often we don't, and code completion already adds
"object" to class definition when no parents are defined so it seems
natural to make it adds "self" to methods as well.

Original issue reported on code.google.com by isatis39...@gmail.com on 17 Jan 2010 at 3:13

GoogleCodeExporter commented 9 years ago
You can type "cdef” instead of "def".

Original comment by limo...@gmail.com on 18 Jan 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Didn't know that, sorry for opening a useless ticket.

Original comment by isatis39...@gmail.com on 18 Jan 2010 at 4:39

GoogleCodeExporter commented 9 years ago
This's not your fault, because I seldom mention it. It's just input asistant 
you can 
write yourself, just see conf/python.acp to find some examples and you can also 
see the 
great document http://simiansector.com/ulipad-notes/index.html

Original comment by limo...@gmail.com on 19 Jan 2010 at 12:51