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


Groups > comp.lang.javascript > #31248 > unrolled thread

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

Started bybit-naughty@hotmail.com
First post2016-09-06 07:42 -0700
Last post2016-09-07 15:47 -0700
Articles 6 — 4 participants

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


Contents

  Editor with syntax highlighting for HTML, CSS, Javascript AND PHP bit-naughty@hotmail.com - 2016-09-06 07:42 -0700
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Dr.Kral@nyc.rr.com - 2016-09-06 14:47 -0400
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP $Bill <news@todbe.com> - 2016-09-06 15:41 -0700
      Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP $Bill <news@todbe.com> - 2016-09-06 15:49 -0700
    Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2016-09-07 13:42 -0300
      Re: Editor with syntax highlighting for HTML, CSS, Javascript AND PHP $Bill <news@todbe.com> - 2016-09-07 15:47 -0700

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

Frombit-naughty@hotmail.com
Date2016-09-06 07:42 -0700
SubjectEditor with syntax highlighting for HTML, CSS, Javascript AND PHP
Message-ID<a40269e9-864c-451e-a4c0-e208fc7645bd@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]


#31259

FromDr.Kral@nyc.rr.com
Date2016-09-06 14:47 -0400
Message-ID<bi3usb1j02uug6u4b6a86rmcdfpgcrbq2f@4ax.com>
In reply to#31248
On Tue, 6 Sep 2016 07:42:04 -0700 (PDT), bit-naughty@hotmail.com wrote in
<a40269e9-864c-451e-a4c0-e208fc7645bd@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. 

Emulate Windows and then you can use  www.htmlvalidator.com 

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

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


#31262

From$Bill <news@todbe.com>
Date2016-09-06 15:41 -0700
Message-ID<nqngo1$gmh$1@dont-email.me>
In reply to#31248
On 09-06-16 07:42, 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....?

I never learned emacs, but I think it will do what you need.

I went for gvim (vi predecessor) when I started working on Windows
due to it's portability and the fact that I had been using vi for
years which lowered the learning curve and it has syntax highlighting
that should meet your needs.

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


#31263

From$Bill <news@todbe.com>
Date2016-09-06 15:49 -0700
Message-ID<nqnh5h$hp8$1@dont-email.me>
In reply to#31262
On 09-06-16 15:41, $Bill wrote:
> On 09-06-16 07:42, 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....?
>
> I never learned emacs, but I think it will do what you need.
>
> I went for gvim (vi predecessor) when I started working on Windows

predecessor should have been successor or postdecessor.  ;)

> due to it's portability and the fact that I had been using vi for
> years which lowered the learning curve and it has syntax highlighting
> that should meet your needs.
>
>

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


#31267

FromJoao Rodrigues <groups_jr-1@yahoo.com.br>
Date2016-09-07 13:42 -0300
Message-ID<nqpg1c$1qti$1@gioia.aioe.org>
In reply to#31248
On 06-09-2016 11:42, 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!

There are many good, open-source, and cross-platform code editors, such 
as Visual Studio Code [1], Sublime Text [2], Brackets [3] and Atom [4].

Atom was developed by GitHub. VS Code and Atom run on top of the 
Electron framework [5], but VS Code seems a bit faster and better than 
Atom. Both Atom and VS Code have very good Git integration.

Brackets has some interesting features for front-end development, but I 
didn't manage to use it for server-side / back-end development (e.g with 
asp / asp.net).

Personally, I prefer "Sublime Text 3" for server and client side 
development.

[1] <https://code.visualstudio.com>
[2] <https://www.sublimetext.com/>
[3] <http://brackets.io/>
[4] <https://atom.io/>
[5] <https://github.com/electron/electron>

> 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 and VIM are very old editors, still used today though. But I 
prefer the newer editors listed above.

-- 
Joao Rodrigues

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


#31274

From$Bill <news@todbe.com>
Date2016-09-07 15:47 -0700
Message-ID<nqq5er$qpn$1@dont-email.me>
In reply to#31267
On 09-07-16 09:42, Joao Rodrigues wrote:
>
> Emacs and VIM are very old editors, still used today though. But I prefer the newer editors listed above.

I'm pretty old too - does that make me obsolete or more experienced.  :)

vim/gvim was built on vi because of its efficiency in key strokes I would
imagine.  When I first looked at emacs there seemed to be longer sequences
to get things done.  Can't comment on the newer editors.  The portability
of vim/emacs was a major issue for me since you can hop from platform to
platform seamlessly.  And gvim, for one, is still being enhanced regularly.

[toc] | [prev] | [standalone]


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


csiph-web