Ask Your Question

How to perform a general syntax check, without executing the project?

asked 2020-04-05 15:48:34 -0600

wpCurious's avatar

updated 2020-04-20 08:38:23 -0600


How do I check the syntax for a module or the entire project, without executing the main module?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-06 07:24:57 -0600

You can look in the Code Warnings tool in Wing Pro or the triangular '!' icon in the top right of the editor to see what warnings Wing has, and those include syntax errors. Wing also underlines syntax errors in red in the editor so they should be fairly obvious as you edit code. However, there's no way to run an overall syntax check on all files in the project at once, other than starting to execute the code and letting Python complain.

edit flag offensive delete link more


Yes, I see the code warnings. Perfect, thanks.

wpCurious's avatar wpCurious  ( 2020-04-06 08:55:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-04-05 15:48:34 -0600

Seen: 412 times

Last updated: Apr 06 '20