Newbie questions

2019-07-24 Thread Peter Cheung
Dear All How to maintain there is only one instance of a topcomponent window of a specific class? How to close all topcomponent of a specific class? Thanks >From Peter

Re: Re: Newbie questions

2019-07-25 Thread Peter Cheung
bject line when you start a new thread? > > On Thu, Jul 25, 2019 at 8:53 AM Geertjan Wielenga > wrote: > > > More details needed, the context, the why, etc. > > > > Gj > > > > On Thu, Jul 25, 2019 at 6:35 AM Peter Cheung > > wrote: > > > &g

Re: Newbie questions

2019-07-25 Thread Peter Cheung
Thanks a lot gentlemen, let me improve myself. On 25 Jul 2019, at 11:53 PM, Geertjan Wielenga mailto:geert...@apache.org>> wrote: On Thu, Jul 25, 2019 at 5:21 PM Peter Cheung mailto:mcheun...@hotmail.com>> wrote: I am not sure why my reason is so important, The reason is it

Re: Newbie questions

2019-07-25 Thread Peter Cheung
g "Windows -> IDE Tools -> Properties". For property sheet extension, this tutorial might help: https://platform.netbeans.org/tutorials/nbm-property-editors.html Kind regards Peter Am 25.07.19 um 17:15 schrieb Peter Cheung: > I am not sure why my reason is so important, bu

Re: Newbie questions

2019-07-28 Thread Peter Cheung
-visual_library.html and more available from https://netbeans.org/kb/trails/platform.html Regards, P. Am 25.07.19 um 18:37 schrieb Peter Cheung: > Dear Peter > I prefer not to use the traditional properties window. What i am doing > is to build a 'logic simulator' in netbeans for peopl

Can anyone give me a help about developing antlr formatter

2019-09-15 Thread Peter Cheung
Hi All Can anyone give me a help about developing antlr formatter? Where i can get an example to develop a custom formatter? Thanks >From Peter

Re: Can anyone give me a help about developing antlr formatter

2019-09-19 Thread Peter Cheung
ent that might be useful for that. You want to format a language that has an Antlr grammar, right? -Tim On Sun, Sep 15, 2019 at 11:43 AM Peter Cheung wrote: > Hi All > Can anyone give me a help about developing antlr formatter? Where i > can get an example to develop a custom formatt

Re: Can anyone give me a help about developing antlr formatter

2019-09-24 Thread Peter Cheung
e out *what* broke it, so instant feedback as you edit a grammar is a necessity). I haven't add formatting back in yet, though. But I'll keep you posted. -Tim On Fri, Sep 20, 2019 at 1:17 AM Peter Cheung wrote: > Dear Tim >Yes, i want to

Re: Can anyone give me a help about developing antlr formatter

2019-10-01 Thread Peter Cheung
I finally found an example https://github.com/iconmaster5326/SourceNetbeansPlugin/blob/cb739ae7d1017e4db88fe2e517bf3e8d816ca4e3/src/com/iconmaster/srcplugin/editor/SourceReformatFactory.java Thanks >From Peter From: Peter Cheung Sent: Tuesday, September

Re: Can anyone give me a help about developing antlr formatter

2019-10-01 Thread Peter Cheung
Dear Tim Sorry i am doing my own antlr plugin https://gitlab.com/mcheung63/netbeans-antlr to support my compiler development which using antlr. If you plugin can well format antlr, then i can focus my compiler rather than antlr in netbeans. thanks Peter

maven-compiler-plugin problem

2019-10-05 Thread Peter Cheung
Hi I have a maven library which is used by a maven netbeans module project. This is ok: maven-compiler-plugin 3.8.1 1.8 1.8 But if change to 1.9. It has exception when building the netbeans module maven-compiler-plugin 3.8.1 1.9 1.9

Re: maven-compiler-plugin problem

2019-10-05 Thread Peter Cheung
lugin describes how to report a bug/improvement. thanks, Robert On Sat, 05 Oct 2019 14:18:32 +0200, Peter Cheung wrote: > Hi > I have a maven library which is used by a maven netbeans module > project. > > This is ok: > > >maven-compiler-plugin >

