feat(KeywordCompletor): complete match and throw expressions#2819
feat(KeywordCompletor): complete match and throw expressions#2819przepompownia wants to merge 1 commit intophpactor:masterfrom
match and throw expressions#2819Conversation
match and possible other keyword expressionsmatch and other possible keyword expressions
|
It's yet another side effect of working on #2622 that could be applied separately. |
match and other possible keyword expressionsmatch and throw expressions
match and throw expressionsmatch and throw expressions
|
it's not immediately clear what this PR does... in what way does it support match and throw expressions? (i.e. a PR description would be appreciated 😉 ) |
|
Isn't I guess |
match and throw expressionsmatch and throw expressions
not really - for example:
or
or whatever - I had no idea this had anything to do with snippets 🙂 basically I don't want to have to reverse engineer (and guess) what the intent of the PR is from looking at the code. |
I appreciate this idea and try to keep it in mind and apply, but it is not always clear for me what user the commit is addressed for, especially when I look at the previous commit titles from the master branch 😉. On the other side my (still poor) English may cause additional confusion - please don't hesitate to correct my possibly strange language constructions. |
well you can assume that they're aimed at me or otherwise the person that's reviewing the PR 🙂 My own PRs often don't feature extensive descriptions but I'm the one merging and reviewing them so have the maintainer's privilege there. If my PR breaks Phpactor it's my fault - if your PR breaks Phpactor it's also my fault 😄 so the clearer the intent of the PRs the better |
|
so with this MR using an open parenthesis |
|
Yes, I see that the case of cursor placed right after open parenthesis |
|
@przepompownia (not sure how else to contact you) if you like stickers let me know your address via. my git email and I'll send you a couple of Phactor ones :) |
Nice to have a gadget promoting Phpactor and maybe keep to share with a few people potentially interested in :) |
8bda3b4 to
eecd514
Compare
02b3ddd to
7fefba6
Compare
9107c5a to
2d0284e
Compare
2d0284e to
063d935
Compare
Complete
matchandthrowexpression keywords and provide snippets when submitted.