| Summary: | [validation] Erroneous "cannot return from outside function or method" validation | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Miguel Angel Garcia Grande <mikioma> |
| Component: | Web | Assignee: | Project Inbox <jsdt.web-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | adamb, davduke, fcdanilo, florian.fischer, gheck, janek.lb, leaman, maibua, mauromol, oni, thatnitind, vimilsaju, vkhomyackov, yinshangwei |
| Version: | unspecified | ||
| Target Milestone: | 3.4 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Miguel Angel Garcia Grande
*** Bug 353198 has been marked as a duplicate of this bug. *** I think this is a regression of WTP 3.3.0, because I don't remember I saw it in 3.2.x. The problem is still present in WTP 3.3.1. (In reply to comment #2) > I think this is a regression of WTP 3.3.0, because I don't remember I saw it in > 3.2.x. No, I can reproduce this with the latest 3.2.5 I-build. Still present in the latest WTP build: Version: 3.3.0.v201103310011-7H7EFZ-DxumTla66ahfUnHfpsz0u5Z92pU4TxSL Build id: 20110513100703 If the error does not shows up.... But the error still exists,how should I do? I'm still seeing it with code like
onclick="popupwindow('help.html'); return false;"
I've got over 100 of these, which means javascript validation is completely useless. Until this is fixed, Eclipse doesn't have javascript validation. Please consider increasing the severity of this bug.
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 1
Build id: 20110916-0149
JavaScript Development Tools
Version: 1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy
Build id: 20110915193224
Please, someone, do something about it! I am already unhappy with unnecessary warnings. They are sometimes difficult to get rid of. I am not happy when my "problems" window isn't empty. Now when the IDE give me ERRORs, it drives me nuts. I have to disable JSP validation completely else I cannot concentrate on real errors and real warnings. I don't see why it should be so difficult to get rid of that particular warning. It should be just a few lines to comment out. Else, could you please move that warning to a category that I can disable? Thanks. I have the same problem, for example in lines like (in jsp): "onkeypress="return checkFilter(event);" Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: 20110916-0149 JavaScript Development Tools Version: 1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy Build id: 20110915193224 Please retry with Juno. Seems to work for me under Juno (Linux x86_64) Thanks so much!!!! :-) Seems working in WTP 3.4.0 (both Eclipse 3.8 and 4.2). It's working in June also for me :) . |