NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Code Assistance

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
chila



Joined: 19 Apr 2010
Posts: 9

PostPosted: Wed Nov 09, 2011 2:40 pm    Post subject: Code Assistance Reply with quote

How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.
Back to top
Vladimir Voskresensky
Posted via mailing list.





PostPosted: Thu Nov 10, 2011 7:23 pm    Post subject: Code Assistance Reply with quote

There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:
Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.



Back to top
chila



Joined: 19 Apr 2010
Posts: 9

PostPosted: Thu Nov 10, 2011 7:28 pm    Post subject: Re: Code Assistance Reply with quote

Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.

Vladimir Voskresensky wrote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:
Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.



Back to top
Leonid Lenyashin
Posted via mailing list.





PostPosted: Thu Nov 10, 2011 9:09 pm    Post subject: Code Assistance Reply with quote

What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way is
to file a bug). We are eager to fix them all, but our tests with boost
demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you if
the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:
Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:
Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:

Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.







Back to top
Leonid Lenyashin
Posted via mailing list.





PostPosted: Thu Nov 10, 2011 9:14 pm    Post subject: Code Assistance Reply with quote

Here you can file a bug:
http://netbeans.org/bugzilla/enter_bug.cgi?product=cnd

On 11/11/2011 01:06 AM, Leonid Lenyashin wrote:
Quote:
What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way
is to file a bug). We are eager to fix them all, but our tests with
boost demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you
if the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:
Quote:
Well the problem is that when you work with libraries like Boost, the
Code Assistance plugin doesn't do the code-assistant thing very well:
slow, inacurate, unusable.


Vladimir Voskresensky wrote:
Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation,
find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:

Quote:
How do I dissable altogether the Code Assistance? For every new
project it is by default on. I want it off by default or gone.







Back to top
Vladimir Voskresensky - O
Posted via mailing list.





PostPosted: Fri Nov 11, 2011 9:17 am    Post subject: Code Assistance Reply with quote

Hi,

Ok. Using boost as your library explains possible concerns Smile
I think you can try to give more memory.
Please, try to run IDE as
#netbeans -J-Xmx1G
and see if it helps. If doesn't help, try
#netbeans -J-Xmx2G

Btw, if you use 64bit JVM => switching to 32bit JVM reduce memory consumption twice.
#netbeans -J-d32

Btw, other developers are able to use it
http://netbeans.org/bugzilla/show_bug.cgi?id=201811
http://forums.netbeans.org/topic44500.html

It would be really helpful if you can create a bug and we can communicate there
to be able to fix your issue with our IDE.
http://netbeans.org/bugzilla/enter_bug.cgi?product=cnd

Thanks,
Vladimir.

On 10.11.11 22:28, chila wrote:
Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:
Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:

Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.







Back to top
soldatov



Joined: 05 Nov 2009
Posts: 390

PostPosted: Fri Nov 11, 2011 9:29 am    Post subject: Re: Code Assistance Reply with quote

Vladimir Voskresensky - O wrote:

Btw, if you use 64bit JVM => switching to 32bit JVM reduce memory consumption twice.
#netbeans -J-d32

If project more than Firefox I recommend to use 64-bit java
Back to top
chila



Joined: 19 Apr 2010
Posts: 9

PostPosted: Fri Nov 11, 2011 1:02 pm    Post subject: Re: Code Assistance Reply with quote

The last time I've used Code Assistance was like 2 years ago. We run Netbeans from a shared Solaris Spark server, and it was heavily loaded back then. So when the code assistance kicked in, the IDE went dead. Now it's less loaded so it's not very slow. Back then it was also very unacurate, now I'm trying it and I see it's actually working. I'll give it a try and see how it goes. So far so good.

And to satisfy your curiosity: the IDE provides many features besides Code Assistance.

Thanks!


Leonid Lenyashin wrote:
What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way is
to file a bug). We are eager to fix them all, but our tests with boost
demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you if
the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:
Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:
Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:

Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.







Back to top
Leonid Lenyashin
Posted via mailing list.





PostPosted: Mon Nov 14, 2011 10:02 am    Post subject: Code Assistance Reply with quote

On 11/11/2011 05:02 PM, chila wrote:
Quote:
The last time I've used Code Assistance was like 2 years ago. We run Netbeans from a shared Solaris Spark server, and it was heavily loaded back then.
Exactly for your case we introduced Remote Development feature and more
specifically "Full Remote" flavor of it. In 7.0.1 you can run NetBeans
on your desktop and open your projects which reside on the shared
Solaris Sparc system. It might be a good choice in your case.
Quote:
So when the code assistance kicked in, the IDE went dead. Now it's less loaded so it's not very slow. Back then it was also very unacurate, now I'm trying it and I see it's actually working. I'll give it a try and see how it goes. So far so good.

And to satisfy your curiosity: the IDE provides many features besides Code Assistance.
Good to hear. I'm satisfied Smile
Quote:
Thanks!



Leonid Lenyashin wrote:
Quote:
What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way is
to file a bug). We are eager to fix them all, but our tests with boost
demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you if
the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:

Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:

Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:


Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.











Back to top
chila



Joined: 19 Apr 2010
Posts: 9

PostPosted: Mon Nov 14, 2011 12:59 pm    Post subject: Re: Code Assistance Reply with quote

I tried full remote but it didn't go well, maybe I'll give it another try soon.
CA is working very well, you've done a very good job. I really like the macro-expansion feature! I use macros a lot (but in a good way).

