Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Simple Text Editor for scripting etc...

  • 06-10-2007 1:32am
    #1
    Closed Accounts Posts: 4,842 ✭✭✭


    Hi there,
    I'm getting mighty sick of TextEdit messing up everything I try to do ever...

    (I'm still a little new to Apple apps)

    I save a HTML file, it comes out as code... I switch it to plain text only and save again, it works...

    I save a PHP file in plain text to my WebServer Documents, open it in a browser and the code is the PHP code there plain to see when I view the page source. All I'm trying to do is show the phpinfo().

    I'm looking for a simple text editor that will just save exactly what I type into a file with an extension I specify. Something that doesn't try to be "smart" and mess up everything I want to do.

    I've had a Google around and the only things I could find were threads of people recommending BBEdit and Simple Text Editor which all seem to cost money... There was a suggestion of BBEdit Lite but that's been discontinued.

    Surely there's something out there that will replicate Microsoft Notepad or similar for free?

    Ideally I'd like something like TextPad for Windows which colour codes things in your PHP document and keeps your tabs aligned but this isn't a necessity.

    Anyone got any suggestions? (Must be free or open source)


Comments

  • Closed Accounts Posts: 98 ✭✭pa


    Textwrangler.


  • Registered Users, Registered Users 2 Posts: 35,524 ✭✭✭✭Gordon


    Yup, Textwrangler! The only thing it doesn't open (for me) is jpgs into text files. For that I use (iirc) BBedit (but I could be wrong).

    Textwrangler also works nicely with Cyberduck for some good FTP tastyness.


  • Registered Users, Registered Users 2 Posts: 6,424 ✭✭✭440Hz


    My editor of choice is Coda but its not free.... check out the trial though.

    For free - I use Smultron.


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    jEdit


  • Closed Accounts Posts: 1,467 ✭✭✭bushy...


    Vim for mac : http://macvim.org/OSX/index.php nice editor.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,435 ✭✭✭iUseVi


    I Scite would be ported to mac os. It will run under X11 but thats just not the same.

    +1 Smultron


  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    Textmate is the best editor I have used for Mac. I tried Coda and I hated the fact that it didn't automatically indent the code (TM does this and I'm lovin' it). Coda is like 4 things bundled into one (Editor/FTP/Terminal/Something else). It's like a jack of all trades but a master of none.

    $29 for full version but there is a free trial available. It's worth the price.


  • Closed Accounts Posts: 4,842 ✭✭✭steveland?


    Cheers for all the suggestions folks. I actually had a Google for HTML PHP Editors last night and came accross Taco HTML Edit.

    It seems to do everything I need it to do (plain text, auto-indent, line numbers etc) but if I find it doesn't do something I need then I have this wealth of things to choose from :)

    Thanks


  • Registered Users, Registered Users 2 Posts: 6,424 ✭✭✭440Hz


    Ive used Taco but didnt find it matched up to Smultron at all.


  • Registered Users, Registered Users 2 Posts: 3,230 ✭✭✭Breezer


    Was about to suggest Taco, I find it excellent :D


  • Advertisement
  • Closed Accounts Posts: 1,250 ✭✭✭babypink


    for super-basic text editing, i use TideText:

    http://www.macupdate.com/download.php/8739/TideText.dmg.gz


  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0


    Textmate - www.macromates.com

    CANT LIVE WITHOUT!


  • Registered Users, Registered Users 2 Posts: 308 ✭✭Oirthir


    Smultron ftw!


  • Registered Users, Registered Users 2 Posts: 6,163 ✭✭✭ZENER


    Textedit is like a cross between WordPad and Notepad in Windows. It operates in either rich text or plain text mode. In the former mode I created a document saved it as html from the drop down menu> Save As.. option and it displayed fine in Safari. You don't add html tags at all in this mode, textedit adds them for you, which is probably not what you want. Change to plain text to allow adding your own tags.

    Turn off the [Add ".txt" extension to plain text files] in the textedit preferences and append ".html" or ".php" to files as you save them. By default the Mac Finder doesn't display the file extension - to change this click the Finder menu go to preferences > Advanced, it's there. If you save a file from textedit in plain text and call it "document.html" Textedit adds ".txt" to the end but hides the extension so you think it's called document.html as that's what appears but the full title is document.html.txt hence it won't open with a web browser.

    Sorry if this was already obvious to you. I normally use BBEdit myself but there are features under the hood of Textedit that may be useful to some.

    ZEN


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    Just downloaded Smultron there, very nice.


Advertisement