Ask Your Question
1

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

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

wpCurious gravatar image

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

Hi,

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
0

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

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

Comments

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

wpCurious gravatar imagewpCurious ( 2020-04-06 08:55:03 -0500 )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

2 followers

Stats

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

Seen: 51 times

Last updated: Apr 06