Thread: [Pydev-users] [pydev - Users] tab vs. spaces indent
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2007-08-17 19:24:30
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4470854 By: ryanoro (Maybe this is more a general Eclipse question, but it's causing me problems trying to use PyDev.) My existing code has tab indentations. In the editor with PyDev, when I hit return at the end of a line, it will indent the next line using spaces. Naturally Python does not appreciate the variety in indentation style. Is there a way to get the editor to use tabs to indent new lines? ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2007-08-17 19:06:10
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4470897 By: fabioz You should be able to specify whether you want to use tabs or spaces at window > preferences > pydev Cheers, Fabio ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2007-08-17 18:55:00
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4470905 By: ryanoro Ah thanks. I had looked there, but not on the top-level Pydev preferences, only under "Typing" and such. :) ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2007-08-21 15:15:06
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4476561 By: mbaas By the way, what exactly is the difference between the Pydev settings "Tab length" / "Replace tabs with spaces when typing?" and the general settings "Displayed tab width" / "Insert spaces for tabs" (in General -> Editors -> Text Editors)? At first I was confused by the seemingly duplicate options. But I take it the Pydev options should only affect a Python editor while the general options are valid for the regular text editor. Is that correct? The thing is that when I was enabling the general "Insert spaces for tabs" option it actually did affect the Python editor as well (even though it did not behave as expected until I set the Pydev option accordingly). - Matthias - ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2007-08-21 16:18:47
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4476586 By: fabioz Hummm... that option is new (added in eclipse 3.3) -- I hadn't seen it before, so, please open a bug report for that (I'll have to take a better look at that). Cheers, Fabio ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2007-08-21 16:28:00
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4476671 By: mbaas ok, I added an entry to the bug tracker (unfortunately I have already been logged out, so it appears to be posted by "anonymous", sorry). - Matthias - ______________________________________________________________________ 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 |