Welcome Guest, Not a member yet? Register   Sign In
What CI friendly text editor do you use?
#1

Hi guys,

It's time to move on from PhpED - it doesn't cope with the CI framework afaik.

What text editor do you guys use that handles CI ?

I'm running a windoze box for dev at the moment.


Thank!
Andy
Reply
#2

Komodo edit is free and pretty good Mac OS or Windows.

http://komodoide.com/komodo-edit/

Then if you really really like it you can buy the IDE version (it's $$$)
Reply
#3

I use Eclipse PDT (PHP Development Tools) on Linux at home and on Windows at work and I love it. There's a lot of plugins you can install to get more features, like Subclipse for SVN integration and AnyEdit Tools for a lot of useful stuff.

https://eclipse.org/pdt/
Reply
#4

(This post was last modified: 11-27-2014, 11:39 AM by Tim Brownlaw.)

I'm using phpstorm and it didn't work out of the box with CI

BUT what I found is by that using docblocs ( which you should be using ) and referring to the relevant CI classes in your controller/models/libraries using the @property makes it all work!

For instance if I'm using the CI Loader I'll add in @property CI_loader load in the classes Docbloc and then the auto complete and everything else starts working.

There are other ways of doing this with adding in predefined listings of all the CI "bits" but I Never got that working and find that documenting it in each file makes more sense, even if it is a few seconds more of typing...

So that could that be a possible solution to your phpEd to make it play nice with CI?

Cheers
Tim
Reply
#5

I use NetBeans personally and with my students.
There is no CodeIgniter plugin for it (there was one way back), but that could be a good student project Undecided
James Parry
Project Lead
Reply
#6

I use Sublime Text, very light, fast...just like CodeIgniter.
I installed 'Code​Igniter Snippets'(a package/plugin for Sublime Text) and if I write 'form' automatically appear a list(form_open, form_close, form_input,...) and if I hit enter on 'form_input' then it will write: form_input('name', 'value', $attributes);
Reply
#7

vim...everything else is sub-optimal. Only one other I would consider is emacs.
Reply
#8

(11-27-2014, 01:07 AM)slax0r Wrote: vim...everything else is sub-optimal. Only one other I would consider is emacs.

Haha .. hardcore ;o) Emacs i use sometimes to play.

My Editor of choise is PhpStorm, before i used ZendStudio.

Reply
#9

Do you mean text editor or IDE? Not many (if any) have support for CI out of the box but it can be setup as an include path.

I use PhpStorm, Netbeans & SublimeText on Windows, CentOs & Ubuntu Linux. I have also briefly used PHPEd and Komodo IDE. I mostly use PhpStorm as an IDE for developing php and SublimeText as a text editor. I used to use Netbeans for php, but just use it for other stuff now.

Yea hey, Vim & Emacs is very hardcore! lol
Reply
#10

(This post was last modified: 11-27-2014, 06:03 AM by rtorralba.)

Hi,

I recommend you to use vim, is a very fast editor because has a lot of commands that accelerate text edition. Furthermore has:
  • PHP completion.
  • PHP syntax checker plugin.
  • Git integration plugin.
  • Is very light, use low RAM
  • ...
  • And very useful snipets plugin (like textMate).
http://www.artansoft.com/blog-de-program...ter-en-vim

Greetings!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB