js formatting setup

View: New views
5 Messages — Rating Filter:   Alert me  

js formatting setup

by mikewse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Joe,
 
Do you have any tool to "check style" of JavaScript files?
I'm using Aptana for JS editing and I am always afraid to leave incorrectly styled (Aptana only uses tabs for indenting) code segments in the files.
So, dou you have anything like the Eclipse Java formatter, but for JS?
 
Best regards
Mike
 

RE: js formatting setup

by Mark Ireland-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is a JSEclipse from Adobe.

>From: "Mike Wilson" <mikewse@...>
>Reply-To: dev@...
>To: <dev@...>
>Subject: [dwr-dev] js formatting setup
>Date: Sat, 10 Feb 2007 08:17:13 +0100
>
>Hi Joe,
>
>Do you have any tool to "check style" of JavaScript files?
>I'm using Aptana for JS editing and I am always afraid to leave incorrectly
>styled (Aptana only uses tabs for indenting) code segments in the files.
>So, dou you have anything like the Eclipse Java formatter, but for JS?
>
>Best regards
>Mike
>

_________________________________________________________________
Advertisement: Getting married? Tell us why to WIN @ LetsShop
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eletsshop%2Ecom%2FCompetitions%2FLetsMarry%2Ftabid%2F549%2FDefault%2Easpx&_t=751480117&_r=HM_tagline_letsshop_wedding&_m=EXT

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


RE: js formatting setup

by mikewse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So it supports setting spaces instead of tabs for indents?
(And can you configure that per project?)
Best regards
Mike

> -----Original Message-----
> From: Mark Ireland [mailto:markincuba@...]
> Sent: den 10 februari 2007 23:31
> To: dev@...
> Subject: RE: [dwr-dev] js formatting setup
>
>
> There is a JSEclipse from Adobe.
>
> >From: "Mike Wilson" <mikewse@...>
> >Reply-To: dev@...
> >To: <dev@...>
> >Subject: [dwr-dev] js formatting setup
> >Date: Sat, 10 Feb 2007 08:17:13 +0100
> >
> >Hi Joe,
> >
> >Do you have any tool to "check style" of JavaScript files?
> >I'm using Aptana for JS editing and I am always afraid to
> leave incorrectly
> >styled (Aptana only uses tabs for indenting) code segments
> in the files.
> >So, dou you have anything like the Eclipse Java formatter,
> but for JS?
> >
> >Best regards
> >Mike
> >
>
> _________________________________________________________________
> Advertisement: Getting married? Tell us why to WIN @ LetsShop
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eletsshop
%2Ecom%2FCompetitions%2FLetsMarry%2Ftabid%2F549%2FDefault%>
2Easpx&_t=751480117&_r=HM_tagline_letsshop_wedding&_m=EXT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: js formatting setup

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I've given up with that editor because it kept on periodically scanning every single file in my workspace for Javascript to index and use as possible completion targets.
I currently use the WTP Javascript editor which does to the right (for me at least) thing with tabs and spaces.

Joe

On 2/11/07, Mike Wilson <mikewse@...> wrote:
So it supports setting spaces instead of tabs for indents?
(And can you configure that per project?)
Best regards
Mike

> -----Original Message-----
> From: Mark Ireland [mailto:markincuba@...]
> Sent: den 10 februari 2007 23:31
> To: dev@...
> Subject: RE: [dwr-dev] js formatting setup
>
>
> There is a JSEclipse from Adobe.
>
> >From: "Mike Wilson" <mikewse@...>
> >Reply-To: dev@...
> >To: < dev@...>
> >Subject: [dwr-dev] js formatting setup
> >Date: Sat, 10 Feb 2007 08:17:13 +0100
> >
> >Hi Joe,
> >
> >Do you have any tool to "check style" of JavaScript files?
> >I'm using Aptana for JS editing and I am always afraid to
> leave incorrectly
> >styled (Aptana only uses tabs for indenting) code segments
> in the files.
> >So, dou you have anything like the Eclipse Java formatter,
> but for JS?
> >
> >Best regards
> >Mike
> >
>
> _________________________________________________________________
> Advertisement: Getting married? Tell us why to WIN @ LetsShop
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eletsshop
%2Ecom%2FCompetitions%2FLetsMarry%2Ftabid%2F549%2FDefault%>
2Easpx&_t=751480117&_r=HM_tagline_letsshop_wedding&_m=EXT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...



RE: js formatting setup

by mikewse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, too bad JSEclipse has quirks. I have gotten used to all the auto-complete goodness so I'll probably stay with Aptana then (and live with having to search and replace tabs before commiting)...
Best regards
Mike


From: joseph.walker@... [mailto:joseph.walker@...] On Behalf Of Joe Walker
Sent: den 13 mars 2007 20:24
To: dev@...
Subject: Re: [dwr-dev] js formatting setup


I've given up with that editor because it kept on periodically scanning every single file in my workspace for Javascript to index and use as possible completion targets.
I currently use the WTP Javascript editor which does to the right (for me at least) thing with tabs and spaces.

Joe

On 2/11/07, Mike Wilson <mikewse@...> wrote:
So it supports setting spaces instead of tabs for indents?
(And can you configure that per project?)
Best regards
Mike

> -----Original Message-----
> From: Mark Ireland [mailto:markincuba@...]
> Sent: den 10 februari 2007 23:31
> To: dev@...
> Subject: RE: [dwr-dev] js formatting setup
>
>
> There is a JSEclipse from Adobe.
>
> >From: "Mike Wilson" <mikewse@...>
> >Reply-To: dev@...
> >To: < dev@...>
> >Subject: [dwr-dev] js formatting setup
> >Date: Sat, 10 Feb 2007 08:17:13 +0100
> >
> >Hi Joe,
> >
> >Do you have any tool to "check style" of JavaScript files?
> >I'm using Aptana for JS editing and I am always afraid to
> leave incorrectly
> >styled (Aptana only uses tabs for indenting) code segments
> in the files.
> >So, dou you have anything like the Eclipse Java formatter,
> but for JS?
> >
> >Best regards
> >Mike
> >
>
> _________________________________________________________________
> Advertisement: Getting married? Tell us why to WIN @ LetsShop
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eletsshop
%2Ecom%2FCompetitions%2FLetsMarry%2Ftabid%2F549%2FDefault%>
2Easpx&_t=751480117&_r=HM_tagline_letsshop_wedding&_m=EXT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


LightInTheBox - Buy quality products at wholesale price