Leonid Lenyashin wrote:
On 11/11/2011 05:02 PM, chila wrote:
Quote:
The last time I've used Code Assistance was like 2 years ago. We run Netbeans from a shared Solaris Spark server, and it was heavily loaded back then.
Exactly for your case we introduced Remote Development feature and more
specifically "Full Remote" flavor of it. In 7.0.1 you can run NetBeans
on your desktop and open your projects which reside on the shared
Solaris Sparc system. It might be a good choice in your case.
Quote:
So when the code assistance kicked in, the IDE went dead. Now it's less loaded so it's not very slow. Back then it was also very unacurate, now I'm trying it and I see it's actually working. I'll give it a try and see how it goes. So far so good.

And to satisfy your curiosity: the IDE provides many features besides Code Assistance.
Good to hear. I'm satisfied Smile
Quote:
Thanks!



Leonid Lenyashin wrote:
Quote:
What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way is
to file a bug). We are eager to fix them all, but our tests with boost
demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you if
the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:

Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:

Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:


Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.











Back to top
Vladimir Kvashin
Posted via mailing list.





PostPosted: Tue Nov 15, 2011 12:58 pm    Post subject: Code Assistance Reply with quote

On 11/14/11 15:59, chila wrote:
Quote:
I tried full remote but it didn't go well, maybe I'll give it another try soon.
Hi,

Could you give me more details?
(Ideally, via filing a bug at
http://netbeans.org/bugzilla/enter_bug.cgi?product=cnd&component=Remote )

I'm responsible for remote feature and I'd love to fix all related
issues; but I need to know them first...
And please note that we usually pay a special attention to bug filed by
users.

Thank you,
Vladimir


Quote:
CA is working very well, you've done a very good job. I really like the macro-expansion feature! I use macros a lot (but in a good way).


Leonid Lenyashin wrote:
Quote:
On 11/11/2011 05:02 PM, chila wrote:

Quote:
The last time I've used Code Assistance was like 2 years ago. We run Netbeans from a shared Solaris Spark server, and it was heavily loaded back then.

Exactly for your case we introduced Remote Development feature and more
specifically "Full Remote" flavor of it. In 7.0.1 you can run NetBeans
on your desktop and open your projects which reside on the shared
Solaris Sparc system. It might be a good choice in your case.

Quote:
So when the code assistance kicked in, the IDE went dead. Now it's less loaded so it's not very slow. Back then it was also very unacurate, now I'm trying it and I see it's actually working. I'll give it a try and see how it goes. So far so good.

And to satisfy your curiosity: the IDE provides many features besides Code Assistance.

Good to hear. I'm satisfied :)

Quote:
Thanks!



Leonid Lenyashin wrote:

Quote:
What version of NetBeans you use?
Can you provide us with examples of inaccuracy or slowness (best way is
to file a bug). We are eager to fix them all, but our tests with boost
demonstrated good results.
And just to satisfy my curiosity: what does make the IDE used by you if
the code assistance is poor?

Thank you in advance.
Leonid.

On 11/10/2011 11:28 PM, chila wrote:


Quote:
Well the problem is that when you work with libraries like Boost, the Code Assistance plugin doesn't do the code-assistant thing very well: slow, inacurate, unusable.


Vladimir Voskresensky wrote:


Quote:
There is no such option, but can you share the reason, please?
Why in your workflow the code assistance which provides navigation, find
usages, mark occurrences, in-place rename is expected to be off?
What is your IDE usage workflow?

Thanks,
Vladimir.

On 11/09/2011 06:40 PM, chila wrote:



Quote:
How do I dissable altogether the Code Assistance? For every new project it is by default on. I want it off by default or gone.















Back to top
Ivan Soleimanipour
Posted via mailing list.





PostPosted: Mon Nov 28, 2011 9:44 pm    Post subject: Code Assistance Reply with quote

On 11/11/11 01:29, soldatov wrote:
Quote:
Vladimir Voskresensky - O wrote:
Quote:
Btw, if you use 64bit JVM => switching to 32bit JVM reduce memory consumption twice.
#netbeans -J-d32


If project more than Firefox I recommend to use 64-bit java


On what basis do you make this recommendation?
64-bit Java provides many more java objects in a 64-bit JVM, but that's
not the limit we're running into here is it?
64-bit Java also used 64-bit pointers internally as opposed to 32-bit pointers
hence Vladimirs statement that memory consumption will be roughly halved.
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 390

PostPosted: Tue Nov 29, 2011 8:05 am    Post subject: Re: Code Assistance Reply with quote

Ivan Soleimanipour wrote:

On what basis do you make this recommendation?
64-bit Java provides many more java objects in a 64-bit JVM, but that's
not the limit we're running into here is it?
64-bit Java also used 64-bit pointers internally as opposed to 32-bit pointers
hence Vladimirs statement that memory consumption will be roughly halved.

First step (generate a correct project) likes a lot of memory. Therefore I use -J-Xmx2500m option. But some time ago I found 2 problems on 32-bit JVM:http://netbeans.org/bugzilla/show_bug.cgi?id=199728 and http://netbeans.org/bugzilla/show_bug.cgi?id=199653. If user's binary or *.so file more than 1Gb (libxul.so = 1.1G), that big -J-Xmx can breaks your project too.
P.S. 32-bit JVM is best choice if you have generated project.
Back to top
chuangya



Joined: 12 Apr 2011
Posts: 7
Location: florida

PostPosted: Tue Nov 29, 2011 9:32 am    Post subject: Reply with quote

We are eager to fix them all, but our tests with boost
demonstrated good results. .....



___________________________

Diablo III Gold|Diablo 3 News|Diablo 3 Accounts
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo