コンテンツにスキップ

Questions and Requests to Charcoal Editor

It was created for the purpose of having this author read this page.

■Can it not be reformatted like PyCharm?

PyCharm's reformat is a function to organize the code in compliance with pep8.

From the start, PyCharm has been very compliant with pep8.
This is to make the code more readable and I am very happy with it.

For example, the handling of whiteSpace.

for,
Chacoal Editor occasionally
There are times when the code does not run where an whiteSpace is present with an invalid syntax error.
In other words, we occasionally put a red mark at the left line number.
That is not always, but occasionally.

I'm used to coding in PyCharm, so
I have a habit of using whiteSpace a lot and placing importance on readability for myself,
In Chacoal Editor,
Occasionally I get an invalid syntax error where there is a whiteSpace.

Here is an example.

  1 ## OK!!
  2 #cmds.setDrivenKeyframe('L_elbow_ik_Jnt', currentDriver=driver, attribute="translateX"
  3 #                       , value=upperArmLen
  4 #                       , driverValue=armLength
  5 #                       )
  6 #
  7 ## invalid syntax error
 8 #cmds.setDrivenKeyframe('L_elbow_ik_Jnt', currentDriver = driver, attribute = "translateX"
 9 #                       , value = upperArmLen
 10 #                       , driverValue = armLength
 11 #                       )

by the way,
Actually, does Chacoal Editor have AI and is there a learning function? . ? .

16:01 2020/06/10

■Isn't there a command similar to reformat?

On the net
There seems to be a user who asked for pep8 compliance,
On the other hand, the author
I was asked to install and use pylint by myself.
I saw it.

So, for example, if you have pylint installed and you've got your path through,
When pylint is turned on with enable check,
One menu equivalent to the formatting command such as the reformat command is added,
I want you to increase the specifications.
It is very handy to have my hair shaped.

More specifically,
PyCharm's reformat is
It's flexible, just where you select it and overall.

11:09 2020/06/11

that's all.



最終更新日: 2024年4月18日 09:56:44