History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19952
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Assignee: Maxim Mossienko
Reporter: Marcus Brito
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Good code is red: "expression expected" errors in javascript mixed with server side code

Created: 06 Oct 08 20:46   Updated: 30 Oct 08 16:10
Component/s: Editor. Error Highlighting

File Attachments: None
Image Attachments:

1. javascript-expression-expected.png
(19 kb)
Environment: Windows XP SP3, Diana #8858
Issue Links:
Duplicate
This issue duplicates:
IDEADEV-30701 Incorrect parse error for CSS embedde... Normal Resolved
 

Build: 8,858


 Description  « Hide
See the attached screenshot.

I know it's basically impossible for IDEA to validate javascript code interwined with server side (Ruby in the screenshot but could be something else), but I think it's preferrable to leave bad code unmarked than to mark good code red. This is a core issue discussed too many times: once you have too many warning/errors that can be safely ignored, you start ignoring all of them, losing IDEA's strongest feature.

Maybe javascript expression validation should be ignored for every line containing server side escapes?



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.