Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Table name completion in strings? #57
I don't even know if this is possible, but I came up with this idea while working on a TCA-heavy project:
This could be really helpful, even if it is for example limited to only happen in certain files, e.g. TCA files.
It could also make sense to target any argument named
This could perhaps also be combined with inspections to report bad values in known table arguments in functions such as the
Something universal which triggers on argument name could be opt-in, but for people who write consistent variable names it would be very useful.
referenced this issue
Sep 26, 2017
Thx for your suggestion!
I don't think matching the argument-name is a good idea, but I'll think about it (I don't like the magic and I'm pretty sure we wouldnt match all of those arguments :) ). Could you help compiling a list of methods where we need completion for starters?