Re: NetBeans Platform Editors (Advanced)
My guess is that while you are typing with the code completion popup open you are filling in the completion hint. While you are doing that I guess there is no parsing going on so all the existing highlighting is kept and the error hints cleared. Once the popup is closed you are re-parsing and then get the hints again. Not sure why for .java it's different, there may be some flag for it. As for the embedded JEditorPane, are any other things missing? Can you set a bookmark? --emi On Wed, Nov 7, 2018 at 6:28 PM Graeme Ingleby wrote: > > I have followed all the online tutorials I can find related to Lexing, > Parsing & Code Completion. > > > > I have implemented my own language (a query language for search/filter) using > ANTLR. Syntax Highlighting works. Code completion appears to work. > Parsing/Error Hints get triggered after a short delay and appear to be > working. I say appear to work because the functionality works individually. > > > > However, I’ve noticed if I have grammatical errors in my file the Error Hints > disappear when the Code-Completion window is opened and the user continues to > type (to filter the code-completion popup). The error hints are displayed > again as soon as the code-completion window is closed. > > > > So I can have syntax highlighting & errors or syntax highlighting & code > completion but not syntax highlighting, error hints and code completion. > > > > When editing a .java file in NetBeans you can see error hints while code > completion is open and the user continues typing (filtering the code > completion window). > > > > I have noticed when editing a .js (javascript) file in NetBeans the editor > behaves the way my language behaves – the parsing error hints disappear if > the code-completion popup is visible and the user continues typing/filters > the code-completion suggestions. > > > > I am using the default Editor behavior when opening a custom file type. > > > > Could someone familiar with the parsing/editing APIs help point me in the > right direction? I would really like the behavior to be the same as editing > a .java file. > > > > One other issue that’s kind of related. I then changed my data object so > that it opens a custom editor rather than the default editor because > ultimately I want my editor to be a text field embedded into another > top-component rather than a standalone editor. Again I followed the > tutorials dealing with this type of functionality. > > > > In my custom editor I create a JEditorPane, set the editor kit for my MIME > type. Bind the component to the document. Syntax highlighting and > Code-Completion are functional but the parsing/error hints never activate. > I am trying to figure out what needs to be added to get the parsing/editor > hints functional. > > > > Many Thanks > > > > -Graeme - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Apache NetBeans 10 vc-3: looks solid
Hi Emilian, In response to your question, from my point of view, if we release on any date in November, that would be awesome, regardless if it's exactly the middle of the month (seems unlikely) or a week or so later. Gj On Wed, Nov 7, 2018 at 12:42 PM Emilian Bold wrote: > I don't suppose the Nov 15th date shown on > https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule > includes the 3 days we have to keep the incubator vote, right? > > So we are looking for Nov 19th for the actual release date, right? > > --emi > On Wed, Nov 7, 2018 at 1:09 PM Geertjan Wielenga > wrote: > > > > Hi all, > > > > Laszlo has put together the 3rd voting candidate, with all info collected > > over here: > > > > https://blogs.apache.org/netbeans/entry/is-apache-netbeans-10-ready > > > > I've seen several people closing issues over the past few days because > > they're found that they;ve been solved in 10-vc2 or 10-vc3. > > > > We're getting to the end of the survey deadline, i.e., November 11th COB. > > > > That means, unless we find actual real blockers that should prevent > Apache > > NetBeans 10 from being released, we'll start voting on the sources > > (remember, Apache does not release binaries, it releases sources, at most > > the binaries are known as 'convenience binaries, but that's not the focus > > of an Apache release): > > > > > https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule > > > > We do need to, of course, work on the many non-blocking issues that have > > been uncovered, and need to put together a plan for that, starting with > > evaluating them (maybe we can assign a set number per week to ourselves, > > e.g., evaluate 10 per week per person, something like that), and then > > tackle solving them. > > > > Anyway, this is where we are -- please get hold of 10-vc3, try to > reproduce > > your issues, fill in the survey, next week we should begin the official > > PPMC vote thread for the release. > > > > Thanks, > > > > Gj > > - > To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org > For additional commands, e-mail: netcat-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
NetBeans Platform Editors (Advanced)
I have followed all the online tutorials I can find related to Lexing, Parsing & Code Completion. I have implemented my own language (a query language for search/filter) using ANTLR. Syntax Highlighting works. Code completion appears to work. Parsing/Error Hints get triggered after a short delay and appear to be working. I say appear to work because the functionality works individually. However, I’ve noticed if I have grammatical errors in my file the Error Hints disappear when the Code-Completion window is opened and the user continues to type (to filter the code-completion popup). The error hints are displayed again as soon as the code-completion window is closed. So I can have syntax highlighting & errors or syntax highlighting & code completion but not syntax highlighting, error hints and code completion. When editing a .java file in NetBeans you can see error hints while code completion is open and the user continues typing (filtering the code completion window). I have noticed when editing a .js (javascript) file in NetBeans the editor behaves the way my language behaves – the parsing error hints disappear if the code-completion popup is visible and the user continues typing/filters the code-completion suggestions. I am using the default Editor behavior when opening a custom file type. Could someone familiar with the parsing/editing APIs help point me in the right direction? I would really like the behavior to be the same as editing a .java file. One other issue that’s kind of related. I then changed my data object so that it opens a custom editor rather than the default editor because ultimately I want my editor to be a text field embedded into another top-component rather than a standalone editor. Again I followed the tutorials dealing with this type of functionality. In my custom editor I create a JEditorPane, set the editor kit for my MIME type. Bind the component to the document. Syntax highlighting and Code-Completion are functional but the parsing/error hints never activate. I am trying to figure out what needs to be added to get the parsing/editor hints functional. Many Thanks -Graeme
Re: Apache NetBeans 10 vc-3: looks solid
I don't suppose the Nov 15th date shown on https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule includes the 3 days we have to keep the incubator vote, right? So we are looking for Nov 19th for the actual release date, right? --emi On Wed, Nov 7, 2018 at 1:09 PM Geertjan Wielenga wrote: > > Hi all, > > Laszlo has put together the 3rd voting candidate, with all info collected > over here: > > https://blogs.apache.org/netbeans/entry/is-apache-netbeans-10-ready > > I've seen several people closing issues over the past few days because > they're found that they;ve been solved in 10-vc2 or 10-vc3. > > We're getting to the end of the survey deadline, i.e., November 11th COB. > > That means, unless we find actual real blockers that should prevent Apache > NetBeans 10 from being released, we'll start voting on the sources > (remember, Apache does not release binaries, it releases sources, at most > the binaries are known as 'convenience binaries, but that's not the focus > of an Apache release): > > https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule > > We do need to, of course, work on the many non-blocking issues that have > been uncovered, and need to put together a plan for that, starting with > evaluating them (maybe we can assign a set number per week to ourselves, > e.g., evaluate 10 per week per person, something like that), and then > tackle solving them. > > Anyway, this is where we are -- please get hold of 10-vc3, try to reproduce > your issues, fill in the survey, next week we should begin the official > PPMC vote thread for the release. > > Thanks, > > Gj - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: What is the latest version of Netbeans?
Here's the download page: https://netbeans.apache.org/download/index.html Apache NetBeans 9 is the latest release. We're working on Apache NetBeans 10 right now, you're welcome to join in: 1. Download the current voting candidate: https://dist.apache.org/repos/dist/dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc3/incubating-netbeans-10.0-vc3-bin.zip 2. Fill in the survey: https://goo.gl/forms/jCzBLA34hNZb4k5G2 Gj On Wed, Nov 7, 2018 at 8:02 AM Varuna Seneviratna < varunasenevira...@gmail.com> wrote: > Hello, > There are two branches of Netbeans to download. Which version is > best to download. Are the two branches going to continue?. >