Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Build 85 Performance
Permanently deleted user
Created
Build 85 seems MUCH faster now. It no longer konks out at 300+ Lines on Syntax Hightlighting. I'm still experiencing slight slowdown on Intellisense though.
There is definitely a hugh improvement. I can actually work on this solution without swearing!
Observations:
The worst file is about 8400 lines (yes - I know...). It takes 1-2
minutes for the syntax highlighting and analysis to finish. The good news is that I can work on the file mostly (see below).
The intellisense drop down works fairly quickly, but occasionally hangs
for 3-5 seconds.
During editing, it seems to take RS anywhere from 5 seconds to 1-2 minutes
(only using the taskbar clock for timing), although so far it seems to be closer to the seconds time (not minutes).
I finally got the secret hints screen on the first run after installing
85. I usually don't shutdown VS, so maybe that's why.
Questions:
Do you plan to provide a repository of Live Templates on your site? If
you do, will you be able to access them from RS?
Bugs:
I managed to get a tooltip up that won't go away even if I close the file.
I don't know how I exactly did it, though. I was trying the completion on a string variable and when I was done, I did a bunch of Ctrl+Z to undo the changes. Maybe the mouse was on something during this or the popup from the completion was still up when I did the undos. Also, RS may not have been done analyzing the file.
I got an exception twice during this testing and submitted them. Here is
the text from one:
System.NullReferenceException: Object reference not set to an instance of an object. at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.TryHighlightToLeft( Int32 caretPos) in C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin e 222 at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.DoHighlighting(Int3 2 caretPos) in C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin e 175 at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.ReHighlight() in C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin e 148 at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.OnEditorChanged(IEd itor editor) in C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin e 100 at JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.RaiseActiveEd itorChanged(IEditor args) in C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl. cs:line 171 at JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.OnEditorActiv ated(IEditor editor) in C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl. cs:line 98 at JetBrains.ReSharper.Editor.EditorActivatedEventHandler.Invoke(IEditor editor) at JetBrains.ReSharper.Editor.VS.VSEditorManager.OnEditorGotFocus(VSEditor editor) in C:\TEMP\tmp2458.tmp\src\Services\editor\vsImpl\VSEditorManager.cs:line 570
I just got another exception while viewing the last live template (toar)
in the available templates list and selecting Edit. Also submitted and here's the text:
System.IndexOutOfRangeException: Index was outside the bounds of the array. at ReSharper.windows.LiveTemplates.DescriptionFormatter.Format() in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter .cs:line 143 at ReSharper.windows.LiveTemplates.DescriptionFormatter.set_FormatActive(Boolea n value) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter .cs:line 47 at ReSharper.LiveTemplates.FieldDescriptionCellVirtual.GetDescriptionFormatter( Position position) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell Virtual.cs:line 200 at ReSharper.LiveTemplates.FieldDescriptionCellVirtual.GetText(Position position) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell Virtual.cs:line 222 at ReSharper.LiveTemplates.RichTextVisualModel.GetRequiredSize(Graphics p_Graphics, ICellVirtual p_Cell, Position p_CellPosition) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextVisualModel. cs:line 149 at SourceGrid2.Cells.Virtual.CellVirtual.InternalCalculateRequiredSize(Position p_Position, Graphics g, Int32 p_RowSpan, Int32 p_ColSpan) at SourceGrid2.Cells.Virtual.CellVirtual.CalculateRequiredSize(Position p_Position, Graphics g) at SourceGrid2.GridVirtual.AutoSizeColumnRange(Int32 p_Col, Int32 p_MinWidth, Int32 p_StartRow, Int32 p_EndRow) at SourceGrid2.GridVirtual.AutoSizeRange(Int32 p_MinHeight, Int32 p_MinWidth, Range p_RangeToAutoSize) at SourceGrid2.GridVirtual.AutoSizeAll(Int32 p_MinHeight, Int32 p_MinWidth) at SourceGrid2.GridVirtual.AutoSizeAll() at ReSharper.LiveTemplates.TemplateConfigurationDialog.BuildVariablesList() in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio nDialog.cs:line 302 at ReSharper.LiveTemplates.TemplateConfigurationDialog.OnVariablesChanged(Objec t sender, EventArgs e) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio nDialog.cs:line 294 at ReSharper.LiveTemplates.VariablesManager.InvokeVariablesChanged() in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs: line 206 at ReSharper.LiveTemplates.VariablesManager.OnTextChanged(Object sender, EventArgs e) in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs: line 200 at System.EventHandler.Invoke(Object sender, EventArgs e) at ReSharper.LiveTemplates.RichTextEditor.InvokeTextChanged() in C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextEditor.cs:li ne 93 at JetBrains.ReSharper.Util.Alarm.OnTimer(Object sender, EventArgs e)
I just got another exception while viewing the last live template (toar)
in the available templates list and selecting Edit. Also submitted and here's the text:
Derek,
Could you sent your current UserSettings.xml file (if you do mind sending your whole settings, you can send only contents of the TemplateManager tag) to oleg.stepanov@jetbrains.com?
in build #85 we've provided a special 'Set Shorcuts' button that can be used to set shortcuts to the ReSharper's defaults. The button can be found in ReSharper->Options->General->User Interface.
The worst file is about 8400 lines (yes - I know...). It takes 1-2
minutes for the syntax highlighting and analysis to finish. The good news is that I can work on the file mostly (see below).
We are working on that.
>
The intellisense drop down works fairly quickly, but occasionally hangs
for 3-5 seconds.
>
During editing, it seems to take RS anywhere from 5 seconds to 1-2
minutes
(only using the taskbar clock for timing), although so far it seems to be closer to the seconds time (not minutes).
This probably happens due to garbage collection. We are working on reducing this.
>
>
Questions:
Do you plan to provide a repository of Live Templates on your site? If
you do, will you be able to access them from RS?
We did not think about that yet. If you have live templates that seem to be useful for others you are welcome to share them here. If there will be enough interest to such templates we'll consider creating the repository.
>
Bugs:
I managed to get a tooltip up that won't go away even if I close the
file.
I don't know how I exactly did it, though. I was trying the completion on
a
string variable and when I was done, I did a bunch of Ctrl+Z to undo the changes. Maybe the mouse was on something during this or the popup from
the
completion was still up when I did the undos. Also, RS may not have been done analyzing the file.
What kind of tooltip do you mean? Is that Parameter Info or something else?
As for exceptions, could you please post them into the tracker? It difficult to keep track of such things via newsgroups.
-- Valentin Kipiatkov Chief Scientist, Vice President of Product Development JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
editor) at JetBrains.ReSharper.Editor.VS.VSEditorManager.OnEditorGotFocus(VSEditor editor) in C:\TEMP\tmp2458.tmp\src\Services\editor\vsImpl\VSEditorManager.cs:line 570
>
I just got another exception while viewing the last live template (toar)
in the available templates list and selecting Edit. Also submitted and here's the text:
>
System.IndexOutOfRangeException: Index was outside the bounds of the
array.
at ReSharper.windows.LiveTemplates.DescriptionFormatter.Format() in
Virtual.cs:line 222 at ReSharper.LiveTemplates.RichTextVisualModel.GetRequiredSize(Graphics p_Graphics, ICellVirtual p_Cell, Position p_CellPosition) in
DP> * I managed to get a tooltip up that won't go away even if I close DP> the file. DP> I don't know how I exactly did it, though. I was trying the DP> completion on a DP> string variable and when I was done, I did a bunch of Ctrl+Z to undo DP> the DP> changes. Maybe the mouse was on something during this or the popup DP> from the DP> completion was still up when I did the undos. Also, RS may not have DP> been DP> done analyzing the file.
I've also seen this. Hint: click on the tooltip and press Alt-F4 to get rid of it.
-- Dmitry Jemerov OmniaMea Project Leader JetBrains, Inc. http://www.jetbrains.com "Develop with pleasure!"
I just got another exception while viewing the last live template
(toar)
in the available templates list and selecting Edit. Also submitted and here's the text:
>
Derek,
>
Could you sent your current UserSettings.xml file (if you do mind sending your whole settings, you can send only contents of the TemplateManager tag) to oleg.stepanov@jetbrains.com?
There is definitely a hugh improvement. I can actually work on this
solution without swearing!
Observations:
The worst file is about 8400 lines (yes - I know...). It takes 1-2
minutes for the syntax highlighting and analysis to finish. The good news
is that I can work on the file mostly (see below).
The intellisense drop down works fairly quickly, but occasionally hangs
for 3-5 seconds.
During editing, it seems to take RS anywhere from 5 seconds to 1-2 minutes
(only using the taskbar clock for timing), although so far it seems to be
closer to the seconds time (not minutes).
I finally got the secret hints screen on the first run after installing
85. I usually don't shutdown VS, so maybe that's why.
Questions:
Do you plan to provide a repository of Live Templates on your site? If
you do, will you be able to access them from RS?
Bugs:
I managed to get a tooltip up that won't go away even if I close the file.
I don't know how I exactly did it, though. I was trying the completion on a
string variable and when I was done, I did a bunch of Ctrl+Z to undo the
changes. Maybe the mouse was on something during this or the popup from the
completion was still up when I did the undos. Also, RS may not have been
done analyzing the file.
I got an exception twice during this testing and submitted them. Here is
the text from one:
System.NullReferenceException: Object reference not set to an instance of an
object.
at
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.TryHighlightToLeft(
Int32 caretPos) in
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
e 222
at
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.DoHighlighting(Int3
2 caretPos) in
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
e 175
at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.ReHighlight()
in
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
e 148
at
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.OnEditorChanged(IEd
itor editor) in
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
e 100
at
JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.RaiseActiveEd
itorChanged(IEditor args) in
C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl.
cs:line 171
at
JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.OnEditorActiv
ated(IEditor editor) in
C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl.
cs:line 98
at JetBrains.ReSharper.Editor.EditorActivatedEventHandler.Invoke(IEditor
editor)
at
JetBrains.ReSharper.Editor.VS.VSEditorManager.OnEditorGotFocus(VSEditor
editor) in
C:\TEMP\tmp2458.tmp\src\Services\editor\vsImpl\VSEditorManager.cs:line 570
I just got another exception while viewing the last live template (toar)
in the available templates list and selecting Edit. Also submitted and
here's the text:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ReSharper.windows.LiveTemplates.DescriptionFormatter.Format() in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter
.cs:line 143
at
ReSharper.windows.LiveTemplates.DescriptionFormatter.set_FormatActive(Boolea
n value) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter
.cs:line 47
at
ReSharper.LiveTemplates.FieldDescriptionCellVirtual.GetDescriptionFormatter(
Position position) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell
Virtual.cs:line 200
at ReSharper.LiveTemplates.FieldDescriptionCellVirtual.GetText(Position
position) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell
Virtual.cs:line 222
at ReSharper.LiveTemplates.RichTextVisualModel.GetRequiredSize(Graphics
p_Graphics, ICellVirtual p_Cell, Position p_CellPosition) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextVisualModel.
cs:line 149
at
SourceGrid2.Cells.Virtual.CellVirtual.InternalCalculateRequiredSize(Position
p_Position, Graphics g, Int32 p_RowSpan, Int32 p_ColSpan)
at SourceGrid2.Cells.Virtual.CellVirtual.CalculateRequiredSize(Position
p_Position, Graphics g)
at SourceGrid2.GridVirtual.AutoSizeColumnRange(Int32 p_Col, Int32
p_MinWidth, Int32 p_StartRow, Int32 p_EndRow)
at SourceGrid2.GridVirtual.AutoSizeRange(Int32 p_MinHeight, Int32
p_MinWidth, Range p_RangeToAutoSize)
at SourceGrid2.GridVirtual.AutoSizeAll(Int32 p_MinHeight, Int32
p_MinWidth)
at SourceGrid2.GridVirtual.AutoSizeAll()
at
ReSharper.LiveTemplates.TemplateConfigurationDialog.BuildVariablesList() in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio
nDialog.cs:line 302
at
ReSharper.LiveTemplates.TemplateConfigurationDialog.OnVariablesChanged(Objec
t sender, EventArgs e) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio
nDialog.cs:line 294
at ReSharper.LiveTemplates.VariablesManager.InvokeVariablesChanged() in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs:
line 206
at ReSharper.LiveTemplates.VariablesManager.OnTextChanged(Object sender,
EventArgs e) in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs:
line 200
at System.EventHandler.Invoke(Object sender, EventArgs e)
at ReSharper.LiveTemplates.RichTextEditor.InvokeTextChanged() in
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextEditor.cs:li
ne 93
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object sender, EventArgs e)
Thanks,
Derek Price
"Derek" <derek@btacinc.com> wrote in message
news:ca7pod$ecv$1@is.intellij.net...
Intellisense
>
>
I also lost my shortcuts and had to edit the UserSettings.xml file mentioned
elsewhere in the list. This was a first for me.
Thanks,
Derek Price
Derek,
Could you sent your current UserSettings.xml file (if you do mind
sending your whole settings, you can send only contents of the
TemplateManager tag) to oleg.stepanov@jetbrains.com?
--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Derek,
in build #85 we've provided a special 'Set Shorcuts' button that can be used
to
set shortcuts to the ReSharper's defaults. The button can be found in
ReSharper->Options->General->User Interface.
"Derek Price" <dprice@doble.com> wrote in message
news:ca8blh$qeg$1@is.intellij.net...
mentioned
>
>
>
I got the same bug.
I was typing
Server.Transfer(Request["ReturnUrl"]);
And I got stuck with the tooltip saying:
Property string[] HttpRequest.AcceptTypes
Gets a string array of client-supported MIME accept types.
Cheers,
Paulo Carreiro
"Derek Price" <dprice@doble.com> wrote in message
news:ca7qta$n3b$1@is.intellij.net...
>
file.
a
the
>
We are working on that.
>
>
minutes
This probably happens due to garbage collection. We are working on reducing
this.
>
>
We did not think about that yet. If you have live templates that seem to be
useful for others you are welcome to share them here. If there will be
enough interest to such templates we'll consider creating the repository.
>
file.
a
the
What kind of tooltip do you mean? Is that Parameter Info or something else?
As for exceptions, could you please post them into the tracker? It difficult
to keep track of such things via newsgroups.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dprice@doble.com> wrote in message
news:ca7qta$n3b$1@is.intellij.net...
>
>
>
minutes
>
>
>
file.
a
the
>
is
>
an
>
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.TryHighlightToLeft(
>
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
>
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.DoHighlighting(Int3
>
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.ReHighlight()
>
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
>
JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.OnEditorChanged(IEd
>
C:\TEMP\tmp2458.tmp\src\Services\codeInsight\BracketMatchHighlighting.cs:lin
>
JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.RaiseActiveEd
>
C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl.
>
JetBrains.ReSharper.Editor.Impl.ActiveEditorTrackerManagerImpl.OnEditorActiv
>
C:\TEMP\tmp2458.tmp\src\Services\editor\impl\ActiveEditorTrackerManagerImpl.
JetBrains.ReSharper.Editor.EditorActivatedEventHandler.Invoke(IEditor
>
>
array.
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter
>
ReSharper.windows.LiveTemplates.DescriptionFormatter.set_FormatActive(Boolea
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\DescriptionFormatter
>
ReSharper.LiveTemplates.FieldDescriptionCellVirtual.GetDescriptionFormatter(
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\FieldDescriptionCell
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextVisualModel.
>
SourceGrid2.Cells.Virtual.CellVirtual.InternalCalculateRequiredSize(Position
in
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio
>
ReSharper.LiveTemplates.TemplateConfigurationDialog.OnVariablesChanged(Objec
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\TemplateConfiguratio
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs:
sender,
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\VariablesManager.cs:
>
C:\TEMP\tmp2458.tmp\src\ReSharper\windows\LiveTemplates\RichTextEditor.cs:li
>
>
>
>
Hello Derek,
DP> * I managed to get a tooltip up that won't go away even if I close
DP> the file.
DP> I don't know how I exactly did it, though. I was trying the
DP> completion on a
DP> string variable and when I was done, I did a bunch of Ctrl+Z to undo
DP> the
DP> changes. Maybe the mouse was on something during this or the popup
DP> from the
DP> completion was still up when I did the undos. Also, RS may not have
DP> been
DP> done analyzing the file.
I've also seen this. Hint: click on the tooltip and press Alt-F4 to get rid of it.
--
Dmitry Jemerov
OmniaMea Project Leader
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Sent!
"Oleg Stepanov (JetBrains)" <Oleg.Stepanov@JetBrains.Com> wrote in message
news:ca93d7$3ku$1@is.intellij.net...
(toar)
>
>
>
>
>
Comments embedded below...
Thanks,
Derek
"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:ca9dcf$1kc$1@is.intellij.net...
on
been
>
else?
The tooltip was not the new style parameter info, but the yellow "sticky
note" style when the mouse is over something in the editor.
>
difficult
I always submit the exceptions to Tracker, I just wanted to give you and any
users heads up on the problem.
That's strange since these tooltips are shown by VS.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dpriceat@dobledot.com> wrote in message
news:ca9sma$c0l$1@is.intellij.net...
>
>
completion
the
from
>
>
>
any
>
>