I've been fiddling around with trying to make a new PHP package, as well as freshen some old packages that I used to maintain. I'll see if I can get something out soon.

The closest to what you're asking about, though, was in an "EditorActions" package that I have, which had a "Smart New Line" function I bound to ^J (which was the old equivalent in Emacs, IIRC). This was to fill in BBEdit's lack of context-aware indenting and go a bit beyond it, like continuing Markdown bullet lists, indenting after braces in C-like languages or lines ending in ":" in Python, filling in an "end" statement after "def" in Ruby or Elixir, and so on. For docblocks, if the line was "/**" then it would fill in a " * " on the next line and a " **/" under it, and you could keep typing ^J and it would continue the multi-line comment. It didn't introspect the actual PHP code to fill in "@param" and "@result" lines, though.

I am hoping that a future version of BBEdit will have Language Server Protocol support. When I write PHP in BBEdit, I miss some of those IDE-like features that Visual Studio Code provides through LSP, but when I write PHP in Code, I hit little editing snags that would be easier in BBEdit. :)

On 27 Jun 2020, at 5:15, 'MGatner' via BBEdit Talk wrote:

Nobody? Ideas?

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/03e7b5fb-a573-4bc5-91d0-f9010fd03702o%40googlegroups.com.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "supp...@barebones.com" rather than posting here. 
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/2B4B9F8C-90AA-4288-ADFF-4487F0F821C4%40gmail.com.

Reply via email to