Название: Writing PHP with Emacs : Turn vanilla Emacs into a powerful PHP editor Автор: Phil Newton Издательство: Leanpub Год: 2021-06-20 Язык: английский Формат: pdf (true), mobi, epub Размер: 10.1 MB
Learn how to turn a vanilla Emacs installation into a powerful PHP editing environment.
Working with Emacs can sometimes be an overwhelming experience. It’s an incredibly versatile piece of software, but with great power comes great responsibility. And a steep learning curve. Emacs is built on Emacs Lisp, which allows it to be extended in a million different ways; alongside text editing (yawn), there are email clients, web browsers, project management tools, and even games!
Thankfully it also comes with a built-in package manager for finding and installing extensions. There are a huge amount of different packages available; Melpa alone has over 4,800 as of January 2021. All of these features come together to create something that - with a little time - can be molded to fit your needs. This book is about turning Emacs into a powerful PHP editor.
"Writing PHP with Emacs" explains which packages to install, how to use and configure them, and how to really get the most out of your Emacs editing experience. My aim is for the book to teach you how to take a brand new Emacs installation and turn it into something tailored just for you.
A complete table of contents, along with a regularly updated changelog, is available on the Writing PHP with Emacs homepage. The rough outline looks like this:
Part 1 - Essential Packages
Using php-mode Installation First Steps Useful shortcuts (for navigation, viewing documentation and editing code) Customization - indentation and coding styles Customization - documentation lookup Customization - Using TAGS files Evaluating inline code using php-send-region Using web-mode Installation First steps Useful shortcuts Customization - indentation Explanation and examples of all shortcuts
Part 2 - Getting More out of Emacs
Checking syntax (and more) with flycheck Navigating projects using projectile Using lsp-mode
Part 3 - Recipes
Setting per-project settings using .dir-locals.el Generating code quickly with emmet Looking up documentation with dash Adding a project sidebar using dired-sidebar Setting up an Emacs environment for WordPress, Drupal, Laravel, and Symfony
Скачать Writing PHP with Emacs : Turn vanilla Emacs into a powerful PHP editor