no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    On Sun, 27 Jul 2003 17:23:14 +0000 (UTC), "ChronicFatigue"
    <NOSPAMsimon@chronic-fatigue.co.uk> wrote:
    >
    > Would I be making it too hard on myself if I didnt even use a programmers
    > text editor which features syntax highlighting?
    I use TextPad, which offers syntax highlighting, and I don't have a
    problem with it.


    Brandon Blackmoor Guest

  2. Similar Questions and Discussions

    1. Syntax-Highlighting
      Hi there, is there a plug-in or extension for dreamweaver which enables syntax-highlighting ? Thank you very much, greets, ben
    2. SQL query text breaks syntax highlighting
      The following code messes up dreamweaver's syntax highlighting. Im assuming it's because the parser sees the bracket and thinks it's a tag. ...
    3. Perl Syntax Highlighting
      Greetings fellow members, I am in search for Perl/CGI definitions for use within CodeColoring.xml and Colors.xml. Perl syntax highlighting would...
    4. Editor: Syntax highlighting and stored procedures surrounded
      Eric Brown wrote: In 8.0 final when released there is special $$ quoting, but not earlier versions. -- Bruce Momjian |...
    5. Editor: Syntax highlighting and stored procedures surrounded by '
      I use emacs and syntax highlighting is great -- except that because stored procedures are completely enclosed between two single quotes, all the...
  3. #2

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    > Would I be making it too hard on myself if I didnt even use a programmers
    > text editor which features syntax highlighting?
    Its entirely personal preference. I personally just use plain and simple
    notepad - it just works! Won't mess with your code trying to be helpful or
    anything - its a What You Type Is What You Get editor!
    On the other hand, a lot of people like things to be done automatically,
    although theres not much of that with PHP, but enven syntax highlighting
    some couldn't cope without, others aren't too fussed (me included). It will
    make obvious errors easy to spot immediately, but generally if you develop
    with PHP warnings on full then that'll tell you the problem line number and
    you can go straight there and the problem is usually pretty obvious.

    David


    David Walker Guest

  4. #3

    Default Re: no syntax highlighting: Using a basic text editor such as notepador 'editpad' on windows platform

    David Walker wrote:
    >>Would I be making it too hard on myself if I didnt even use a programmers
    >>text editor which features syntax highlighting?
    >
    >
    > Its entirely personal preference. I personally just use plain and simple
    > notepad - it just works! Won't mess with your code trying to be helpful or
    > anything - its a What You Type Is What You Get editor!
    > On the other hand, a lot of people like things to be done automatically,
    > although theres not much of that with PHP, but enven syntax highlighting
    > some couldn't cope without, others aren't too fussed (me included). It will
    > make obvious errors easy to spot immediately, but generally if you develop
    > with PHP warnings on full then that'll tell you the problem line number and
    > you can go straight there and the problem is usually pretty obvious.
    >
    > David
    >
    >
    Notepad is missing two key features in my opinion:
    - Multiple open documents (as was mentioned before)
    - It doesn't keep your current indent level (God how that irritates me.)

    I stick with GVim. There's even a decent windows port.

    Joshua Ghiloni Guest

  5. #4

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    anybody tried EditPlus?


    "ChronicFatigue" <NOSPAMsimon@chronic-fatigue.co.uk> wrote in message
    news:bg11q2$p70$1@titan.btinternet.com...
    > Have been using WYSIWYG software for a while know (DM MX and Homesite 5)
    for
    > mainly html work... am now learning php.
    >
    > Am coming round to just using a simple text editor such as notepad or
    > editpad as I figure in the long run I will learn the code more....
    >
    > also was thinking that syntax highlighting whilst making the code easier
    to
    > read could slow things down if you are reading code in print or viewing
    > source in black and white as the eye could be used to viewing the code
    > color..
    >
    > Would I be making it too hard on myself if I didnt even use a programmers
    > text editor which features syntax highlighting?
    >
    >
    >
    >
    >

    s a n j a y Guest

  6. #5

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    ChronicFatigue wrote:
    > Have been using WYSIWYG software for a while know (DM MX and Homesite 5)
    > for mainly html work... am now learning php.
    >
    > Am coming round to just using a simple text editor such as notepad or
    > editpad as I figure in the long run I will learn the code more....
    >
    > also was thinking that syntax highlighting whilst making the code easier
    > to read could slow things down if you are reading code in print or viewing
    > source in black and white as the eye could be used to viewing the code
    > color..
    >
    > Would I be making it too hard on myself if I didnt even use a programmers
    > text editor which features syntax highlighting?
    Back in those days ... on windows I was using HTMLkit, wonderful tool. Could
    automate things, but that could even be disabled.
    On Linux, I'm sworn on kate with syntax highlighting.

    /Andreas

    --
    Registeret Linux user #292411
    Andreas Paasch Guest

  7. #6

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    I started with notepad, but after going to a PHP users group and picking the
    brains of the "old-timers" who have been coding PHP for many years, here is
    the list of tools I found out about:

    * HTMLKit (chami.com ) (this one was popular with many coders)
    * Vim (.org)
    * VI (.org) (the real old times liked this and VIM, especially those use to
    Unix command line editing)
    * DreamWeaver MX (cost prohibitive for many)
    * Homesite (4.5 or 5)
    * textpad (.com)
    * emax
    * zend (.com)
    * tidy (was highly recommended for code cleanup)

    I believe Eclipse has a plug-in for PHP code recognition as well.

    Of course each coder had their own favorite for different reasons.
    I found notepad was good in the beginning for simple coding and for forcing
    me to learn the language and proper syntax. However, I had problems when
    opening files created by other coders I was working with, as they were using
    more sophisticated tools (like Dreamweaver MX and Homesite 5). When I
    opened their files in notepad I had extra characters (carriage returns I am
    guessing) that appeared as garbage, and the formatting was a mess.

    I have just recently started using Homesite 5 myself and find the code
    highlighting helpful. I don't use any of the automated features, just type
    in the code as I did in notepad.

    JMHO
    JJordan

    "ChronicFatigue" <NOSPAMsimon@chronic-fatigue.co.uk> wrote in message
    news:bg11q2$p70$1@titan.btinternet.com...
    > Have been using WYSIWYG software for a while know (DM MX and Homesite 5)
    for
    > mainly html work... am now learning php.
    >
    > Am coming round to just using a simple text editor such as notepad or
    > editpad as I figure in the long run I will learn the code more....
    >
    > also was thinking that syntax highlighting whilst making the code easier
    to
    > read could slow things down if you are reading code in print or viewing
    > source in black and white as the eye could be used to viewing the code
    > color..
    >
    > Would I be making it too hard on myself if I didnt even use a programmers
    > text editor which features syntax highlighting?
    >
    >
    >
    >
    >

    JJordan Guest

  8. #7

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    > Notepad is missing two key features in my opinion:
    > - Multiple open documents (as was mentioned before)
    Well, I can open a new document in a new instance of notepad! Not really
    much difference whether I get a new icon in the taskbar from another
    instance of the program running or one artificially added for an additional
    document opened in the same program. Notepad is so small that it doesn't
    make any difference. Works perfectly for what I want, I really don't see
    what advantage multiple documents within a single instance of the same
    program would give me.
    > - It doesn't keep your current indent level (God how that irritates me.)
    Yeah - can be slightly annoying that one! Then again, I don't always like
    html to be properly indented for various reasons, in which case it would
    annoy me to have it keep trying to do it for me. I can cope without.
    > I stick with GVim. There's even a decent windows port.
    Never heard of it. I'm happy with notepd - could be improved, but I don't
    really see the need - its done me fine for all the years i've been doing web
    development, from simple html to javascript to asp and php, and finally css
    and the other new bits, and everything inbetween.

    Maybe i'm just stuck in my ways, but then, "if it ain't broke, don't fix
    it!" :o)

    David


    David Walker Guest

  9. #8

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    > > I really don't see what advantage multiple documents within
    > > a single instance of the same program would give me.
    > Searching within multiple files.
    > Comparing two files.
    Hmmm - never have the need to do either of those...
    > > I'm happy with notepad
    > No doubt. I imagine that people who never leave home are happy to live
    > without shoes.
    Well, since I also develop "real" applications (ie standalone C++ type) and
    use Visual Studio for that I do know what having syntax highlighting and
    everything else is like. In that situation I really don't use the syntax
    highlighting either - its there, don't pay much attention really. The
    auto-indent is useful for C++ since that is generally much much more
    complex, and also as it compiles it doesn't make any difference if you have
    thousands of spaces everywhere (which I don't like in html). I occasionally
    use searches through multiple files, but again thats because the programs
    are so much longer and with so many parts its the only way to do it. I
    can't imagine there are many web pages with over a hundred pages of code
    split across dosens of individual files.
    Anyway, point is it has its place, but I personally don't see html as an
    environment where it is really required. Good for people just starting to
    learn though when they may not be able to fully understand the error
    messages and can't track down the problems quickly. For example often PHP
    will give an error on one line, but that is caused by a fault many lines up
    (like a missed } or something - I can spot these, many can't and so the
    syntax highlighting is more helpful to them while they learn).

    David


    David Walker Guest

  10. #9

    Default Re: no syntax highlighting: Using a basic text editor such as notepador 'editpad' on windows platform

    JJordan wrote:
    > I started with notepad, but after going to a PHP users group and picking the
    > brains of the "old-timers" who have been coding PHP for many years, here is
    > the list of tools I found out about:
    >
    (snip)
    > * emax
    That's 'emacs' (or it's twin XEmacs)

    Bruno

    Bruno Desthuilliers Guest

  11. #10

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    > (snip)
    >
    > > * emax
    > That's 'emacs' (or it's twin XEmacs)
    Thanks for clarifying. No wonder I had trouble finding it.
    JJordan


    JJordan Guest

  12. #11

    Default Re: no syntax highlighting: Using a basic text editor such as notepad or 'editpad' on windows platform

    In article <yTVUa.26478$BM.8731357@newssrv26.news.prodigy.com >,
    [email]someone@somewhere.com[/email] says...
    > anybody tried EditPlus?
    I've been using EditPlus for years. I use it for all my HTML, PHP, and
    CSS. I could never list all the things I love about it, but I have my
    dislikes down to 2.

    1) It can't collapse pieces of code. Minor issue, but it would be nice.

    2) It doesn't come with HTML Tidy pre-configured. Yes, you can add it
    as a customized User Tool, but I've never been able to get it to work
    right. :/

    Andy
    Davenport Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139