Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2488

Re: LINTing Javascript in a Java WebApp

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.help
Subject Re: LINTing Javascript in a Java WebApp
Date 2013-02-11 11:42 -0800
Organization Canadian Mind Products
Message-ID <o7iih8ht5e6g3qlmtktq1l978o92cdlf9v@4ax.com> (permalink)
References <kfb9jr$69d$1@dont-email.me>

Show all headers | View raw


On Mon, 11 Feb 2013 12:26:55 -0500, Steve <tinker123@gmail.com> wrote,
quoted or indirectly quoted someone who said :

>Hi,
>
>I have a number a Java webapp with a number of embedded ( in JSPs ) 
>Javascripts and straight *.js files.
>
>More than few times I've built the webapp and deployed it only to find 
>I've made a trivial error, like forgetting a semicolon in the Javascript.
>
>I've seen that there are some Javascript LINT tools out there.
>
>Is there any particular tool or combination of tools that will highlight 
>Javascript errors as I go ( similar to what spellchecks do these days by 
>putting squiggly red line underneath ) or give me error messages at 
>compile time ( for my Java webapp )?

I have not used it, but I have seen the JavaScript lint tools in
IntelliJ.
See http://mindprod.com/jgloss/intellij.html

There are also so primitive ones in
http://mindprod.com/jgloss/htmlvalidator that work on html with
embedded JavaScript.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development 
time. 
~ Tom Cargill  Ninety-ninety Law 

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-11 12:26 -0500
  Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-11 11:42 -0800
    Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
  Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-11 12:45 -0800
    Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
      Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-12 09:45 -0800
        Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-13 14:26 -0500
          Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-13 14:56 -0800
    Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-13 18:43 -0800

csiph-web