Bug 155652 - [Editor] Formatting (Expand Tabs)
[Editor] Formatting (Expand Tabs)
Status: CLOSED WONTFIX
Product: python
Classification: Unclassified
Component: Editor
6.x
Macintosh All
: P3 (vote)
: 8.1
Assigned To: Lou Dasaro
nbpythonqa
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-17 13:33 UTC by baratrion
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description baratrion 2008-12-17 13:33:24 UTC
I'm using NetBeans IDE Python E.A. In Editor/Formatting options you can expand tabs to spaces for all languages and you
can override this setting for text/x-java (which is awkward hence we're using IDE for python.) 

My feature request is to be able to select 'expand tabs to spaces' differently for different languages. Such as; you may
want to expand tabs in Python but not in HTML. (As I'm using this convention when developing.) So, it'd be nice to use
spaces in some language but use explicit tabs in a different language.
Comment 1 Petr Dvorak 2008-12-18 00:18:58 UTC
The infrastructure for this is already implemented in NB6.5. You can set option to expand tabs to spaces to individual
file types, if the module owner chooses to -> reassigning to Python...

btw: How did you install NB Python EA? The fact that you can see "text/x-java" is strange, as this should be displayed
as "Java" (not as it's mime-type)... Also, if you install NB Python EA, you should see only 2 items in the Language
combobox - "All Languages" and "Python"... Or do you have 2 NB installations running in the same userdir?
Comment 2 baratrion 2008-12-18 08:29:41 UTC
I installed NB Python EA with the Mac OS X installer. I also didn't install any Java support whatsoever and I don't have
separate installations.
Comment 3 Jenselme 2017-06-22 21:20:23 UTC
Not sure it is still relevant with the current version. Formatting will need improving. Will track elsewhere. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Comment 4 Jiri Kovalsky 2017-06-23 08:06:23 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo