First time here? Check out the FAQ!
1

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

Hi,

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

wpCurious's avatar
61
wpCurious
asked 2020-04-05 15:48:34 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-04-20 08:38:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4k
Wingware Support
answered 2020-04-06 07:24:57 -0500
edit flag offensive 0 remove flag delete link

Comments

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

wpCurious's avatar wpCurious (2020-04-06 08:55:03 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer