FXML Code Completion/Eating Quote problem
Where the problem occurs: When adding a property attribute to an element in FXML and typing equals the opening, and closing quotes are completed automatically.
For example, when typing... VBox.vgrow= the quotes are completed to become VBox.vgrow="". And the cursor is placed in between the quotes. I don't mind this.
The problem: The problem is that, as is my habit, I type equals and then the first quote, and this pops me outside the quotes altogether instead of eating the first quotation mark.
Can I change a setting or do something so that first quote gets eaten if I type it or is there something else I can do so when I type that first quote, which I'm pretty sure I'm going to do a thousand times before I change the habit, it doesn't end up outside and having to backspace.
Appreciate your help.
Cheers,
Daniel.
Please sign in to leave a comment.
Hi.
At Settings | Editor | Smart keys try unchecking "Insert Pair Quotes"
Thanks Petr. I checked out your suggestion and found this which did the trick:
At Settings | Editor | General | Smart Keys | XML/HTML i unchecked "Add quotes for attribute value on typing '=' and attribute completion"
Appreciated.