Re: maven-compiler-plugin problem

2019-10-07 Thread Peter Cheung
s > nbm-maven-plugin > 4.2 > > Regards > Eric > > -Message d'origine- > De : Peter Cheung > Envoyé : dimanche 6 octobre 2019 05:17 > À : dev@netbeans.apache.org > Objet : Re: maven-compiler-plugin problem > > Thank you very much Robert > >

Re: Can anyone give me a help about developing antlr formatter

2019-10-09 Thread Peter Cheung
so perhaps I could get some out there. -Tim On Wed, Oct 2, 2019 at 2:08 AM Peter Cheung wrote: > Dear Tim >Sorry i am doing my own antlr plugin > https://gitlab.com/mcheung63/netbeans-antlr to support my compiler > development which using antlr. If you plugin can well f

Re: maven-compiler-plugin problem

2019-10-09 Thread Peter Cheung
ans useless. There is also a relocation mechanism in maven to make clear the change of groupid. Maybe we should improve NetBeans itself to detect latest version of the plugin. Best Regards Eric -Message d'origine----- De : Peter Cheung Envoyé : lundi 7 octobre 2019 15:48

nbm-maven-plugin detected wrong path

2019-10-09 Thread Peter Cheung
Hi Why my nbm-maven-plugin is detecting a wrong path, so when i run the netbeans module, it said: Failed executing NetBeans: Error while executing process. Cannot run program "/Users/peter/workspace/netbeans-quick-outline/VALUE/bin/netbeans": error=2, No such file or directory When i click

Re: nbm-maven-plugin detected wrong path

2019-10-09 Thread Peter Cheung
t probably netbeans pass this var to it. Is there any UI/tool/whatever i can view the value of this variable? thanks Peter ____ From: Peter Cheung Sent: Thursday, October 10, 2019 2:37 PM To: dev@netbeans.apache.org Subject: nbm-maven-plugin detected wrong path Hi

Re: Can anyone give me a help about developing antlr formatter

2019-10-10 Thread Peter Cheung
you are from Hong Kong?! What a coincidence that I will be there within a week. Despite all the issues, I'm looking forward. Sorry for the off topic. Am Do., 10. Okt. 2019 um 08:35 Uhr schrieb Peter Cheung < mcheun...@hotmail.com>: > Dear Tim > You are a great people and fu

Re: nbm-maven-plugin detected wrong path

2019-10-10 Thread Peter Cheung
rigine----- De : Peter Cheung Envoyé : jeudi 10 octobre 2019 08:49 À : dev@netbeans.apache.org Objet : Re: nbm-maven-plugin detected wrong path Hi All I check the source code of nbm-maven-plugin https://github.com/mojohaus/nbm-maven-plugin/blob/4f25f6a3f80f97a0fd9986b7df 38e7e9ed58d263/nbm-maven-p

nbm, from ant to maven, still hand

2019-10-10 Thread Peter Cheung
Hi I have rewrite my MavenRunner plugin from ant to maven, then i install it to my local netbeans, after a while (a few times i use netbenas), netbeans hang. This problem has been confused for a long time. Any hint? I check out the netbeans log, i don't see any wried thing. https://gitlab.co

Re: nbm, from ant to maven, still hand

2019-10-10 Thread Peter Cheung
sorry, typo in subject, i mean hang, not hand From: Peter Cheung Sent: Friday, October 11, 2019 2:46 AM To: dev@netbeans.apache.org Subject: nbm, from ant to maven, still hand Hi I have rewrite my MavenRunner plugin from ant to maven, then i install it to my

energy consumption

2019-10-13 Thread Peter Cheung
Hi All Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 can only stand for 1.5 hour max. Does the group has any plan to optimize it? Thanks >From Peter

Re: energy consumption

2019-10-13 Thread Peter Cheung
ound > ineffective. > > Scott > > > On Oct 13, 2019, at 6:06 PM, Peter Cheung wrote: > > > > Hi All > >Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 > can only stand for 1.5 hour max. Does the gro

Re: energy consumption

2019-10-13 Thread Peter Cheung
gt; > -Original Message- > From: Peter Cheung > Sent: Sunday, October 13, 2019 6:06 PM > To: dev@netbeans.apache.org > Subject: energy consumption > > Hi All > Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 > can only stand for 1.5 hour max. Does

