reference failure Follow
Hello forum!
I experienced a problem with the editor.
My editor looks like this:
(% ref1 % -> {inparameter}) . (% ref2 % -> {outparameter})
Between the '.' and the two references I added the property
punctuation-left : true
It's weird that I don't get the possibility to input a ref2 in the sandbox. I believe it's the problem with the '.' and the punctuation-left property. If I add it looks like this
Thanks in advance!
Regards,
msch95
I experienced a problem with the editor.
My editor looks like this:
(% ref1 % -> {inparameter}) . (% ref2 % -> {outparameter})
Between the '.' and the two references I added the property
punctuation-left : true
It's weird that I don't get the possibility to input a ref2 in the sandbox. I believe it's the problem with the '.' and the punctuation-left property. If I add it looks like this
Thanks in advance!
Regards,
msch95
Please sign in to leave a comment.
I suspect the cause of the trouble must be somewhere else. I did not experience any problems trying to reproduce your issue. Does it start working, if you remove the punctuation-left property? Could you check that there are any ref2 targets in scope?
Vaclav
'.'
and adding
punctuation right
punctuation left
and NO punctuation-left property on ref2
Thanks for your time, Vaclav. I don't know what's the concrete problem.
Setting punctuation-left on the ref2 node has the effect that the cursor position between '.' and ref2 belongs to '.', and so code-completion provides suggestions for the '.' cell, which there are obviously none.
Setting punctuation-right on the '.' instead is a correct way to handle this scenario.
Vaclav