Closed keit0728 closed 1 year ago
Which version are you using?
You can check it with pip show c-formatter-42
.
The error says that lastline_index = idented[-1][0]
present on line 38, but it's on line 39 in the latest version. So I suppose that the c_formatter_42 you are using is v0.2.0 (previous version).
Just try update it, and let me know if you get any errors.
Just in case: python3 -m pip install -U c-formatter-42
@keyhr @cacharle
After updating c_formatter_42
this error no longer occurs.
Thank you for letting me know.
The following error occurs when using
c_formatter_42
. (Running from the console of VS code) It seems that #46 is not resolved.The above error occurs in the code below.
By the way, executing
c_formatter_42
with the code below does not result in an error.