Re: energy consumption

2019-10-14 Thread Peter Cheung
ig difference, though the GPU issue likely has something to do with it. -Tim On Sun, Oct 13, 2019 at 6:06 PM Peter Cheung wrote: > Hi All > Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 > can only stand for 1.5 hour max. Does the group has any plan to optimize it?

What is the correct way to install the modules in current computer

2019-10-15 Thread Peter Cheung
Hi Guys When you developing modules, you must want to install it locally when it reach a stable stage. How you do it? If i click "Install/Reload in Development IDE", the netbeans will hangs, so i believe it is not the recommended way. Thanks >From Peter

Re: What is the correct way to install the modules in current computer

2019-10-15 Thread Peter Cheung
ed to provide more info, if you want that fixed -- log messages. Also, it is better to always run a module into a different instance of NetBeans, which you can also do by right-clicking the module and choosing that option. Gj On Tue, Oct 15, 2019 at 9:11 AM Peter Cheung wrote: > Hi Guys >

Re: What is the correct way to install the modules in current computer

2019-10-15 Thread Peter Cheung
uld recommend you don't do that, you deploy it to a new instance. I don't know what UAT is. You can also simply install the NBM file, like any other NBM file. Gj On Tue, Oct 15, 2019 at 9:21 AM Peter Cheung wrote: > Dear Geertjan > Yes, i debug my module in different inst

Syntax highlighting question

2019-10-15 Thread Peter Cheung
Dear All I have developed a module (https://gitlab.com/mcheung63/netbeans-antlr) for antlr, it provides antlr grammar syntax highlight, but it is not perfect. I want to enhance it but problem is : antlr supports "embed action", which is in Java, so two languages in same file. To provide t

Re: What is the correct way to install the modules in current computer

2019-10-15 Thread Peter Cheung
, Peter Cheung wrote: > Dear Geertjan > Yes, i debug my module in different instance. But I feel my module is > quite stable now, so i want to do UAT for myself by installing it to my > netbeans. So far i do "Install/Reload in Development IDE", then netbeans > hangs, th

Re: Syntax highlighting question

2019-10-21 Thread Peter Cheung
). That's been on my todo list too - the original antlr plugin author had included a crude Antlr grammar for Java to do that, which isn't a terribly sensible way to do it when you have a really good Java parser available for use. -Tim On Tue, Oct 15, 2019 at 6:16 AM Peter Cheung wr

Re: Syntax highlighting question

2019-10-21 Thread Peter Cheung
I have read some of your code, your project seems a very large project, many modules in there. Thanks >From Peter From: Peter Cheung Sent: Tuesday, October 22, 2019 12:30 AM To: dev@netbeans.apache.org Subject: Re: Syntax highlighting question Dear

Netbeans hangs in Mac since Netbeans 8.2 to now

2019-11-05 Thread Peter Cheung
Hi All Netbeans hangs in Mac since Netbeans 8.2 to now. https://peter.quantr.hk/2019/11/netbeans-hangs-in-mac-since-netbeans-8-2-to-now/ thanks Peter

Re: Netbeans hangs in Mac since Netbeans 8.2 to now

2019-11-07 Thread Peter Cheung
reproduce the problem. Gj On Wed, Nov 6, 2019 at 3:23 AM Carl Mosca wrote: > Where can we get additional details? Perhaps I missed something in the > post. > > Regards, > Carl > > On Tue, Nov 5, 2019 at 9:19 PM Peter Cheung wrote: > > > Hi All > >Netbeans ha

Re: Netbeans hangs in Mac since Netbeans 8.2 to now

2019-11-07 Thread Peter Cheung
Netbeans 8.2 to now Ok I am now slightly more confused. What does your plugin do that can’t already be done in netbeans? Will try to look when at a computer next. On Thu, Nov 7, 2019 at 4:12 AM Peter Cheung wrote: > Dear Sir > Sorry my bad english, my plugins source is updated in. So

wrong error

