This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156707 - Python feature requests: retab and docstring wrapping
Summary: Python feature requests: retab and docstring wrapping
Status: NEW
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 18:37 UTC by jsober
Modified: 2017-06-22 21:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsober 2009-01-13 18:37:16 UTC
In vim, I can retabulate a document to my tab setting (e.g. 4 spaces/soft tab, 8 spaces/hard tab, 
etc.).  In netbeans, I have to select the entire document, then indent and dedent to retab.  It would be 
*very* nice to be able to do this more easily.

It would also be nice to be able to rewrap docstrings to 80 spaces automatically:

def foo():
    """
    Now is the time for all good men to come to the aid of their country. Now is the time for
    all good men to come to the aid of their country.
    """
    pass

...to:

def foo():
    """
    Now is the time for all good men to come to the aid of their country. Now is
    the time for all good men to come to the aid of their country.
    """
    pass
Comment 1 Jenselme 2017-06-22 21:44:38 UTC
This is a nice improvement to formatting. Leaving this open.