SEL* Not working
Steps:
- Open anonymous query tool
- type
SEL*
- hit
tab
Then nothing happens, when previously a modal popped up for selecting the object type
Comments (9)
-
repo owner -
reporter - attached idea.log
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
reporter There seems to be a bunch from must doing a ctrl+f on
exception
-
repo owner Well, those are actually just noise from the 2022.3 versions of the JetBrains IDEs. There’s not an actual exception being thrown in those stack traces, only logged, and it’s benign if quite noisy. Almost every release the plugin SDK logs warnings about how things should be handled properly, and those are VERY fluid rules. IC2 has been doing those exact same things since ~2016 without any such noise in the logs, but now they’re being reported. I’ll certainly tune things to match the “new” requirements right after the new year, but for now you can disregard the ones that include
reportPsiElementOnEdt
and similar.Okay, so as you said, you type
SEL*<tab>
and it doesn’t start that live template, correct? DoesSEL<tab>
work? What if you use Ctrl+J/Cmd+J and typeSEL
? Does it show the following?
If so, does it work if you then cursor down to
SEL*
and hit Enter?I’m just trying to characterize what works and what doesn’t since I just tried this on multiple machines (Windows, Mac, and Linux) and can’t reproduce it.
-
reporter Okay, so as you said, you type
SEL*<tab>
and it doesn’t start that live template, correct?A: correct
Does
SEL<tab>
work?A: it works, but only creates a rudimentary query with Id in the select clause
What if you use Ctrl+J/Cmd+J and type
SEL
? Does it show the following?A: yes
If so, does it work if you then cursor down to
SEL*
and hit Enter?A: no. The template loads, and I select the object, but the fields never populate
-
repo owner Okay. Please do a full File > Invalidate Caches, allow the IDE to restart, and after indexing completes, see whether the same problem is still present. I’m wondering if the 2022.3 update (or something else) borked your indices based on the behavior you’re describing.
-
reporter No dice
-
repo owner If you just type `SELECT Id FROM ` and then press Ctrl+Space, does it show a completion list for SObject types properly, e.g.:
It just seems to be behaving as if it isn’t able to enumerate the SObjects types.
-
repo owner - changed status to resolved
Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.
- Log in to comment
Matthew, I’m not seeing that behavior:
Are there any exceptions in your
idea.log
?