2020-05-06 Thread Peter Cheung
Hi I am using Netbeans 11.3 with JDK13.0.2, netbeans said my file has error, but when i compile it using maven, it has no error. So anyway to stop it? Thanks >From Peter - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apach

Re: wrong error

2020-05-07 Thread Peter Cheung
forget this post, after i install nb-javac, it back to works. From: Peter Cheung Sent: Thursday, May 7, 2020 1:00 PM To: dev@netbeans.apache.org Subject: wrong error Hi I am using Netbeans 11.3 with JDK13.0.2, netbeans said my file has error, but when i

System.out.print(">") not working when F6

2020-06-02 Thread Peter Cheung
Hi System.out.print(">") not working when F6, nothing print out on screen. If I pack the program into jar and run it in dos prompt, it works. I don't know it is mvn bug or netbeans bug. I am using Netbeans 11.3 with JDK 13.0.2. Please help. Thanks >From Peter

Re: System.out.print(">") not working when F6

2020-06-02 Thread Peter Cheung
it probably a bug of maven or org.codehaus.mojo:exec-maven-plugin Thanks Gentlemen. ________ From: Peter Cheung Sent: Wednesday, June 3, 2020 12:57 AM To: dev@netbeans.apache.org Subject: System.out.print(">") not working when F6 Hi System.out.print(">") not

How to self host the plugins

2020-07-01 Thread Peter Cheung
Hi How to setup a web server to self-host the plugins? Thanks >From Peter

Re: How to self host the plugins

2020-07-02 Thread Peter Cheung
will be served. Tiny and efficient. One caveat: set up your build so the version is NOT appended to the nbm file’s name, so the URL is the same for every build. -Tim On Wed, Jul 1, 2020 at 10:08 PM Peter Cheung wrote: > Hi >How to setup a web server to self-host the plugins? &g

Re: How to self host the plugins

2020-07-10 Thread Peter Cheung
possible? I mean the infrastructure is also there, when I build and deploy my plugins via GitHub actions and I also have the NBM files at the end. Cheers Chris Von: Peter Cheung Gesendet: Donnerstag, 2. Juli 2020 12:17 An: dev@netbeans.apache.org Betreff: Re: How to self host the plugins Thanks

mojo:exec-maven-plugin

2020-07-15 Thread Peter Cheung
hi if i run the file, it will invoke maven with parameter 😊 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec" How can i change the version number of exec-maven-plugin from 1.5.0 to other version? Thanks From Peter [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]

Re: mojo:exec-maven-plugin

2020-07-15 Thread Peter Cheung
forget this post. i solved by setting "actions" in "project properties" Thanks From Peter ________ From: Peter Cheung Sent: Wednesday, July 15, 2020 8:49 PM To: dev@netbeans.apache.org Subject: mojo:exec-maven-plugin hi if i run the file, it wi

can't lookup current project

2021-10-25 Thread Peter Cheung
Hi All These give me null: Lookup lookup = Utilities.actionsGlobalContext(); Project project = lookup.lookup(Project.class); This also null: OpenProjects.getDefault().getMainProject() How can I find the current selected project? thanks Thanks >From Peter (System Architect, Quantr Limited

verilog plugin

2021-10-31 Thread Peter Cheung
Hi This is our verilog plugin for netbeans https://www.quantr.foundation/project/netbeansverilog Thanks >From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : >96554595)

Verilog plugin

2021-11-08 Thread Peter Cheung
Hope you like it https://gitlab.com/quantr/toolchain/netbeans-verilog Peter

project files not auto refresh

2021-11-12 Thread Peter Cheung
Hi I am developing verilog plugins, i creatre a new project type. When the file is deleted in the fs, the project tree won't auto refresh. Any hints please? thanks Peter /* * Copyright 2021 Peter . * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this

New theme for netbeans, team member wanted

2021-11-22 Thread Peter Cheung
Dear All My name is Peter, from Quantr Limited. I love Netbeans and have been developed few plugins for it. This proves my ambition in Netbeans. https://gitlab.com/quantr/toolchain/netbeans-verilog https://gitlab.com/mcheung63/netbeans-quick-outline https://gitlab.com/mcheung63/MavenRunner h

Re: project files not auto refresh

2021-11-24 Thread Peter Cheung
Von: Laszlo Kishalmi Gesendet: Montag, 15. November 2021 06:02 An: dev@netbeans.apache.org Betreff: Re: project files not auto refresh Just set up a watcher on your project files. On 11/12/21 20:35, Peter Cheung wrote: > Hi > I am developing verilog plugins, i creatre a new project type.

Re: New theme for netbeans, team member wanted

2021-11-24 Thread Peter Cheung
change in NetBeans and show us some examples and let us discuss about it 😊. Cheers Chris Von: Peter Cheung Gesendet: Dienstag, 23. November 2021 04:38 An: dev@netbeans.apache.org Betreff: New theme for netbeans, team member wanted Dear All My name is Peter, from Quantr Limited. I love Net

Re: New theme for netbeans, team member wanted

2021-12-05 Thread Peter Cheung
o the style guide and perhaps pull it out of the JIRA issue and into a separate Confluence page.) -- Eirik -Original Message- From: Peter Cheung Sent: Wednesday, November 24, 2021 9:18 AM To: dev@netbeans.apache.org Subject: Re: New theme for netbeans, team member wanted Hi Eirik

Re: New theme for netbeans, team member wanted

2021-12-14 Thread Peter Cheung
for vectorizing NetBeans icons so far, and give you an idea of the work involved. If others are interested in joining, feel free to chime in. (We can write a summary for the mailing list afterwards.) -- Eirik -----Original Message- From: Peter Cheung mailto:mcheun...@hotmail.com>> Sen

Re: New theme for netbeans, team member wanted

2021-12-23 Thread Peter Cheung
10.00-22.00 UTC Tuesday or Wednesday would work, for instance. Just let me know which time slot you prefer. -- Eirik -Original Message- From: Peter Cheung Sent: Tuesday, December 14, 2021 7:06 PM To: Geertjan Wielenga ; dev@netbeans.apache.org Subject: Re: New theme for netbeans, team

Re: New theme for netbeans, team member wanted

2021-12-25 Thread Peter Cheung
Thanks, accepted your request. Merry Xmas too Thanks From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 96554595) From: Eirik Bakke Sent: Saturday, December 25, 2021 9:18 PM To: Peter Cheung Cc: Peter Cheung ; dev

Re: New theme for netbeans, team member wanted

2022-01-01 Thread Peter Cheung
ok Thanks >From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : >96554595) From: Eirik Bakke Sent: Saturday, January 1, 2022 8:04 PM To: dev@netbeans.apache.org Cc: Arafat BOUCHAFRA ; Peter Cheung ; Peter Cheung Subject: R

Re: Add support for other programming languages

2022-01-02 Thread Peter Cheung
Me, C#, happy to join From: John Kostaras Sent: Friday, December 31, 2021 10:41 PM To: dev@netbeans.apache.org Subject: Add support for other programming languages If you are interested in contributing in maintaining other programming languages support for NetBea

Re: New theme for netbeans, team member wanted

2022-01-18 Thread Peter Cheung
rg Cc: Arafat BOUCHAFRA ; Peter Cheung ; Peter Cheung Subject: RE: New theme for netbeans, team member wanted I think I understand your goal, and this thread now has a good summary of pros and cons. Again, this is really up to whoever does the icon drawing work. Myself, I have just contributed the

RE: New theme for netbeans, team member wanted

2022-01-18 Thread Peter Cheung
Loop in Miss Venus, she is our designer From: Arafat BOUCHAFRA Sent: Tuesday, January 18, 2022 1:58 PM To: Peter Cheung Subject: Re: New theme for netbeans, team member wanted Hi Peter, You have done an amazing job. Only, I want to know if the icons are pixelized or not. King regards Le

Re: New theme for netbeans, team member wanted

2022-01-18 Thread Peter Cheung
Dear Eirik & All Let's have a wrap-up meeting next week? Thanks >From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : >96554595) ____ From: Peter Cheung Sent: Tuesday, January 18, 2022 11:36 AM To: Eirik Bakke ; dev@netb

support gitlab

2022-04-16 Thread Peter Cheung
Dear Netbeans team Does netbeans has plan to support publish plugin via gitlab maven repo? and login plugin central by gitlab? Thanks >From Peter

