> Seems really awful product-wise to have a recommendation for a 'Restart IDE' 
> plugin!
> Now that I think about it, a 'Clean Cache' button somewhere would actually 
> make sense. I wonder why we don't have this.

I think of it as "multi-layered defense"--features that make a large class of 
bugs, including even _future_ bugs, less critical.

I'd love to have a "Clean Cache" button, in particular.

-- Eirik


From: Emilian Bold <emilian.b...@gmail.com>
Sent: Friday, May 8, 2020 1:18 AM
To: users@netbeans.apache.org
Subject: Re: Error badge on the correct code

I always assumed that stray Java error badges are a mismatch between the 
internal compiler/parser NetBeans used and the actual project compiler.

Since this happens for JSON either it's a similar parser bug or even worse an 
index invalidation bug.

Seems really awful product-wise to have a recommendation for a 'Restart IDE' 
plugin!

Now that I think about it, a 'Clean Cache' button somewhere would actually make 
sense. I wonder why we don't have this.

--emi


On Fri, May 8, 2020 at 5:19 AM Greenberg, Gary <ggree...@visa.com.invalid> 
wrote:
I have deleted cache directory, but when I restarted Netbeans, error badge was 
still there.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com<mailto:ggree...@visa.com>
M: 650-269-7902



-----Original Message-----
From: Eirik Bakke <eba...@ultorg.com<mailto:eba...@ultorg.com>>
Sent: Thursday, May 7, 2020 7:05 PM
To: Ernie Rael <err...@raelity.com<mailto:err...@raelity.com>>; 
users@netbeans.apache.org<mailto:users@netbeans.apache.org>
Subject: RE: Error badge on the correct code

> An aficiaonado could tell you which subdirectory of cachedir to remove.

I find removing the "index" subdirectory in the cache directory (after first 
exiting NetBeans) does the trick. At least for Java files with stray error 
badges.

-- Eirik

-----Original Message-----
From: Ernie Rael <err...@raelity.com<mailto:err...@raelity.com>>
Sent: Thursday, May 7, 2020 7:48 PM
To: users@netbeans.apache.org<mailto:users@netbeans.apache.org>
Subject: Re: Error badge on the correct code

This can frequently be cleared up by removing "Cache Directory" only, see Menu 
> Help > About. This won't loose your settings/windows/openFiles/...

An aficiaonado could tell you which subdirectory of cachedir to remove.

-ernie

On 5/7/2020 1:29 PM, Greenberg, Gary wrote:
>
> I have in one of my projects JSON file.
> At some point in time, while I was still editing it, it had errors.
> However, these errors were fixed long time ago, but in project file
> marked with the red error badge.
>
> Netbeans was restarted several times and my laptop was rebooted
> recently. The badge is still there.
> How can I get rid of it, short of removing userdir?
>
> I am working on several projects and have over 30 files open. Hate to
> reload everything.
>
> My environment: NB 11.1, Java 8, Win 10pro.
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com<mailto:ggree...@visa.com>
>
> M: 650-269-7902
>
> EmailSig-TaglineVersion
>


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7Cggreenbe%40visa.com%7C12344f9b9fc1449cd89e08d7f2f43bd3%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637245003103436599&amp;sdata=A%2BbHG2tAfJJukgehrPyGNPXk6zT81d32If1iNi5aBz4%3D&amp;reserved=0


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7Cggreenbe%40visa.com%7C12344f9b9fc1449cd89e08d7f2f43bd3%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637245003103436599&amp;sdata=A%2BbHG2tAfJJukgehrPyGNPXk6zT81d32If1iNi5aBz4%3D&amp;reserved=0

Reply via email to