[227] Req: Enable/Disable file types

Hi,

It would be nice to be able to disable resharper for certain file types
(aspx, dtsx, sql (?) ), because at the moment I have to disable
resharper because too many exceptions occur to be productive (I know
it's beta but don't want to miss R# for C# files :p).

for example when opening an ASPX file:

JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> System.NullReferenceException: Object reference not set to
an instance of an object.
at
JetBrains.ReSharper.Asp.Highlighting.AspEventUsageStageProcess.VisitMethodDeclaration(IMethodDeclaration
methodDeclarationParam) in
c:\TEMP\tmp9887.tmp\src\Asp\src\Highlighting\AspEventUsageStage.cs:line 81
at
JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration.Accept(ElementVisitor
visitor) in
c:\TEMP\tmp9887.tmp\src\Psi\src\cSharp\impl\tree\MethodDeclaration.cs:line
20
at
JetBrains.ReSharper.Asp.Highlighting.AspEventUsageStageProcess.ProcessBeforeInterior(IElement
element) in
c:\TEMP\tmp9887.tmp\src\Asp\src\Highlighting\AspEventUsageStage.cs:line 69
at
JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendants(IRecursiveElementProcessor
processor) in
c:\TEMP\tmp9887.tmp\src\Psi\src\ExtensionsAPI\Tree\TreeElement.cs:line 73
at
JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendants(IRecursiveElementProcessor
processor) in
c:\TEMP\tmp9887.tmp\src\Psi\src\ExtensionsAPI\Tree\TreeElement.cs:line 75
at
JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendants(IRecursiveElementProcessor
processor) in
c:\TEMP\tmp9887.tmp\src\Psi\src\ExtensionsAPI\Tree\TreeElement.cs:line 75
at
JetBrains.ReSharper.Asp.Highlighting.AspEventUsageStageProcess.Execute()
in
c:\TEMP\tmp9887.tmp\src\Asp\src\Highlighting\AspEventUsageStage.cs:line 52
at
JetBrains.ReSharper.Daemon.Impl.DaemonProcess.HighlightingProcess() in
c:\TEMP\tmp9887.tmp\src\Daemon\src\Impl\DaemonProcess.cs:line 294
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
Boolean) in c:\TEMP\tmp9887.tmp\src\Util\src\Logger.cs:line 297 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
c:\TEMP\tmp9887.tmp\src\Util\src\Logger.cs:line 309 column 5
at JetBrains.ReSharper.Daemon.Impl.DaemonProcess.HighlightingProcess()
in c:\TEMP\tmp9887.tmp\src\Daemon\src\Impl\DaemonProcess.cs:line 336
column 9
at System.RuntimeMethodHandle._InvokeMethodFast(Object, Object[],
SignatureStruct&, MethodAttributes, RuntimeTypeHandle)
at System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[],
Signature, MethodAttributes, RuntimeTypeHandle)
at System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags,
Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at AsyncHelper.DynamicInvokeShim(Object) in
c:\TEMP\tmp9887.tmp\src\Util\src\AsyncHelper.cs:line 63 column 3
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object)
at System.Threading.ExecutionContext.Run(ExecutionContext,
ContextCallback, Object)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object)


Also, somehow the exception submitting webservice doesn't work anymore
(see attached screenshot)

1 comment
Comment actions Permalink

This is a known problem fixed in 228.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


-







0

Please sign in to leave a comment.