PHP and Notepad++

by 152 replies
178
Can I edit php in Notepad++ ?

Specifically, can I develop/customize a WP theme in it?
#programming #notepad #php
  • Yes easily
    • [1] reply
    • Hi,

      Yes, you can edit PHP in Notepad++ and I believe it has syntax highlighting for programming/scripting languages like PHP.

      - Max
      • [2] replies
  • Absolutely! I use Notepad++ as my primary code editor for my WP Theme Development, mostly working with PHP, JS and CSS/HTML. Couldn't live without it! And the find&replace features are huge time savers.

    Eric
    • [1] reply
    • Its a good editor light and fluffy :-) It is missing some of the more advanced features that make us lazy.
      • [1] reply
    • Banned
      [DELETED]
  • Notepad++ will work fine. Just be careful about setting the right End Of Line for the target runtime environment. It's on the menu: Edit | EOL Conversion

    Generally Linux just uses a New Line (Line Feed) character, and Windows goes with a Carriage Return / Line Feed, (while I think the Mac just uses a Carriage Return.)

    Also, Notepad++ doesn't auto save (at least the slightly older version I'm running), so save your work often, especially if your computer is at all unstable.

    Harrison
  • Yes. You can use every text editor to edit PHP coed.
    • [1] reply
    • I will take that as a very strong affirmative.

      Thank you all for your input and the one or two bits of advice.
  • You can use anything that allows you to type text into it. Whether
    this is an IDE or regular notepad. In order to run the PHP code, you
    have to set up a local server (or you can use XAMPP, WAMP).
  • And also, I forgot, If you are wanting to use a great IDE, check out Eclipse.
  • Notepad++ is a trustful tool for programming. You can use it to keep track of the code of any language.
  • yes this is good editor. you can edit php and others languages code..You can also try gedit editor and adob dreamviewer.
  • Dreamweaver is good once you learn about all that it can do. Aptana is what I use if I don't have DW handy.
  • Notepad++ is a great tool for Wordpress development. It allows you to quickly write code without a lot of distractions.

    For Wordpress development, I'll usually write my initial code in Notepad++.

    After that I'll check the code for errors using Eclipse PHP IDE.

    Once the code is error free, I'll test the Wordpress theme/plugin on a localhost using XAMPP.
    • [1] reply
    • Thanks again for all the responses.

      Just to clarify one thing:

      I take it that -

      if using Notepad++

      my PC (Windows Vista) will process html/css and will display the results of my coding efforts in my browser (IE or FF),

      but if I wish to use php it's then I require a local host like XAMPP.

      Is this correct?

      And is this simply because php is a server side language?
      • [1] reply
  • [DELETED]
  • Yes it's possible but dreamviewer is better than notpad++
    • [1] reply
    • Workman and others,

      Is there any reason to choose XAMPP over WAMP or vice versa?
      • [1] reply
  • notepad is the most classic and most convenient.
    • [1] reply
    • Chaps,

      This is a great arrangement.

      I ask a question and someone else goes out and does the research. Brilliant.

      Seriously, thank you very much.

  • Notepad++ is a very good software. However I think for PHP development you should look into NetBeans IDE. NetBeans has built-in support for HTML, CSS, JavaScript and also code suggestions for PHP functions or controllers. And if you get into heavy development, such as unit testing are creating complicated software solutions, then NetBeans for PHP is your best bet. I highly recommend it for any level of PHP programmers.
    • [1] reply
    • Thanks Roosevelt,

      I like Notepad++ a lot but have heard a lot of positive comments re NetBeans.
      I will try it.

  • Notepad++ is a advance version of Notepad . in notepad++ we can implement all language like C++, C#, PHP etc.
  • At work I use Dreamweaver, but at home I do the same stuff with Notepad++

    It's true that Dreamweaver makes some stuff a lot easier and/or faster, but you can do the same things with NPP.

    PS: I'm one of the very few Dreamweaver developers who would admit this ;D
  • Notepad is definitely doable, but Dreamweaver is damn nice so I would recommend working with it.
    • [1] reply
    • I love Dreaweaver as well. A bit expensive but a must have IMO.

      I would also recommend you to try Ultraedit. Very useful for some tasks. Affordable.
  • phpDesigner is the best PHP editor imo
    • [1] reply
    • OK,

      WAMP and WP installed on my PC with no problems.

      With Notepad++ and Firebug I'm tearing a free WP theme apart and viewing the results immediately, locally.

      Thanks for all the help.

      With a little help here and a couple of online tuts it was quite straightforward.
      • [ 1 ] Thanks
  • Banned
    [DELETED]
  • Previously it was Editplus which was a industrial standard tool for code editing for php, rupy, phiton, shell, etc. But it is a licensed software. But np++ is a freeware and has lot more feature when compared to edit+. I use np++ even for simple java and python code editing too. At present np++ is a defacto tool for code editing (other than secific IDE's)
    • [1] reply
    • By using the notepad++ you can easily rectify the error in the html tag elements..
  • I use Notepad++ not only for editing html codes, I too use it for editing java scripts, watir scripts, and more. It is a one stop tool for all code editing. It has a auto complete which is very handy in html coding.
  • How could you not. Be sure to show line numbers.
  • FYI, other programs like text wrangler have FTP functions built in. Which is nice.
  • It works perfectly for JavaScript, so I assume it has highlighting functionality for all the popular web development languages.
    • [1] reply
    • NotePad++ is a very simple, yet perfect IDE for editing PHP. It doesn't have code hint or other features that some paid IDEs may have, but it definitely does the job.
      • [1] reply
  • We are using Notepad++ at work. It supports several languages and it's lightweight.
  • Banned
    [DELETED]
  • ya you can easily edit PHP in notepad++, because notepad++ is definitely one of the best text editors for Windows.
  • NPPP is one of the best source editors for windows... very easy...
  • Notepad ++ is a editor.So you can edit php code in it.
  • I would also look into PSPad. It's like Notepad++ but also with a FTP client built in.
  • The presence of a plugin in the table below only guarantees that it lives as well as can be downloaded. As developers are not complete, plugins aren't either. They can have bugs as well as, worsened still, cause precarious in Notepad++ as things they should do transparently are not always transparent enough.
  • Banned
    [DELETED]
  • I use Notepad++ (for large files usually) and love it, but if you're going to do any serious PHP development you should look into Netbeans IDE.
  • Yeah, Netbeans IDE is pretty good.
  • I code quite a lot in php (as well as C# - but i use visual studio for that )

    For quick edits, i use WINSCP (sftp & ftp support), and have notepad++ setup as the editor - it's configuable in the options (there is a editor section), pretty much in WINSCP right click on a file and it opens in notepad++ very nice for quick edit's or changes.

    For bigger projects, i have to say setting up NetBeans IDE is the best.

    Just be Aware that Netbeans, along with Aptana studio (and a few others) are based off the eclipse engine, so they are mostly the same - i find that Netbeans has the best configuration for php editing. Netbeans has project support - which you can setup to run over ftp/sftp as well, so very handy for large scale projects.

    - Justin
    • [2] replies
    • There seems to be surge in support for Netbeans.

      Loving Notepad++ - It's has such a small footprint and loads so quickly.

      After all the above comments I feel obligated to give Netbeans a test drive.

      Thanks again.

      It's the sort of willingness to help you have all displayed which makes WF so valueable.
      • [1] reply
    • Thats something new to me...Gonna give netbeans a try! thought it was for Java only!
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • PHP function list plugin for Notepad++

    There are a large number of plugins available for Notepad++ and WLScripting.com has a post showing how to add the function list plugin and have it show PHP classes and functions.
    "Using the Notepad++ Function List plugin you can filter out all of your classes and its member functions as well as functions not in any class."
    • [7] replies
    • Nirav,

      That is precisely what I was looking for.

      Thanks,
      • [1] reply
    • Banned
      [DELETED]
    • Absolutely YES!!!!
    • Yes, you can edit php in Notepad++ .
    • Notepad is the best text editor where you can edit php code.
    • Banned
      [DELETED]
      • [1] reply

    • I am totally agree with you Notepad++ is much better then if used with other plugins. I am using ZenCoding python plugin with notepad++ really great. Thanks for Wlscripting dot com. Very informative.
    • Linux user can use default editor gedit and LAMP server. It is the best text editor.
    • Notepad++ will work fine be cautious about setting the right Finish Of Line for the target run time surroundings. And PHP is a powerful programming language it supports classes reflection is modular has lots of support libraries built-in you can generate gui applications with it as well i would say its a contemporary programming language than a scripting language.
  • Banned
    [DELETED]
  • Yes, you can easily edit php using notpad++. Dreamweaver, edit+, also are good option etc....
    • [1] reply
    • Dreamweaver is a good professional tool but not free, all my web applications were developed using APTANA an Open source, very fast and customized tool.

      Notepad++ is very useful but when it comes to debugging you program, you just can't track your variables or set breakpoints.
  • Ya you can go for that

    PHP can be edited in Notepad ++

    It is easy to do
  • yes, its easily can be edited.
  • Banned
    [DELETED]
  • I suggest to use specialized editor, like NuSphere
  • Banned
    [DELETED]
  • notepad++ is nice and lightweight. I also use netBeans it is awesome
  • Yes, you can edit PHP in Notepad++ and I believe it has syntax highlighting for programming/scripting languages like PHP. I like the way for sharing this thread here.
  • There are a large number of plugins available for Notepad++ and WLScripting.com has a post showing how to add the function list plugin and have it show PHP classes and functions.
    "Using the Notepad++ Function List plugin you can filter out all of your classes and its member functions as well as functions not in any class."
    • [1] reply
    • I use notepad++ and I had no idea on how to add the PHP functions - thanks!
  • You can use whatever editor you like. You may try an IDE (I suggest Netbeans) if you want.
  • I use Notepad++ for my text files and I use NetBeans (free) for php/java development.
    You just can't debug with Notepad++
  • [DELETED]
  • [DELETED]
  • if you want a really good php developing tool check out php desginer 7
  • I totally agree with the puffins. The range depends on you, but the com. It is more likely to be written and worth more money just because the popular vote and win the supply and demand search. That's my opinion anyway.
  • Yes It will, actually any text editor will do. PHP program does not need fancy looking editing software.
  • Banned
    [DELETED]
  • Notepad++ Is best for programming .
  • I think it's really important to define what you mean by 'edit' and 'develop'.

    I use Notepad++ to display and edit php files. It will color code the text (eg function names, constant values etc) making the code much easier to read than if you were using Notepad or some other generic text editor. Because of this it's great for general development and odd tweaks of code. There's an FTP add-on that will allow you to upload your changes directly to your site just by clicking the 'save' button.

    However what it does not do as well as some other environments (in my opinion) is allow you to pause running code and inspect variable values or step through the code. For me, with code that has mistakes that I'm unable to spot by reading the code, Notepad++ isn't my tool of choice.

    Personally I'm happy to give a thumbs up to lordspace's suggestion of NetBeans. It's free. Look for the php 'bundle'. NetBeans IDE - PHP Development

    Here is an article about using Notepad++ as a php debugger. I haven't tried this so can't verify it works: http://amiworks.co.in/talk/debugging...otepad-part-i/
  • [DELETED]
  • Yes you can edit it easily. Notepad++ can easily handle large files.
  • There are a number of plugins available for Notepad + + and WLScripting.com has a post showing how to add the plugin from the list of functions and display PHP classes and functions. "With the Notepad + + Function List plugin you can filter all its classes and member functions and functions of any kind."
  • I'm developing PHP since 15 years.

    When I have to work on Windows, I use Notepad++ or PSPAD !
    They are GREAT tools.
  • I use Notepad + + as a primary code editor to develop my theme WP, mostly work with PHP, JS and CSS / HTML. I could not live without it! And the search and replace functions are huge time savers.
  • Hey Kyle,

    if you're asking this question, you're probably pretty far away from developing your first WP theme.

    I'd suggest you'll go with some basic courses first

    Cheers,
    Rob
  • I love Notepad++ because it makes it so easily to launch your test code in a browser, however, it always gets corrupt on me after a few weeks/months of use. I have switched to Programmer's Notepad, also free, and I like it a lot for PHP, CSS, and HTML. Of course, it does much more, but that's what I use it for.
  • There are many tools for php and you can edit on notepad++.
  • Banned
    [DELETED]
  • After reading this thread I have downloaded and am using Notepad++.

    Very nice and easy and exactly the type of thing I was also after..

    Thanks to all who posted and Young Samurai for starting thread.
  • Yep I also do my php + html + java + css in notepad++
  • Give aptana studio a try too.

    Its more developed then Notepad++ or bluefish and is free. Built on eclipse.
  • Ofcourse man, go ahead and do it
    • [1] reply
    • Yes you can edit PHP, HTML, Javascript and made a website from scratch using Notepad ++
  • I use jEdit in a variety of platforms successful, only the above, most of the rest. jEdit plug all ready, on your list, and a wide range of language syntax highlighting.
  • I like textpad instead of notepad++
  • yes you can edit your file in notepad++ but i think that php designer is the best editor for php
  • Actually there is nothing better than Notepad++ on Windows alternative way is to use vi commend on your ssh console, but before you will start with vi, you will need to read some manuals what the key commands means, but it is easy to learn and it is really better to edit on ssh rather on Windows
  • Of course you can. I do everything in notepad++.
  • not gona quite easy as we dont be having any hingliting for the code
  • Banned
    [DELETED]
  • Notepad++ is very fast, so useful for editing php files.
    For ground up developement it lacks some of the nice debugging features of a full IDE.

    I can second netbeans as a good free IDE for php.
  • Download xampp and you can have a private server running on your computer to run php too.
  • I would highly recommend Sublime Text 2 for anything hacking related.
  • Yepppp easily ucan edit PHP and many more scripts in tht it just like a notepad with upgraded or enhanced features inside it and it's awesome, You dont have to go for any other software like dreamweaver or others.
  • I use Notepad++ for all web development (apart from Flash). It is one of the best editors that I have come across.
  • Yes.. You can edit PHP in Notepad++. It is best tool for every type programming language...
    • [2] replies
    • I last commented on this thread in August 2011 I think it was.

      I didn't realise that folk had continued to contribute.

      For the record, I've fallen for Notepad++. It's so lightweight and easy to use.

      Alongside Wampserver it's a great combo.

      Having said that I agree with all the comments above to the effect that N++ big weakness is debugging.

      I'm still looking for a tool to ease that problem.

      Thanks to everyone who left comments here.
      • [2] replies
    • There are a number of plugins available for Notepad ++. With the Notepad++ plugin function list you can filter all classes and member functions and features of PHP. So it is very useful for PHP it is very easy to make programs with Notepad++.
  • Defiantly...!!!! You can edit your code in PHP code.I also used Notepad++ that's advance version of Notepad.Notepad++ is also Excellent....
  • Editing a file of PHP in Notepad++ is possible and the thing is that it can be easily handle, in few minutes your job will be done properly.
  • I suggest you PSPAD or Notepad++ for easily editing. You could try Netbeans too. I use it for my project management and it's really great.

    I hope this help
    • [1] reply
    • This past week I've been giving Sublime Text 2 a run out.

      Has a similar feel to N++ and it's free too.
  • I do the the majority of my development (php, perl, js etc) with Eclipse using Remote System Explorer as it allows you to edit code directly on the server. Takes a little setting up but well worth it in the long run
  • Notepad ++ is good for PHP, JS, HTML ... Coder, lightweight - fast - customizable
  • Yes, sure, you can. I'm also use NotePad++ to develope my PHP scripts.
  • Notepad++ is an awesome text editor. I use it not only for PHP but also other codes and even plain texts.
  • Banned
    [DELETED]
  • Yes you can use notepad++ for edit PHP
  • Yes of course, you can use notepad++ but net beans good than notepad++.
  • I use zend studio, it can debug the php code step by step, easily use!
  • Banned
    [DELETED]
  • Nice to see so much love for Notepad++. It's an awesome little tool that should be one of the first things loaded on your computer
  • PHP is very good programming language. PHP is the best for all programing language. And Notepad is a Windows operating system. One of the advantages of using the Notepad++ is because it is light and easy to use.
  • Banned
    [DELETED]
  • There is large number of plugins available for Notepad ++, You can also edit the PHP in Notepad ++ and they highlight the syntax of programming languages like PHP/programming. So i always uses this combination.
  • Yes you can do it is very easy.
  • I like the syntax highlight feature in notepad++, that makes my php code more readable.
  • Notepad++ will work fine. Just be careful about setting the right End Of Line for the target runtime environment. It's on the menu: Edit | EOL Conversion
  • Characteristics of PHP and notepad plus plus :-
    1. Auto scroll libraries
    2. Auto scroll coding
    3. Better toolbar facilities
  • I will take that as a very strong affirmative. Thank you all for your input and the one or two bits of advice.
    • [1] reply
  • Banned
    [DELETED]
  • Notepad++ is a text editor and your php scripts are text so yea you can use it lol.
  • You're encouraged to translate Notepad++ into your native tongue if there's not already a translation present in the Binary Translations
  • Use what's comfortable to you to edit the files. I myself like ViM. The windows version has a GUI executable to allow you all of the visual effect and can be set in a mode to emulate Notepad but I use it in its default extended vi mode. And googling just now I found something called CodeLobster which has a handsome landing page.
    • [1] reply
    • Earnie,

      I've looked at CodeLobster several times.

      I think I may just give it a run out.

  • I prefer Notepad++ because is a free editor and allows editing multiple documents in the same time. I use it for creative writing, for simple HTML stuff, making to do lists, notes. It is one of the best basic editors.
  • I think it is not difficult, you can try.
  • I'm a fan of Notepad2 because it's so lightweight - it starts as quick as Notepad, which is really important to me. Also does a complete seamless replacement of Notepad on install.

    Useful Software for Windows
    • [ 1 ] Thanks
    • [1] reply
    • Thanks for the list dude! Very helpful.
  • Try Notepad2 I like it better than Notepad++
  • yes. you can use C++ to edit PHP. even HTML
  • try xampp and use PHPad all this free
  • i use notepad++ and PSPad ya it is very good
  • Banned
    [DELETED]
    • [1] reply
    • Notepad++ is an excellent program. However I think for PHP development you ought to look in to Net Beans IDE. Net Beans has built-in support for HTML, CSS, JavaScript and also code suggestions for PHP functions or controllers.
  • [DELETED]
  • Banned
    Notepad++ is great as long as it stays stable. Notepad++ is simply the best.
  • Banned
    [DELETED]
  • Yes, It is very easy.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • of course, i use Notepad ++ all the time
  • I use ultraedit, it is best to use an editor to code
  • Yes, indeed! At the end of the day, it is a text editor. But i'd recommend notepad++
  • I use Notepad++ for PHP.
    I don't familiar with other tool and using Notepad++ only.
  • Yes, I even use notepad++ to script PHP on Ubuntu together with WINE.
  • you can use notepad only for simple tasks. you need more then that if you want to build a big project.
    i use eclipse for my developments. you have much more options there...
  • Yes you can. It is a good and very easy to use.
  • Banned
    [DELETED]
  • It is good solution
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • in my opininon I think the best one is safari with black background as you see in the movie thesocialnetwork.
  • Banned
    [DELETED]

Next Topics on Trending Feed