I'll usually start with different grep -rsl "term". ) is something I use many times daily when debugging. The full expanded command vim -p $(grep -rsl "search-term". Online docs help, but they're not as accurate as the actual code. With vim, ctags are valuable, but I'll often fuzzy-search or grep through a library for what I'm looking for and manually examine it. If you don't know, then research, but knowing where and how to search is key. The most valuable tool is your head so use it. I use very few plugins so there's almost nothing that will help you with suggestions when you're stuck like auto-complete with my setup, but if you're at that point then guessing at a solution is the wrong thing to do anyway back up and dig down to figure out what you need to do. There is no magic built-in so nothing comes out of the box like you would expect from the likes of PHPStorm or Sublime. I use vim almost exclusively and program entire systems with Zend and Symfony and just started working on a Laravel + Angular system recently. (I can't believe I have to type up something like this every time this question is asked and someone answer something that's not PhpStorm.) That's not because either tool is objectively better, it's just because we have different work flows and habits. I would hope those people would also understand that PhpStorm (or any "real IDE") just doesn't work for me. I'm glad people like PhpStorm and are getting a lot of value from it. It'll have to be one pretty fucking amazing piece of software that makes me prefer it over 16 years of refinement and habits. Tried it for a few days and found myself spending more time fighting it than actually working with it, so I returned to my VIM setup which has evolved through the last 16 years and served me very well throughout my programming life. First of all, why the hell are you getting downvoted for simply answering? I know this is PhpStorm territory but come on. I used Storm in my last job when they paid for the Licenses I found it (for what I need) no better or worse than NetBeans, certainly if it was my own money I wouldn't be purchasing it until it offered something above and beyond NetBeans. I'm not saying NetBeans is better than Storm, it would be impossible for a free opensource product to compete with a company charging £150 a version. I included ColorThief library in one of my projects (an external library for getting colours from an image, included using composer) and NetBeans (like PHPStorm) pulls all the data in for this plugin giving you the docs and function skeletons for each one of its methods instantly and code click through of course ) I have only worked with Symfony a hand full of times and NetBeans click through and docblock showing (sorry not sure of the technical term for it) has been a god send in larger projects.Īs for code completion NetBeans I love how it builds a function for you from the code you're referencing, like the below screenshot in Laravel (note NetBeans has no official Laravel support and I'm not using any plugins, it seems to have generated this code completion by simply reading the source code) it completes the methods in the class and constructs a skeleton of a function for you. This works for all frameworks and your own code not in any framework which I find amazing (I fully understand PHPStorm can do this also). I'm surprised you had no success with the click through of PHP code in NetBeans because that is one of the main features of why I love NetBeans, nothing saves more time than clicking on a class construct or a reference method and NetBeans jumping to the class/method to see the source.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |