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


Groups > comp.lang.php > #17014 > unrolled thread

Editor with syntax highlighting for HTML, CSS, Javascript AND PHP

Started bybit-naughty@hotmail.com
First post2016-09-06 07:41 -0700
Last post2017-01-10 23:19 -0800
Articles 11 — 11 participants

Back to article view | Back to comp.lang.php


Contents

  Editor with syntax highlighting for HTML, CSS, Javascript AND PHP bit-naughty@hotmail.com - 2016-09-06 07:41 -0700
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-09-06 16:16 +0100
      Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Tim Streater <timstreater@greenbee.net> - 2016-09-06 16:24 +0100
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Dave Pyles <dave@user.invalid> - 2016-09-06 11:26 -0400
      Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP bill <william@TechServSys.com> - 2016-09-08 07:42 -0400
        Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Michael Vilain <mev94303y@yahoo.com> - 2016-09-09 08:18 -0700
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP jim@Antec.(none) (Jim Hicks) - 2016-09-14 17:04 +0100
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP "Beauregard T. Shagnasty" <a.nony.mous@example.inwalid> - 2016-09-14 16:28 +0000
      Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP "Teodor V." <teodor-see-signature@invalid.invalid> - 2016-09-14 19:44 +0200
        Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP bobm3@worthless.info - 2016-09-14 21:03 -0400
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP "dilip.bakotiya@gmail.com" <dilip.bakotiya@gmail.com> - 2017-01-10 23:19 -0800

#17014 — Editor with syntax highlighting for HTML, CSS, Javascript AND PHP

Frombit-naughty@hotmail.com
Date2016-09-06 07:41 -0700
SubjectEditor with syntax highlighting for HTML, CSS, Javascript AND PHP
Message-ID<b0661066-6fb6-42ab-a9fd-1e1c7867a460@googlegroups.com>
If I'm writing a website which has ALL these languages on it, is there any editor for Linux which will correctly detect ALL of them, and provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE - ie. Javascript has to look different from PHP!
Will Emacs do it, with the appropriate plugins or something....? Surely *someone*, *SOMEWHERE* must have solved this problem by now, with the amount of websites being developed all oveer the world....?


Thanks.

[toc] | [next] | [standalone]


#17015

FromBen Bacarisse <ben.usenet@bsb.me.uk>
Date2016-09-06 16:16 +0100
Message-ID<87poohvz1a.fsf@bsb.me.uk>
In reply to#17014
bit-naughty@hotmail.com writes:

> If I'm writing a website which has ALL these languages on it, is there
> any editor for Linux which will correctly detect ALL of them, and
> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
> ie. Javascript has to look different from PHP!
> Will Emacs do it, with the appropriate plugins or something....?
> Surely *someone*, *SOMEWHERE* must have solved this problem by now,
> with the amount of websites being developed all oveer the world....?

Emacs does it with web mode, but the colours are deliberately chosen to
be similar.  For example, by default, PHP and JS keywords are both blue.
I don't know if, with the one mode, you can customise the different
languages.  I've never looked.

I prefer to edit JS in stand-alone files because the emacs mode provides
very good real-time feedback, but sometimes you do have all of the
syntaxs together.

-- 
Ben.

[toc] | [prev] | [next] | [standalone]


#17016

FromTim Streater <timstreater@greenbee.net>
Date2016-09-06 16:24 +0100
Message-ID<060920161624170996%timstreater@greenbee.net>
In reply to#17015
In article <87poohvz1a.fsf@bsb.me.uk>, Ben Bacarisse
<ben.usenet@bsb.me.uk> wrote:

>bit-naughty@hotmail.com writes:
>
>> If I'm writing a website which has ALL these languages on it, is there
>> any editor for Linux which will correctly detect ALL of them, and
>> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
>> ie. Javascript has to look different from PHP!
>> Will Emacs do it, with the appropriate plugins or something....?
>> Surely *someone*, *SOMEWHERE* must have solved this problem by now,
>> with the amount of websites being developed all oveer the world....?
>
>Emacs does it with web mode, but the colours are deliberately chosen to
>be similar.  For example, by default, PHP and JS keywords are both blue.
>I don't know if, with the one mode, you can customise the different
>languages.  I've never looked.
>
>I prefer to edit JS in stand-alone files because the emacs mode provides
>very good real-time feedback, but sometimes you do have all of the
>syntaxs together.

Too bad that bit-naughty isn't using a Mac. Then he'd have TextWrangler
(free), which does just what he is looking for.

-- 
"If you're not able to ask questions and deal with the answers without feeling 
that someone has called your intelligence or competence into question, don't 
ask questions on Usenet where the answers won't be carefully tailored to avoid
tripping your hair-trigger insecurities."                  - D M Procida, UCSM

[toc] | [prev] | [next] | [standalone]


#17017

FromDave Pyles <dave@user.invalid>
Date2016-09-06 11:26 -0400
Message-ID<nqmn7a$c80$1@dont-email.me>
In reply to#17014
On 9/6/2016 10:41 AM, bit-naughty@hotmail.com wrote:
> If I'm writing a website which has ALL these languages on it, is
> there any editor for Linux which will correctly detect ALL of them,
> and provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH
> LANGUAGE - ie. Javascript has to look different from PHP! Will Emacs
> do it, with the appropriate plugins or something....? Surely
> *someone*, *SOMEWHERE* must have solved this problem by now, with the
> amount of websites being developed all oveer the world....?
>
>
> Thanks.
>
HTML-Kit Tools has readily editable syntax highlighting so you can tweak 
the color schemes to suit yourself.
http://www.htmlkit.com/tools/

Dave Pyles

[toc] | [prev] | [next] | [standalone]


#17029

Frombill <william@TechServSys.com>
Date2016-09-08 07:42 -0400
Message-ID<nqrir1$ugb$1@gioia.aioe.org>
In reply to#17017
On 9/6/2016 11:26 AM, Dave Pyles wrote:
> On 9/6/2016 10:41 AM, bit-naughty@hotmail.com wrote:
>> If I'm writing a website which has ALL these languages on it, is
>> there any editor for Linux which will correctly detect ALL of
>> them,
>> and provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH
>> LANGUAGE - ie. Javascript has to look different from PHP! Will
>> Emacs
>> do it, with the appropriate plugins or something....? Surely
>> *someone*, *SOMEWHERE* must have solved this problem by now,
>> with the
>> amount of websites being developed all oveer the world....?
>>
>>
>> Thanks.
>>
> HTML-Kit Tools has readily editable syntax highlighting so you
> can tweak the color schemes to suit yourself.
> http://www.htmlkit.com/tools/
>
> Dave Pyles

That was my first thought, but it is written for Windows.  I 
don't know how well it would run in a Windows emulator.
--bill

[toc] | [prev] | [next] | [standalone]


#17042

FromMichael Vilain <mev94303y@yahoo.com>
Date2016-09-09 08:18 -0700
Message-ID<mev94303y-BDE406.08182909092016@news.individual.net>
In reply to#17029
In article <nqrir1$ugb$1@gioia.aioe.org>,
 bill <william@TechServSys.com> wrote:

> On 9/6/2016 11:26 AM, Dave Pyles wrote:
> > On 9/6/2016 10:41 AM, bit-naughty@hotmail.com wrote:
> >> If I'm writing a website which has ALL these languages on it, is
> >> there any editor for Linux which will correctly detect ALL of
> >> them,
> >> and provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH
> >> LANGUAGE - ie. Javascript has to look different from PHP! Will
> >> Emacs
> >> do it, with the appropriate plugins or something....? Surely
> >> *someone*, *SOMEWHERE* must have solved this problem by now,
> >> with the
> >> amount of websites being developed all oveer the world....?
> >>
> >>
> >> Thanks.
> >>
> > HTML-Kit Tools has readily editable syntax highlighting so you
> > can tweak the color schemes to suit yourself.
> > http://www.htmlkit.com/tools/
> >
> > Dave Pyles
> 
> That was my first thought, but it is written for Windows.  I 
> don't know how well it would run in a Windows emulator.
> --bill

The problem is that if you don't want to pay for a IDE-style editor 
(webstorm or InteliJ IDEa), you're pretty much stuck with FOSS options 
that use X11.  Gvim or Atom are two things I've used that X-display back 
to my Mac if the connection you're using setup things correctly.  And, 
of course, emacs.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

[toc] | [prev] | [next] | [standalone]


#17050

Fromjim@Antec.(none) (Jim Hicks)
Date2016-09-14 17:04 +0100
Message-ID<s09oad-pj2.ln1@news.virginmedia.com>
In reply to#17014
According to  <bit-naughty@hotmail.com>:-
> If I'm writing a website which has ALL these languages on it, is there
> any editor for Linux which will correctly detect ALL of them, and
> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
> ie. Javascript has to look different from PHP! ...

