Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4354381
By: clabrown

I'm sure tab expansion is supposed to work as expected in Eclipse/Pydev. Maybe
I'm missing something. I've only been using this for a few days (just started
learning Python) but I've used programmer's editors for years (NOT Eclipse or
Pydev) where code completion and tab expansion work "as expected".

Now I've encountered this:

x snip .....

import MySQLdb    # MySQL functions
import csv        # Comma Seperated files
import optparse    # Fancy command line option parsing

x snip .....

Basically I typed "import", "space", the_module_name, then hit one or more tabs
to line up the comments. The 3rd line won't line up.

I see no reason that Eclipse/PyDev shouldn't line up all the above comment lines
by expanding the Tab key to the appropriate number of space to hit the specified
4 space tab expansion TabStops. It looks like an error to me.

What gives? 

I can't possibly believe that Eclipse/Pydev with all the positive press and
buzz can't handle something that I've considered standard since the late '80s
like expanding TABs to a set number of spaces consistently.

Now I guess I could stop using the tab key and just count spaces manually and
hit the space bar, but I'm too lazy for that ... after all I'm trying out Python
where I can apparently control the world in less than 10 lines of code <grin>.
(actually some of my little test hacks of less than 20 lines have opened a MySQL
database performed a query and output a CSV file... I am pretty impressed <grin>
... but what's up with tabs?

Thanks, Cla.





______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to