Hi Jean

thanks a lot for the reply!

So can I infer from your answer, that BBEdit is not able to do the 
requested task, even in the paid (pro) version?

Claudio

Il giorno lunedì 25 dicembre 2023 alle 21:09:05 UTC+1 jj ha scritto:

> Claudio,
>
> You should take a look at :
> https://github.com/psf/black
> HTH
>
> Jean Jourdain
>
> On Monday, December 25, 2023 at 6:05:52 PM UTC+1 Claudio Pedrazzi wrote:
>
>> Hi everyone,
>> this is my first post here and I hope I am in the right place. I have a 
>> python code of about a thousand lines, contained in a .py file, and I would 
>> like to fix, possibly automatically, the indentation (i.e. at the first 
>> level four characters, then eight, and so on, as the standard requires).
>> To explain myself better, the code is correct and it works, but some 
>> parts are indented 2 characters, some 3, and some 4. I am trying to do this 
>> with BBedit, of which I have the pro version (the paid one). I don't know 
>> if this is the right way but I use Markup > Utilities > Format and I always 
>> get an error: Unespected EOF; Document ended in the middle of a tag. Maybe 
>> I'm not using the right function? Are there ways to get this result?  
>> If not, are there other free tools to perform this task?
>> I have to say that I am not very proficient with scripting and such 
>> extensions, I would like a simple "menu based" solution, of course if it 
>> exists.
>>
>> Thanks a lots in advance
>> Best regards
>> Claudio
>>
>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/ad9549c7-0584-4292-8521-4c05dcc3d276n%40googlegroups.com.

Reply via email to