The Problems window displays compiling issues caused by JavaScript files within the project. Clicking an error opens the problematic file and positions the cursor where the problem was recognized by the internal syntax checker.

Keep in mind, that the error might be caused by JavaScript code in a completely different place.