RE: AutoText Completion Issue - ManagedBean

2022-11-28 Thread Richard Grin
Hello, Which version of Jakarta EE and NetBeans ? Richard Envoyé depuis mon appareil Galaxy Message d'origine De : Mehmet Fatih ÇİN Date : 28/11/2022 20:24 (GMT+01:00) À : NetBeans Mailing List Objet : AutoText Completion Issue - ManagedBean Hello, I used component. b

AutoText Completion Issue - ManagedBean

2022-11-28 Thread Mehmet Fatih ÇİN
Hello, I used component. but the instanceManagedBean value is not output on autocomplete. How should I go about this problem? Thank you for your interest. Mehmet Fatih ÇİN

Re: NetBeans `Convert to for (Iterator...) {}' suggestion

2022-11-28 Thread Michael Bien
Hi John, suggestions which are only active at the current line where your cursor is, don't necessary produce better code, they are just there to transform parts of it in case you want to change something. Internally they are hints of a kind called actions. The doc describes it well: "The hi

Re: NetBeans `Convert to for (Iterator...) {}' suggestion

2022-11-28 Thread Scott Palmer
I agree that this isn’t usually a good suggestion. It is available as a refactoring for when you might need an iterator, but by no means should the IDE “warn” about it. I think that is the current behaviour though. The line is not marked with a hint lightbulb unless I put the cursor on that l

NetBeans `Convert to for (Iterator...) {}' suggestion

2022-11-28 Thread John
Hi, Quick one. I have just installed a vanilla Netbeans 15 and when I write a line such as for (Word word : this.dictionary) {...} Netbeans offers me a Warning / Recommendation  `Convert to for (Iterator...) {}' That, if chosen, converts my syntax to for (Iterator it = this.dictionary.iterator(); i