| View previous topic :: View next topic |
| Author |
Message |
searbe
Joined: 26 Apr 2009 Posts: 1
|
Posted: Sun Apr 26, 2009 4:40 pm Post subject: Netbeans Refresh File Tree |
|
|
Why is there no right click -> refresh on the file tree? Or at least an F5 shortcut?
I've done a lot of Googling and it seems you simply can't refresh the file tree. Instead I have to wait for Netbeans to pick up the changes - a serious workflow stopper when you're jumping in and out of the IDE. Whenever I return to Netbeans I have to stare at it until it's updated its file tree. It becomes a really serious workflow problem when I'm doing 50% of the work in Netbeans and 50% of the work somewhere else. It would be so much easier if I could just hit F5 and have a folder refresh on demand?!
Netbeans is the only IDE I know of that doesn't have the ability to refresh folders. What gives? This is such a simple problem in a nearly excellent IDE  |
|
| Back to top |
|
 |
András Csányi Posted via mailing list.
|
Posted: Sun Apr 26, 2009 6:19 pm Post subject: Netbeans Refresh File Tree |
|
|
2009/4/26 searbe <address-removed>:
| Quote: | Why is there no right click -> refresh on the file tree? Or at least an F5 shortcut?
|
About my experiences the Netbeans always do this automaticly if an file change.
I suppose try it.
--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell |
|
| Back to top |
|
 |
hellboy
Joined: 06 Apr 2009 Posts: 7
|
Posted: Fri May 01, 2009 1:21 pm Post subject: |
|
|
IMHO after changes in Include Paths are not automatically updates Intellisense.
I must restart IDE. |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon May 04, 2009 11:12 am Post subject: Netbeans Refresh File Tree |
|
|
Hi,
Dne pátek 01 května 2009 15:21:11 hellboy napsal(a):
| Quote: | IMHO after changes in Include Paths are not automatically updates
Intellisense.
I must restart IDE.
|
if so, please, report a bug [1].
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
m_gol
Joined: 28 Aug 2009 Posts: 5 Location: Poland, Warsaw
|
Posted: Sat Sep 05, 2009 7:04 pm Post subject: |
|
|
For me (and not only me) this is not only a matter of restarting or not. It happens to me very often that I change sth and Netbeans is still marking the file as if it contained errors. Even restarts don't help, you just have to wait a few hours, sometimes a few days before it suddenly fixes itself... _________________ Regards,
Michał Gołębiowski |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Sep 07, 2009 8:03 am Post subject: Netbeans Refresh File Tree |
|
|
Hi,
Dne sobota 05 září 2009 21:04:44 m_gol napsal(a):
| Quote: | For me (and not only me) this is not only a matter of restarting or not. It
happens to me very often that I change sth
|
what exactly do you change? And where - in NetBeans or not?
| Quote: | and Netbeans is still marking
the file as if it contained errors. Even restarts don't help, you just have
to wait a few hours, sometimes a few days before it suddenly fixes
itself...
|
This is weird, the file is reparsed (and revalidated) if you change it, so if
you add a space for example (and optionally save the file), the errors should
disappear.
Anyway, if you have reliable steps to reproduce, feel free to file an issue
[1], it would help us a lot. Do not forget to add which version of NetBeans
you are using.
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
m_gol
Joined: 28 Aug 2009 Posts: 5 Location: Poland, Warsaw
|
Posted: Mon Sep 07, 2009 11:42 am Post subject: Re: Netbeans Refresh File Tree |
|
|
| Tomas Mysik wrote: | Hi,
Dne sobota 05 září 2009 21:04:44 m_gol napsal(a):
| Quote: | For me (and not only me) this is not only a matter of restarting or not. It
happens to me very often that I change sth
|
what exactly do you change? And where - in NetBeans or not?
|
Java code in Netbeans. One of the most common cases is that Netbeans sometimes "partly forget" that one open project imports another open one and shows an error in import - it doesn't see the class. What is funny is that at the same time it doesn't see errors in most other imports from the same project, even from the same package. Compilation goes fine but an error disappears sometimes even after a long period of time.
Unfortunately, I have no idea how to reproduce it. It sometimes just happens. I can try to provide steps but I can give no guarantee I'll be able to do it.
Both 6.5 and 6.7.1 versions are affected. _________________ Regards,
Michał Gołębiowski |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Sep 07, 2009 1:54 pm Post subject: Netbeans Refresh File Tree |
|
|
Hi,
Dne pondělí 07 září 2009 13:43:02 m_gol napsal(a):
| Quote: | Java code in Netbeans. One of the most common cases is that Netbeans
sometimes "partly forget" that one open project imports another open one
and shows an error in import - it doesn't see the class. What is funny is
that at the same time it doesn't see errors in most other imports from the
same project, even from the same package. Compilation goes fine but an
error disappears sometimes even after a long period of time.
|
then you have incorrect mailing list, this one is used for PHP support in
NetBeans. However, feel free to file an issue against Java editor [1].
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
greenone
Joined: 21 Sep 2009 Posts: 8 Location: Germany
|
Posted: Mon Nov 09, 2009 1:14 pm Post subject: |
|
|
i have a similar problem:
Mac OS X 10.6.1
Netbeans 6.7.1
if i do any file-manipulations form the finder netbeans does not recognize thema at all, or at least not until i open the folder in the tree and wait a few seconds.
i could only do file-manipulations like delete, copy, etc. under netbeans but it is not possible under OS X to simply drag-&-drop files onto the file-tree thus forcing me to use the finder to copy files into the project (for instance icons from my icon-library). |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Nov 09, 2009 2:05 pm Post subject: Netbeans Refresh File Tree |
|
|
Hi,
Dne pondělí 09 listopadu 2009 14:14:32 greenone napsal(a):
| Quote: | if i do any file-manipulations form the finder netbeans does not recognize
thema at all, or at least not until i open the folder in the tree and wait
a few seconds.
|
probably 2 possibilities here:
- do it using Files view, or
- after the external change, invoke Source > Scan for external changes (you
need at least NB 6.8 Beta I think)
HTH,
Tomas
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
|