jed-users mailing list

[2021 Date Index] [2021 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Python indentation settings


I could certainly add jed save or git commit hooks to run black and
automatically reformat the code, but the point was to see the right
formatting while I'm working on it and have lines and look in the buffer
match up with what static checkers and tests report.

On Sun, Sep 19, 2021 at 9:03 PM Roland Hughes <roland@xxxxxxxxxxxxxxxxxxxx>
wrote:

> I do not, but I will ask if you can cobble together an Artistic Style
> settings file and just hook in an Astyle on Save type method? I often do
> that with whatever editor I have to use for a project. Then I can
> continue on with my evil ways and have the code "pretty" itself up on save.
>
> On 9/19/2021 4:55 PM, Tom Culliton wrote:
> > Does anyone have a set of indentation settings for jed that are
> > compatible with the default formatting rules that black
> > (https://github.com/psf/black <https://github.com/psf/black>) uses?
>
> --
> Roland Hughes, President
> Logikal Solutions
> (630)-205-1593  (cell)
> http://www.theminimumyouneedtoknow.com
> http://www.infiniteexposure.net
> http://www.johnsmith-book.com
>
>

[2021 date index] [2021 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]