Is there a way to turn "Code Assist" off in a single workspace?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there a way to turn "Code Assist" off in a single workspace?

Louis LaBrunda

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Seth Berman
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Louis LaBrunda
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Seth Berman
Hi Lou,

A lot has changed in this area, but I think the following will work in 8.6.
Just evaluate this snippet in the editor that you want to disable code completion.

OSWidget focusWidget owner codeAssistant instVarNamed: 'activeProviders' put: Set new.

If for some reason this doesn't work...let me know and we can try something else.
It's fairly easy with some method overrides, but I'm trying to prevent you from having to modify your source.

-- Seth

On Friday, April 18, 2014 1:12:11 PM UTC-4, Louis LaBrunda wrote:
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Louis LaBrunda

Hi Seth,

That seems to work (at least it turned off the finding names part of code assist) but now that I've played with it a bit I think it would be better to turn off the bracket matching stuff as that seems to be what is active when I cursor around the work space.

Do you have any magic for that?

Lou

On Friday, April 18, 2014 1:30:56 PM UTC-4, Seth Berman wrote:

Hi Lou,

A lot has changed in this area, but I think the following will work in 8.6.
Just evaluate this snippet in the editor that you want to disable code completion.

OSWidget focusWidget owner codeAssistant instVarNamed: 'activeProviders' put: Set new.

If for some reason this doesn't work...let me know and we can try something else.
It's fairly easy with some method overrides, but I'm trying to prevent you from having to modify your source.

-- Seth

On Friday, April 18, 2014 1:12:11 PM UTC-4, Louis LaBrunda wrote:
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Seth Berman
Hi Lou,

I would be very surprised to hear its the bracket matcher causing performance problems...but we can test the theory.
I'm more inclined to believe it would be either 
1. The smart-highlighter (double-click item and matches are highlighted) since there was an issue in 8.6 where it searched the whole document instead of just the visible view...or
2. The color syntax highlighter, since it may be constantly trying to recover from syntax errors.

There are no instance-specific settings, but we can see what causes the slowdown.
Bracket Matcher
Workspace menubar->Options->Code Assist->Bracket Highlight  (uncheck this and try)

Smart Highlighter
Workspace menubar->Options->Code Assist->Smart Highlight (uncheck this and try)