support debugger for new language

2022-06-03 Thread Peter Cheung
Dear All I am developing netbeans module to support verilog (https://gitlab.com/quantr/toolchain/netbeans-verilog) . Anyone can send me a tutorial/example about hooking netbeans to a new debugger, please? thanks Peter

Re: support debugger for new language

2022-06-04 Thread Peter Cheung
Thank you Matthias From: Matthias Bl?sing Sent: Sunday, June 5, 2022 2:06 AM To: dev@netbeans.apache.org Subject: Re: support debugger for new language Hi Peter, Am Freitag, dem 03.06.2022 um 18:38 + schrieb Peter Cheung: > I am developing netbe

netbeans-antlr pluging, click on the current editor event

2022-06-14 Thread Peter Cheung
Dear Sir/Madam I want to enhance my netbeans-antlr plugin (https://gitlab.com/quantr/toolchain/netbeans-antlr) by allowing people to click on the editor and highlight the token in the tree view. How can I subscribe the click event of the current editor? Thanks >From Peter (System Archite

Netbeans module development

2022-07-02 Thread Peter Cheung
Hi We are building the verilog plugin to display instructmentation data from verilator. Is there any API to highlight some rows in the editor and paint some text behind some specific lines? Thanks >From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : >96554595)

my plugins rely on maven plugin but don't know how to load it programatically

2022-07-19 Thread Peter Cheung
Hi I am creating a new project type for RISC-V. The below code only work when my netbeans loaded maven plugin. Is it possible to let netbeans load my plugin and auto load maven plugin together? How can my netbeans modules got the mvn path? i found "mavenHome = EmbedderFactory.getEffec

netbeans module coding questions

2022-09-07 Thread Peter Cheung
hi 1. I want to customize the editor's side bar (the one showing the line number), I want to add some icon to it. Any example for this? 2. The highlightfactory + highlighter is highlighting the editor by char offset. Is it possible to highlight some rows? thanks Peter

Re: netbeans module coding questions

2022-09-24 Thread Peter Cheung
am i being blocked? whatever i ask, no one willing to answer 🙁 Thanks From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 96554595) From: Peter Cheung Sent: Thursday, September 8, 2022 1:46 AM To: dev@netbeans.apache.org Subject

Re: netbeans module coding questions

2022-09-25 Thread Peter Cheung
oh my god, i feel full of love now. i thought netbeans community is dead From: Ernie Rael Sent: Saturday, September 24, 2022 11:28 PM To: dev@netbeans.apache.org ; Peter Cheung Subject: Re: netbeans module coding questions There are some excellent answers

super confuse for years

2022-09-26 Thread Peter Cheung
Dear All I have been super confused by these for many years, what is the difference? when I use should which? 1. Lookup.getDefault().lookupAll 2. DataObject.find(FileUtil.toFileObject(realFile)).getLookup().lookupAll 3. Utilities.actionsGlobalContext().lookupAll 4. TopComponent.g

Re: super confuse for years

