I have this in the HTML editor right now:

<div

Where must I place the cursor and where/when must I press Enter to see the
problem?

With the above, I need to put the cursor at the end, i.e., here:

<div|

And then call up code completion, via Ctrl-Space, to see the code
completion.

What must I do from the above point to see the problem?

Gj

On Mon, Jul 12, 2021 at 8:27 AM James Ostrowick <ja...@ostrowick.co.za>
wrote:

>
> Nope, this was a Mac.
> Mac OS X 11.4
> Netbeans 12.4
>
> Kind Regards,
> James Ostrowick
>
>
> On 12 Jul 2021, at 08:26, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> Maybe it's Windows specific?
>
> On Mac, trying really hard, but not able to reproduce.
>
> Gj
>
> On Mon, Jul 12, 2021 at 8:16 AM James Ostrowick <ja...@ostrowick.co.za>
> wrote:
>
>> I know exactly what John is talking about.
>>
>> <Screenshot 2021-07-12 at 08.15.25.png>
>>
>> If you hit enter at this point(in the attached image)
>> It will complete the <div> element
>>
>> This happens in HTML/XHTML files.
>>
>> Kind Regards,
>> James Ostrowick
>>
>>
>> On 12 Jul 2021, at 08:13, Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com.INVALID> wrote:
>>
>> Nope, that's never happened to me -- and if what you're trying to do is
>> disable code completion just because it pops up when you press Enter, then
>> the problem lies elsewhere.
>>
>> Check that your code completion hasn't been mapped to the Enter key in
>> one way or another.
>>
>> Gj
>>
>> On Mon, Jul 12, 2021 at 8:09 AM John Lavelle <j...@jql.co.uk> wrote:
>>
>>> When you press Enter for a Newline it pops up. Very irritating.
>>>
>>> Best regards,
>>> John
>>> j...@jql.co.uk
>>> Bike Farkles: https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ
>>> JLavelle.uk <http://jlavelle.uk/> https://www.youtube.com/jlavelleuk
>>>
>>>
>>> On Mon, Jul 12, 2021 at 8:02 AM Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com> wrote:
>>>
>>>> Maybe somehow the code completion is mapped to your Enter key?
>>>>
>>>> Gj
>>>>
>>>> On Mon, Jul 12, 2021 at 8:01 AM Geertjan Wielenga <
>>>> geertjan.wiele...@googlemail.com> wrote:
>>>>
>>>>> Every time you press Enter it pops up?
>>>>>
>>>>> That's strange and not something I've ever seen.
>>>>>
>>>>> Has that always been the case?
>>>>>
>>>>> Gj
>>>>>
>>>>> On Mon, Jul 12, 2021 at 7:19 AM John Lavelle <j...@jql.co.uk> wrote:
>>>>>
>>>>>> Geertjan,
>>>>>>
>>>>>> The only way to disable it is to turn it off for *all* languages, not
>>>>>> just HTML.
>>>>>>
>>>>>> Auto complete in HTML is very intrusive unlike say for PHP.
>>>>>>
>>>>>> I find auto complete useful in general but in HTML every time you
>>>>>> press enter it pops up and you have to press Escape before typing. Quite
>>>>>> often, if you're changing between languages, you forget to press escape 
>>>>>> and
>>>>>> have to delete the "suggestions"
>>>>>>
>>>>>> Best regards,
>>>>>> John Lavelle
>>>>>> j...@jql.co.uk
>>>>>>
>>>>>> Sent via awful Android
>>>>>>
>>>>>> On Sun, 11 Jul 2021, 22:35 Geertjan Wielenga, <
>>>>>> geertjan.wiele...@googlemail.com> wrote:
>>>>>>
>>>>>>> Trying to look into this, but not sure what the aim is -- why does
>>>>>>> code completion need to be disabled for HTML? I.e., if you don't call 
>>>>>>> it up
>>>>>>> via Ctrl-Space, you won't see it, right?
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Thu, Jul 8, 2021 at 10:59 AM John Lavelle <j...@jql.co.uk> wrote:
>>>>>>>
>>>>>>>> Emi,
>>>>>>>>
>>>>>>>> Many thanks for that. Any chance you can give me a "heads-up" on
>>>>>>>> the xml file name?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> John
>>>>>>>> j...@jql.co.uk
>>>>>>>> Bike Farkles:
>>>>>>>> https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ
>>>>>>>> JLavelle.uk <http://jlavelle.uk/>
>>>>>>>> https://www.youtube.com/jlavelleuk
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Jul 8, 2021 at 9:30 AM Emilian Bold <emilian.b...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Back when I was working on this each such settings had a property
>>>>>>>>> that
>>>>>>>>> was being saved by NetBeans. So, just because there's no UI for it
>>>>>>>>> it
>>>>>>>>> doesn't mean you can't make a simple module that tweaks that
>>>>>>>>> property
>>>>>>>>> or just hand-edit an XML in your userdir.
>>>>>>>>>
>>>>>>>>> So now, the questions just is how was that property called?
>>>>>>>>>
>>>>>>>>> You can probably learn it by just tweaking the property in an older
>>>>>>>>> NetBeand then diff-ing the files. I'd guess just copying the XML to
>>>>>>>>> the 12.4 user dir would do the trick.
>>>>>>>>>
>>>>>>>>> --emi
>>>>>>>>>
>>>>>>>>> On Thu, Jul 8, 2021 at 10:24 AM John Lavelle <j...@jql.co.uk>
>>>>>>>>> wrote:
>>>>>>>>> >
>>>>>>>>> > BUMP! BUMP!
>>>>>>>>> >
>>>>>>>>> > I assume that no one uses HTML in NetBeans so has no experience
>>>>>>>>> of this?
>>>>>>>>> >
>>>>>>>>> > Any answers or suggestions?
>>>>>>>>> >
>>>>>>>>> > Regards
>>>>>>>>> > John
>>>>>>>>> >
>>>>>>>>> > BUMP!
>>>>>>>>> >
>>>>>>>>> > Can anyone shed any light on this?
>>>>>>>>> >
>>>>>>>>> > Thanks
>>>>>>>>> > John
>>>>>>>>> >
>>>>>>>>> > Hi,
>>>>>>>>> >
>>>>>>>>> > You used to be able to disable the Auto Completion pop-up for
>>>>>>>>> HTML by deleting (must be deleted not just disabled) the items in
>>>>>>>>> "Tools>Palette>Code Clips" (why?) then in "Tools>Options>Editor>Code
>>>>>>>>> Completion>HTML" deselecting "Auto Popup Completion Window".
>>>>>>>>> >
>>>>>>>>> > In 12.4 it seems the only way to disable Code Completion for
>>>>>>>>> HTML is to disable it for every language in the "All languages" Code
>>>>>>>>> Completion section.
>>>>>>>>> >
>>>>>>>>> > Is there a way to disable Code Completion just for one language
>>>>>>>>> as the "old" system no longer seems to work correctly?
>>>>>>>>> >
>>>>>>>>> > Best regards,
>>>>>>>>> > John
>>>>>>>>> > j...@jql.co.uk
>>>>>>>>> > Bike Farkles:
>>>>>>>>> https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ
>>>>>>>>> > JLavelle.uk <http://jlavelle.uk/>
>>>>>>>>> https://www.youtube.com/jlavelleuk
>>>>>>>>>
>>>>>>>>
>>
>

Reply via email to