Hey Matthias,

so I tried ant tryme and everything works as expected. I opened an html file 
and added the code const el = document.createElement('div'); after this I 
called el. And code completion shows me classList. So this is working.

When I hit enter to add classList to the HTML file I ctrl + click to go to the 
documentation but the IDE freezes. I dunno whether I was still in an indexing 
Phase but after restarting the test build it happens again. Just an 
Information. Log doesn’t Show error and also I can’t navigate into NetBeans 
anymore due to the Freeze.


Cheers

Chris

Von: Matthias Bläsing
Gesendet: Montag, 16. Mai 2022 22:13
An: dev@netbeans.apache.org
Betreff: Re: Add mssing suggestions to javascript?

Hi Christian,

thank you for testing. 

Am Montag, dem 16.05.2022 um 21:21 +0200 schrieb Christian Lenz:
> so it seems, that the new Generation of the stubs file didn’t work
> out for me or Maybe I was stupid and I had to call the ts script by
> my own. All he stubs are still from 2015. I just found the classList
> property im this file with line: stub_DOM_Element.js:L486

The idea is this: The generator proposed here:

https://github.com/apache/netbeans-tools/pull/50

is used to generate the bindings once and not at build time. The
generated bindings are stored on the binary server and downloaded at
buildtime.

The change is here:

https://github.com/apache/netbeans/pull/4058/commits/8acd73308ce06e5668886304ee2891cf46d3f71a

See the binaries-list in there. In this state of the PR the download is
configured to be fetched from my system, which will be updated to the
main netbeans binary server when this PR is ready to be integrated (I
don't want to mess up the binary server with unreleased artifacts).

> classList is not Part in my HTMLElement.js. So there was smth broken
> while Building Maybe. Will test to build it again, but I think it was
> just a failure on my machine.

Please ensure, that you build that branch or a branch that has the PR
merged. The relevant commit is:

b5adadc15b09dd2fcf691987d216ba80545a285d

You can use CLI git to check:

git branch --contains b5adadc15b09dd2fcf691987d216ba80545a285d

This should show you your current checkout.

Before you build please ensure, that the checkout is clean:

git clean -f -x -d

You can also try this build:

https://doppel-helix.eu/NetBeans-dev-dev-b5adadc15b09dd2fcf691987d216ba80545a285d-release.zip

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Reply via email to