I expect Emacs can do this, but I fought Emacs and Emacs won. (!)
'gedit' and 'pluma' are colouring editors, but I don't know how easy
it is to create one's own colour schemes.

To me, Eclipse would be the obvious choice, but of course Eclipse
is much more than just a text editor.

Jim Hicks

[toc] | [prev] | [next] | [standalone]


#17051

From"Beauregard T. Shagnasty" <a.nony.mous@example.inwalid>
Date2016-09-14 16:28 +0000
Message-ID<nrbts1$alh$1@dont-email.me>
In reply to#17014
bit-naughty wrote:

> If I'm writing a website which has ALL these languages on it, is there
> any editor for Linux which will correctly detect ALL of them, and
> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
> ie. Javascript has to look different from PHP!
> Will Emacs do it, with the appropriate plugins or something....? Surely
> *someone*, *SOMEWHERE* must have solved this problem by now, with the
> amount of websites being developed all oveer the world....?

Have you tried Bluefish?  I've been using it for years and rather like it. 
Look at the screenshots for an immediate tryout. Good at managing projects 
as well.

http://bluefish.openoffice.nl/index.html

-- 
   -bts
   -This space for rent, but the price is high

[toc] | [prev] | [next] | [standalone]


#17052

From"Teodor V." <teodor-see-signature@invalid.invalid>
Date2016-09-14 19:44 +0200
Message-ID<nrc2df$u1b$1@dont-email.me>
In reply to#17051
On 2016-09-14 18:28, Beauregard T. Shagnasty wrote:
> bit-naughty wrote:
> 
>> If I'm writing a website which has ALL these languages on it, is there
>> any editor for Linux which will correctly detect ALL of them, and
>> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
>> ie. Javascript has to look different from PHP!
>> Will Emacs do it, with the appropriate plugins or something....? Surely
>> *someone*, *SOMEWHERE* must have solved this problem by now, with the
>> amount of websites being developed all oveer the world....?
> 
> Have you tried Bluefish?  I've been using it for years and rather like it. 
> Look at the screenshots for an immediate tryout. Good at managing projects 
> as well.

I swear by Geany
http://www.geany.org/

/Teo.


-- 
Teodor Väänänen            | Don't meddle in the affairs of wizards,
teostupiditydor@algonet.se | for you are good and crunchy with
Remove stupidity to reply  | ketchup.

[toc] | [prev] | [next] | [standalone]


#17053

Frombobm3@worthless.info
Date2016-09-14 21:03 -0400
Message-ID<aqsjtbpibf4vjo0pet6lh1uvpplf5ns9nk@4ax.com>
In reply to#17052
On Wed, 14 Sep 2016 19:44:49 +0200, "Teodor V."
<teodor-see-signature@invalid.invalid> wrote:

>On 2016-09-14 18:28, Beauregard T. Shagnasty wrote:
>> bit-naughty wrote:
>> 
>>> If I'm writing a website which has ALL these languages on it, is there
>>> any editor for Linux which will correctly detect ALL of them, and
>>> provide the colours, with DIFFERENT COLOUR SCHENES FOR EACH LANGUAGE -
>>> ie. Javascript has to look different from PHP!
>>> Will Emacs do it, with the appropriate plugins or something....? Surely
>>> *someone*, *SOMEWHERE* must have solved this problem by now, with the
>>> amount of websites being developed all oveer the world....?
>> 
>> Have you tried Bluefish?  I've been using it for years and rather like it. 
>> Look at the screenshots for an immediate tryout. Good at managing projects 
>> as well.
>
>I swear by Geany
>http://www.geany.org/
>
>/Teo.

Differt strokes for different folks.

I too swear by geany (and like others, it works the same on Windoze
and *nix).

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

[toc] | [prev] | [next] | [standalone]


#17254

From"dilip.bakotiya@gmail.com" <dilip.bakotiya@gmail.com>
Date2017-01-10 23:19 -0800
Message-ID<41fed52e-3495-47a2-aa88-ddf7d5a77918@googlegroups.com>
In reply to#17014
 i found some interesting help full editor list .so i am sharing it here 

http://askdiffer.com/question/free-editor-for-all-type-language-coding/150

Thanks

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web