Color Syntax (I see I need to add this to some more menus:( )
Transcript->Tools->VA Assist Pro->Settings->Color Syntax->Use Color Syntax (uncheck this and try)

These apply globally, so don't forget to switch them back if desired.
Just let me know if you can identify any of these as the culprit

-- Seth

On Friday, April 18, 2014 2:05:16 PM UTC-4, Louis LaBrunda wrote:

Hi Seth,

That seems to work (at least it turned off the finding names part of code assist) but now that I've played with it a bit I think it would be better to turn off the bracket matching stuff as that seems to be what is active when I cursor around the work space.

Do you have any magic for that?

Lou

On Friday, April 18, 2014 1:30:56 PM UTC-4, Seth Berman wrote:

Hi Lou,

A lot has changed in this area, but I think the following will work in 8.6.
Just evaluate this snippet in the editor that you want to disable code completion.

OSWidget focusWidget owner codeAssistant instVarNamed: 'activeProviders' put: Set new.

If for some reason this doesn't work...let me know and we can try something else.
It's fairly easy with some method overrides, but I'm trying to prevent you from having to modify your source.

-- Seth

On Friday, April 18, 2014 1:12:11 PM UTC-4, Louis LaBrunda wrote:
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Louis LaBrunda

Hi Seth,

Bracket Matcher seems to be the problem.  There are matching "{" and "(" on almost every line.  When  Bracket Matcher is turned off, things are a lot better.  Is there a way to turn it off in just the one workspace.  If not, that's a nice to have.  I guess I can turn the option off when I'm looking at these beasts.

Thanks, Lou


On Friday, April 18, 2014 2:54:44 PM UTC-4, Seth Berman wrote:
Hi Lou,

I would be very surprised to hear its the bracket matcher causing performance problems...but we can test the theory.
I'm more inclined to believe it would be either 
1. The smart-highlighter (double-click item and matches are highlighted) since there was an issue in 8.6 where it searched the whole document instead of just the visible view...or
2. The color syntax highlighter, since it may be constantly trying to recover from syntax errors.

There are no instance-specific settings, but we can see what causes the slowdown.
Bracket Matcher
Workspace menubar->Options->Code Assist->Bracket Highlight  (uncheck this and try)

Smart Highlighter
Workspace menubar->Options->Code Assist->Smart Highlight (uncheck this and try)

Color Syntax (I see I need to add this to some more menus:( )
Transcript->Tools->VA Assist Pro->Settings->Color Syntax->Use Color Syntax (uncheck this and try)

These apply globally, so don't forget to switch them back if desired.
Just let me know if you can identify any of these as the culprit

-- Seth

On Friday, April 18, 2014 2:05:16 PM UTC-4, Louis LaBrunda wrote:

Hi Seth,

That seems to work (at least it turned off the finding names part of code assist) but now that I've played with it a bit I think it would be better to turn off the bracket matching stuff as that seems to be what is active when I cursor around the work space.

Do you have any magic for that?

Lou

On Friday, April 18, 2014 1:30:56 PM UTC-4, Seth Berman wrote:

Hi Lou,

A lot has changed in this area, but I think the following will work in 8.6.
Just evaluate this snippet in the editor that you want to disable code completion.

OSWidget focusWidget owner codeAssistant instVarNamed: 'activeProviders' put: Set new.

If for some reason this doesn't work...let me know and we can try something else.
It's fairly easy with some method overrides, but I'm trying to prevent you from having to modify your source.

-- Seth

On Friday, April 18, 2014 1:12:11 PM UTC-4, Louis LaBrunda wrote:
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to turn "Code Assist" off in a single workspace?

Seth Berman
Hi Lou,

Unfortunately there is no easy way to do this since there are no instance-based settings.

In the future, we are planning to have workspaces that will have mime-like settings
so all these features will be tied to the type.  For example, in this case to get what you want, you 
would be switching the workspace to the txt mime type.  
Not sure which release yet.

As you mentioned, in the meantime I would just use the quick-settings from Workspace menu->Options->Code Assist->Bracket Highlight

-- Seth Berman


On Monday, April 21, 2014 11:21:52 AM UTC-4, Louis LaBrunda wrote:

Hi Seth,

Bracket Matcher seems to be the problem.  There are matching "{" and "(" on almost every line.  When  Bracket Matcher is turned off, things are a lot better.  Is there a way to turn it off in just the one workspace.  If not, that's a nice to have.  I guess I can turn the option off when I'm looking at these beasts.

Thanks, Lou


On Friday, April 18, 2014 2:54:44 PM UTC-4, Seth Berman wrote:
Hi Lou,

I would be very surprised to hear its the bracket matcher causing performance problems...but we can test the theory.
I'm more inclined to believe it would be either 
1. The smart-highlighter (double-click item and matches are highlighted) since there was an issue in 8.6 where it searched the whole document instead of just the visible view...or
2. The color syntax highlighter, since it may be constantly trying to recover from syntax errors.

There are no instance-specific settings, but we can see what causes the slowdown.
Bracket Matcher
Workspace menubar->Options->Code Assist->Bracket Highlight  (uncheck this and try)

Smart Highlighter
Workspace menubar->Options->Code Assist->Smart Highlight (uncheck this and try)

Color Syntax (I see I need to add this to some more menus:( )
Transcript->Tools->VA Assist Pro->Settings->Color Syntax->Use Color Syntax (uncheck this and try)

These apply globally, so don't forget to switch them back if desired.
Just let me know if you can identify any of these as the culprit

-- Seth

On Friday, April 18, 2014 2:05:16 PM UTC-4, Louis LaBrunda wrote:

Hi Seth,

That seems to work (at least it turned off the finding names part of code assist) but now that I've played with it a bit I think it would be better to turn off the bracket matching stuff as that seems to be what is active when I cursor around the work space.

Do you have any magic for that?

Lou

On Friday, April 18, 2014 1:30:56 PM UTC-4, Seth Berman wrote:

Hi Lou,

A lot has changed in this area, but I think the following will work in 8.6.
Just evaluate this snippet in the editor that you want to disable code completion.

OSWidget focusWidget owner codeAssistant instVarNamed: 'activeProviders' put: Set new.

If for some reason this doesn't work...let me know and we can try something else.
It's fairly easy with some method overrides, but I'm trying to prevent you from having to modify your source.

-- Seth

On Friday, April 18, 2014 1:12:11 PM UTC-4, Louis LaBrunda wrote:
Sorry, I should have included that, it's V8.6.

On Friday, April 18, 2014 1:01:22 PM UTC-4, Seth Berman wrote:
Hi Lou,

What version are you running?

-- Seth

On Friday, April 18, 2014 9:51:36 AM UTC-4, Louis LaBrunda wrote:

Hi All,

I love "Code Assist"!!!  I can't say that enough, but I have some classes that map messages (very large) that go to other systems, kind of like structures.  I have #printOn: code that displays them so I can better see what's inside.  Because they are so large, I wrap things with braces, brackets, parenthesis and such.  All this gets "Code Assist" thinking unnecessarily, to the point of slowing down my now quite old little duel core chip.

I don't want to turn off "Code Assist" everywhere, just in one or two workspaces when I need to.  A menu item/icon in the future would be great but for now a line of code will do. 

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.