Hi null, Am Sonntag, dem 06.03.2022 um 17:48 +0000 schrieb [email protected]: > the code suggestions for javascript is missing some recent stuff, for > example > ``` > const el = document.createElement('div'); > el.class > ``` > For example in the above code the > [`Element.classList`](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList) > > is not suggested. > So I would like to try to add some javascript suggestions. > > I'm a total beginner, how to get started with this task?
the code completion is generated from stubs, that can be found in the javascript2.editor module: https://github.com/apache/netbeans/blob/d9bd08eee487bd4492429f0aea1f4b48e49cfc35/webcommon/javascript2.editor/external/binaries-list#L17-L19 The stubs are downloaded and included in the final binary. To update to current state, the stubs need to be rebuild. The big question: Where to find a basis for that. Greetings Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