2022-09-28 Thread Peter Cheung
> lookup. > > > var list = TopComponent.getRegistry().getOpened(); > >for(TopComponent item : list){ > > if(item instanceof CloneableTopComponent){ > > > > System.out.println(item.getLookup().lookup(FileObject.class)); > >

verilog plugin

2022-09-29 Thread Peter Cheung
Hi 1. I made this funny plugin can single-step the Verilog code https://www.youtube.com/watch?v=cPjEUe2uY8I 2. I am using DefaultHighlighter to paint something on editor, but how can we get the editor zoom ratio in order to paint in correct position? thanks Thanks >From Peter (System Arc

Re: verilog plugin

2022-09-29 Thread Peter Cheung
this should work but it doesn't System.out.println("TEXT_ZOOM_PROPERTY=" + textComponent.getClientProperty("TEXT_ZOOM_PROPERTY")); ________ From: Peter Cheung Sent: Thursday, September 29, 2022 5:14 PM To: dev@netbeans.apache.org Subject: v

Re: verilog plugin

2022-09-29 Thread Peter Cheung
i am stupid, this works textComponent.getClientProperty("text-zoom") ____ From: Peter Cheung Sent: Thursday, September 29, 2022 5:20 PM To: dev@netbeans.apache.org Subject: Re: verilog plugin this should work but it doesn't System.out.println(&quo

Netbeans action question

2023-02-11 Thread Peter Cheung
Hi I have added a new datatype and an action associate for it. If i right click the file in "projects" window then i see the menu. If i right click on the file content, OR right click the file tab, that action disappears. May I know how to add it to them? Thanks >From Peter (System Archite

reuse existing icon

2023-03-24 Thread Peter Cheung
Hi I try to extends the text/x-java and add a new multiview. How to reuse existing icon? @MultiViewElement.Registration( displayName = "#LBL_Java_Disasm", //  iconBase = "hk/quantr/jcd/javaLogo16_16.png", <--- what should i fill in here? mimeType = "text/x-j

Re: reuse existing icon

2023-04-02 Thread Peter Cheung
ference it from iconBase. (Or perhaps you can reference the icon in the NetBeans module directly if your module has a direct dependency on the NetBeans module; I'm not sure how the classloader stuff works here.) -- Eirik -Original Message----- From: Peter Cheung Sent: Friday, March 24

form build icons

2023-04-02 Thread Peter Cheung
Hi I have imported my own java swing components, but how can i define the icons? [cid:ba10a08e-82f1-44c8-9300-23f7f38f2712] Thanks >From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : >96554595)

Brad Walker

2023-09-02 Thread Peter Cheung
Hello Mr Brad Walker contacted me months ago and we replied him, but we got no reply from him. We are ok to share our plugins to Netbeans society. thanks Peter >My name is Brad Walker and I work on the Netbeans project. My real job is to >work as an embedded developer. And that is why I'm se

Re: Brad Walker

2023-10-08 Thread Peter Cheung
hat use it as well as grow the > project. > > -brad w. > > On Sat, Sep 2, 2023 at 9:39 AM Peter Cheung wrote: > > > Hello > >Mr Brad Walker contacted me months ago and we replied him, but we got > > no reply from him. We are ok to share our plugins to Netbeans

How to build a tailor-made "watches" window

2024-01-02 Thread Peter Cheung
Hi How to build a tailor-made "watches" window. I am developing RISC-V simulator using Netbeans, there is over 100 registers I want to print out on screen. It is from different variables such as hashmap and arraylist. What function I can call to dump a variable value during debug mode? Than

Re: How to build a tailor-made "watches" window

2024-01-04 Thread Peter Cheung
let me answer myself again DebuggerManager.getDebuggerManager().createWatch(name); From: Peter Cheung Sent: Wednesday, January 3, 2024 12:57 AM To: dev@netbeans.apache.org Subject: How to build a tailor-made "watches" window Hi How to build a t

why plugin portal 2.0 don't allow us to upload nbm directly?

2024-07-28 Thread Peter Cheung
Hi why plugin portal 2.0 don't allow us to upload nbm directly? It needs us to sync our source to maven central before we can publish our plugins. In portal 1.0 we just need to upload nbm file so it would be nicer. thanks Peter

I have some plugins left in 8.2

2019-04-23 Thread Peter Cheung
Hi I have some plugins left in 8.2, i want to upgrade them to netbeans 11. Is the maven repo ready? Thanks >From Peter [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]

Upgrading plugins to 11.0

2019-07-01 Thread Peter Cheung
Dear All I have upgraded three maven based plugin to 11.0, all doing well, except this one "https://gitlab.com/mcheung63/netbeans-antlr"; When i debug this project, i click "run" button on the toolbar, new netbeans comes up and all work fine. After i think it is stable, then i click "Install

Re: Upgrading plugins to 11.0

2019-07-01 Thread Peter Cheung
License Version 2.0 LICENSE.txt Thanks >From Peter From: Peter Cheung Sent: Tuesday, July 2, 2019 3:00 AM To: dev@netbeans.apache.org Subject: Upgrading plugins to 11.0 Dear All I have upgraded three maven based plugin to 11.0, all doing well, exc

Is this design weird

2019-07-11 Thread Peter Cheung
Hi In mac, when i mouse over any word in editor and press "command" key, even the word in comment, it will show highlight that word and show the "click" cursor, but that word doesn't have "go to source" destination. So even i click on it, it has no effect. If no effect, it shouldn't highlight

Re: Is this design weird

2019-07-11 Thread Peter Cheung
This is not good. Gj On Thu, Jul 11, 2019 at 12:37 PM Peter Cheung wrote: > Hi >In mac, when i mouse over any word in editor and press "command" key, > even the word in comment, it will show highlight that word and show the > "click" cursor, but that word doe

Re: Is this design weird

2019-07-11 Thread Peter Cheung
OK, thank you From: Christian Lenz Sent: Thursday, July 11, 2019 7:28 PM To: dev@netbeans.apache.org Subject: AW: Is this design weird It came with NetBeans 10.0 afaik. Cheers Chris Von: Emilian Bold Gesendet: Donnerstag, 11. Juli 2019 13:27 An: dev@netbeans

HyperlinkProvider::isHyperlinkPoint returns wrong offset

2019-07-11 Thread Peter Cheung
Hi all My netbeans-antlr plugin supports jump to source feature, it works well in Netbeans 8.2. I upgrade it to Netbeans 11 without changing any code, and I found HyperlinkProvider::isHyperlinkPoint giving me wrong offset. Any hints for it? http://bits.netbeans.org/dev/javadoc/org-netbeans-

Re: Is this design weird

2019-07-12 Thread Peter Cheung
tps://issues.apache.org/jira/browse/NETBEANS-2343 > > > Cheers > > Chris > > > > Von: Peter Cheung > Gesendet: Donnerstag, 11. Juli 2019 13:13 > An: dev > Betreff: Re: Is this design weird > > is my subject misleading? being offence? or? > > > Thanks > From

Re: Is this design weird

2019-07-13 Thread Peter Cheung
r: maybe you want to subscribe and vote on that issue? --emi On Thu, Jul 11, 2019 at 2:26 PM Christian Lenz wrote: > > FYI: https://issues.apache.org/jira/browse/NETBEANS-2343 > > > Cheers > > Chris > > > > Von: Peter Cheung > Gesendet: Donnerstag, 11. Juli 2019 1

HyperlinkProvider::performClickAction won't fire

2019-07-13 Thread Peter Cheung
Hi All HyperlinkProvider::performClickAction() won't fire even i force isHyperlinkPoint() to return true. Any hints? Thanks >From Peter

Re: HyperlinkProvider::performClickAction won't fire

2019-07-13 Thread Peter Cheung
If i ctrl-click on some space/tab position, it fires. It seems netbeans 11 eating the event when i ctrl-click on words. I am not sure. Thanks >From Peter From: Peter Cheung Sent: Saturday, July 13, 2019 4:38 PM To: dev@netbeans.apache.org Subj

Re: Re: HyperlinkProvider::performClickAction won't fire

2019-07-15 Thread Peter Cheung
ean this https://issues.apache.org/jira/browse/NETBEANS-2343 ? Eric Bresie ebre...@gmail.com > On July 13, 2019 at 3:47:26 AM CDT, Neil C Smith > wrote: > On Sat, 13 Jul 2019 at 09:43, Peter Cheung wrote: > > > > If i ctrl-click on some space/tab position, it fires. It seem

Re: Re: HyperlinkProvider::performClickAction won't fire

2019-07-15 Thread Peter Cheung
ave a deeper look. If you really mean this bug, it is resolved, yes, but for NB 11.1 (See fix Version). So it is not part of 11 nor with a patch or anything else. It will come with NetBeans 11.1 Cheers Chris Von: Peter Cheung Gesendet: Montag, 15. Juli 2019 14:49 An: Apache NetBeans Betreff: R

Re: Congratulations to Neil!

2019-07-22 Thread Peter Cheung
Thanks great team Thanks >From Peter (System Architect, Quantr Limited) From: Arvind Aprameya Sent: Tuesday, July 23, 2019 12:04:22 PM To: dev@netbeans.apache.org Subject: RE: Congratulations to Neil! Congratulations Neil, kudos and great job . Super perseveranc