Florian Reuschel

Results 88 comments of Florian Reuschel
trafficstars

Yep, that's pretty much what I described. One thing to mention though (which I figured out while implementing the attached pull request): The name in fact does *not* default to...

@thasmo I'm aware of that, thanks for the pointer. 🙂 I'd still say that since `np` is pretty integrated with git, it should respect `.gitignore` behavior — everything else seems...

That said, I'm not sure whether auto-adding visibility keywords is in scope for a formatter at all, so feel free to close this without further discussion.

[Yes.](https://www.tehplayground.com/OlbMU4yAMbh9Dcl0)

Prettier does not add semantics. It adds/removes/moves punctuation though and you could argue that a previously missing `public` keyword is kind of that. However, I could see this being perceived...

I can't imagine someone doing that, but I certainly won't assume that my coding habits are representative. But I agree that while this would not add semantics, it would make...

Any chance we could viably compile the original PHP parser to WebAssembly?

PHP as a whole has already been [compiled to WASM](https://github.com/oraoto/pib), but I have no insight into that field and can't tell whether compiling parts (i.e. just the parser) would be...

Yeah, the plugin already formats comments outside the condition body correctly: ```php if (...) { } // Comment else { } ``` That's why I explicitely excluded those in the...