Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-170864: Add QF for "Possible null assigment to entity..." in this case:

$
0
0
Reporter Alexander Zverev (alexander.zverev) Alexander Zverev (alexander.zverev)
Created Mar 17, 2010 7:37:39 PM
Updated Oct 2, 2018 6:06:50 PM
Resolved Oct 2, 2018 6:06:50 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
[NotNull] A Foo()
{
return Get() as A; //here
}

RSRP-171708: CA on defining partial method declaration 'Create implementation'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Mar 21, 2010 9:58:30 PM
Updated Oct 2, 2018 6:14:58 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471328: ReSharper Options: not possible to scroll to bottom of options using scrollbar.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Aug 31, 2018 10:05:35 AM
Updated Oct 2, 2018 6:16:08 PM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Major
State Submitted
Type Usability Problem
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.2.EAP9D.Checked.(182.0.20180831.43533-eap09d).

Actual result:
See attached video. It's not possible to scroll to bottom of options using scrollbar:

"Outdent commas" is not the last option here but dragging scrollbar down/using mouse wheel does not display other options.

Expected result:
It's possible to scroll to bottom using scrollbar only.

RSRP-174411: Refactoring External Docs

$
0
0
Reporter Hadi Hariri (hadihariri) Hadi Hariri (hadihariri)
Created Mar 29, 2010 10:29:59 AM
Updated Oct 2, 2018 6:20:14 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State To Reproduce
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When documenting API using external files, when refactoring, it should rename the external reference. Currently it only references the path in the comment:


/// <include file='xml.doc' path='MyDocs/MyMembers[@name="Test"]/*' />
class Test
{
static void Main()
{
}
}

/// <include file='xml.doc' path='MyDocs/MyMembers[@name="Test2"]/*' />
class Test2
{
public void Test()
{
}
}

If I include xml.doc in the project:

<?xml version="1.0" encoding="utf-8" ?>
<MyDocs>

<MyMembers name="Test">
<summary>
The summary for this type.
</summary>
</MyMembers>

<MyMembers name="Test2">
<summary>
The summary for this other type.
</summary>
</MyMembers>

</MyDocs>


when renaming Test in the source, it only renames the comment, not the reference in the XML doc. If it did, it would make external documentation useful!

RSRP-175243: QF "Copy default value from base" should also update parameters on the righyy

$
0
0
Reporter Alexander Zverev (alexander.zverev) Alexander Zverev (alexander.zverev)
Created Mar 31, 2010 7:44:45 PM
Updated Oct 2, 2018 6:23:28 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Improvement
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

abstract class A
{
public abstract void Foo<T>(int x = 5, A a = default(A), T t = default(T), S s = new S());
}

class B : A
{

public override void Foo<T>(int x, A a, T t, S s) //here
{
throw new NotImplementedException();
}
}

struct S
{
}

RSRP-175316: Safe Delete a file - Expand All for conflicts tree

$
0
0
Reporter Joe White (joewhite) Joe White (joewhite)
Created Apr 1, 2010 6:35:00 PM
Updated Oct 2, 2018 6:26:46 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Open
Type Usability Problem
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I just discovered that you can Safe Delete an entire file from the Solution Explorer. This is a sweet feature. But if there were conflicts, then the "Conflicts were found" page is a treeview, and everything is initially collapsed. If there were a lot of classes in that source file, then it can take a while to expand them all.

Please add an "Expand All" option to this page. (Preferably something that's accessible via the keyboard.)

RSRP-176093: Do not offer change "Use collection Initializer" for types which do not implement IEnumerable

$
0
0
Reporter Stefan Dobrovolny (stefando) Stefan Dobrovolny (stefando)
Created Apr 7, 2010 11:11:36 AM
Updated Oct 2, 2018 6:28:40 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Resharper offers "Use collection Initializer" for following code:

var mySchemas = new XmlSchemaSet();
mySchemas.Add(null, "schemaFile.xml");

Which leads to invalid code:
Error: Cannot initialize type 'System.Xml.Schema.XmlSchemaSet' with a collection initializer because it does not implement 'System.Collections.IEnumerable'

var mySchemas = new XmlSchemaSet {{null, "schemaFile.xml"}};

R#: Build 5.0.1648.10
VS: 2008 SP1

RSRP-177779: QF says 'Make type public', but actually it makes the type internal

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 9, 2010 6:55:41 PM
Updated Oct 2, 2018 6:32:00 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
class C
{
public E X;
class E
{
}
}

RSRP-178300: Extract property

$
0
0
Reporter Eugene Petrenko (eugene.petrenko) Eugene Petrenko (eugene.petrenko)
Created Apr 13, 2010 10:58:46 AM
Updated Oct 2, 2018 6:35:31 PM
Resolved Oct 2, 2018 6:35:31 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If extracting method does not have parameters I would expect to have an option to extract it as property.

RSRP-178489: Yield return quick fix

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Apr 14, 2010 5:18:02 PM
Updated Oct 2, 2018 6:36:44 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Quick fix suggests to change type to 'IEnumerable<int>' but should suggest 'IEnumerator<int>'.

using System.Collections.Generic;

public class Enum
{
public IEnumerator<string> Foo()
{
yield return 34; // here
}
}

RSRP-178511: Refactoring ignores attribute formatting settings

$
0
0
Reporter Gerrod Thomas (gerrod) Gerrod Thomas (gerrod)
Created Apr 14, 2010 10:05:26 PM
Updated Oct 2, 2018 6:38:49 PM
Resolved Oct 2, 2018 6:38:49 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If I have a property such as –

[MyAttribute1]
[MyAttribute2]
public string MyProperty
{
get { return _myProperty; }
set { _myProperty = value; }
}
And if I then use the “To Automatic Property” refactoring, ReSharper always combines the attributes, regardless of what setting I have selected in ReSharper Options => C# => Formatting Style => Other => Attributes => Join or separate attributes in section

I believe ReSharper should obey the selected formatting rule when using the refactoring.

RSRP-471376: razor no @model will analysis error

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Sep 3, 2018 7:07:07 PM
Updated Oct 2, 2018 6:41:15 PM
Resolved Oct 2, 2018 6:41:15 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Major
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.2, 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
You can download nop project at https://github.com/nopSolutions/nopCommerce/releases
then run solution wide analysis
there will be some error say :can not resolve symbol 'T'
I need add @model dynamic in the header to supress this error
in fact ,as microsoft says https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-2.1#section-2 If the @model directive isn't specified, the Model property is of type dynamic.

RSRP-471333: Cannot execute any NUnit tests: NUnit runner compilation failed

$
0
0
Reporter Thomas Brillet (thomasbrillet) Thomas Brillet (thomasbrillet)
Created Aug 31, 2018 2:20:28 PM
Updated Oct 2, 2018 6:50:38 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Bug
Fix version 2018.3
Affected versions 2018.2.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

Hello,

When trying to run any NUnit test the test result displays: "Inconclusive: Test not run". The error tab displays:

2018.08.31 12:58:24.381 ERROR JetBrains.ReSharper.UnitTestRunner.nUnit.CodeDom.CompileException: NUnit runner compilation failed
(126:90) ) expected
(126:96) ; expected
(126:96) Invalid expression term ')'
(126:97) ; expected
(126:97) Invalid expression term ')'
(126:98) ; expected

I had to revert to 2018.2 to be able to work.

Regards,

RSRP-471653: Could not create the VS text control for the view 00C305DE because there is already a text control created for it.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 24, 2018 11:58:02 AM
Updated Oct 2, 2018 6:51:27 PM
Subsystem Platform - VS Integration
Assignee Serge Baltic (baltic)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180924.54845-eap01d

JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180924.60324-eap01d
JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180924.60150-eap01d
JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180924.60311-eap01d
JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180924.60052-eap01d
JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180924.60054-eap01d
JetBrains TeamCity Add-in 2018.3 EAP 1 D Build 2018.3.20180924.60055-eap01d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180924.60324-eap01d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180924.60311-eap01d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180924.60054-eap01d
SubProducts.3 = JetBrains TeamCity Add-in 2018.3 EAP 1 D Build 2018.3.20180924.60055-eap01d
SubProducts.4 = JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180924.60052-eap01d
SubProducts.5 = JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180924.60150-eap01d

Could not create the VS text control for the view 00C305DE because there is already a text control created for it.

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Could not create the VS text control for the view 00C305DE because there is already a text control created for it.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.VisualStudio.SinceVs10
StackTraceString = “
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlCreatorDevTen.CreateTextControl[TTextControl](CreateTextControlParams`1 param)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.VsTextControlCreatorDevTen.CreateTextControl[TTextControl](CreateTextControlParams`1 param)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsAttachTextControlsToTextViews.<>c__DisplayClass0_1.<.ctor>b__1()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsAttachTextControlsToTextViews.<>c__DisplayClass0_0.<.ctor>b__0(Lifetime lifetimeView, VsTextViewDataForTextControlDevTen data)
 at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass9_1`1.<ForEachItemCore>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Could not create the VS text control for the view 00C305DE because there is already a text control created for it.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = xaml
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180924.54845-eap01d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 D Build 2018.3.20180924.60324-eap01d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 D Build 2018.3.20180924.60311-eap01d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180924.60054-eap01d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 1 D Build 2018.3.20180924.60055-eap01d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180924.60052-eap01d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 1 D Build 2018.3.20180924.60150-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::07a69fc0d6451d5f13e7e98037b09212eba0086e

Data.VsVersion = 15.8.28010.2036
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass9_0`1.<ForEachItemCore>b__0(AddRemoveEventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie)
 at JetBrains.DataFlow.CollectionEvents`1.InternalAdd(TValue value, Object cookie)
 at JetBrains.DataFlow.CollectionEvents`1.Add(TValue value, Object cookie)
 at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass16_1`2.<FlowInto>b__1(AddRemoveEventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie)
 at JetBrains.DataFlow.DictionaryEvents`2.InternalAdd(KeyValuePair`2 value, Object cookie)
 at JetBrains.DataFlow.DictionaryEvents`2.set_Item(TKey key, Object cookie, TValue value)
 at JetBrains.DataFlow.DictionaryEvents`2.set_Item(TKey key, TValue value)
at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_1.<.ctor>g__ApplyData|4(IWpfTextView view, VsTextViewDataForTextControlDevTen newdata)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_7.<.ctor>b__17()
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_7.<.ctor>b__17()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_1.<.ctor>b__6(EventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.<>c__DisplayClass0_0.<FireTextViewDataChanged>b__0()
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChangedImpl(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChanged(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Func`1 isEventStillActual, IWpfTextView wpfTextView)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_0.<.ctor>b__2()
 at JetBrains.UI.Application.LocalReentrancyGuard.TryExecute(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_1.<.ctor>b__0(EventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRegisterTextBuffer(VsTextBufferData textBufferData, Boolean forceReregisterEventProjectFileIsTheSame)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass26_0.<OnRdtAfterFirstDocumentLock>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass23_0.<ExecuteOrQueueOrMergeUnguardedCallbackWithLog>b__0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<ExecuteOrQueueOrMerge>b__0()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-471727: Add support to convert a method invocation to a function parameter

$
0
0
Reporter Yacoub Massad (yacoubmassad) Yacoub Massad (yacoubmassad)
Created Oct 2, 2018 6:39:05 PM
Updated Oct 2, 2018 7:12:01 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Open
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Let's say we have this program:

class Program
{
    static void Main(string[] args)
    {
        var result1 = Method1();

        Console.WriteLine(result1);
    }

    static string Method1()
    {
        var v1 = "hello";

        var v2 = Method2(v1);

        return v2.ToString();
    }

    static int Method2(string param) => param.Length;
}

Method1 calls Method2 directly. It would be very useful if we could convert the call to Method2 from Method1 to a call to a function parameter passed to Method1 (via a Resharper feature) like this:

class Program
{
    static void Main(string[] args)
    {
        var result1 = Method1(Method2);

        Console.WriteLine(result1);
    }

    static string Method1(Func<string,int> method2)
    {
        var v1 = "hello";

        var v2 = method2(v1);

        return v2.ToString();
    }

    static int Method2(string param) => param.Length;
}

This basically allows us to do dependency injection in a functional style.

Resharper would allow us to pull the extracted function all the way up the call stack. This is very similar to the introduce parameter feature.


RSRP-461798: xUnit test runner error (2016.3 EAP 9, VS 2017)

$
0
0
Reporter D.R. (dominik.rauch) D.R. (dominik.rauch)
Created Nov 18, 2016 2:40:41 AM
Updated Oct 2, 2018 7:15:12 PM
Resolved Oct 2, 2018 7:15:12 PM
Subsystem Unit Testing
Assignee Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Priority Critical
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a solution with the default ASP.NET Core template project and an additional xUnit template project.

I cannot execute any xUnit tests, I get the following error (the test itself stays "blue" - blue question mark):

2016.11.18 00:35:20.833 ERROR System.AggregateException: One or more errors occurred. —> System.Threading.Tasks.TaskCanceledException: A task was canceled.
— End of inner exception stack trace —
 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
 at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
 at JetBrains.ReSharper.UnitTestFramework.Launch.Stages.DiscoveryStage.Run(CancellationToken token)
 at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestLaunch.RunStage(Object stageObject)
--- > ---

Any ideas? Do you need more information?

RSRP-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Oct 2, 2018 7:43:31 PM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Reopened
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471524: Problems with build when ReSharper is enabled

$
0
0
Reporter Tom Harkaway (tharkaway.1) Tom Harkaway (tharkaway.1)
Created Sep 17, 2018 5:51:38 PM
Updated Oct 2, 2018 7:43:39 PM
Subsystem Solution builder
Assignee Alexandra Kuks (Asia.Rudenko)
Priority Normal
State Waiting for Info
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

I have come across two issues when building a group of projects in VS2017 when ReSharper is enabled. The solution contains about 60+ projects most of which are C++ projects. I am currently converting the original VC6 projects to VS2017. I currently have 42 of these projects, all of which are C++, converted and compiling properly. I created a build project that builds these 42 projects. When I build this project with ReSharper enabled I get errors that I do not get when I build them with ReSharper disabled.

  1. One of the project's dependencies are not honored. Project A's references include project B. Project B creates a .tlb file, which is moved to a common Bin directory in a Post Build Step using XCopy. Project A looks for this .tlb file in the common Bin directory. This works fine when ReSharper is disabled, but when ReSharper is enabled Project A generates errors because it can't find projects B's .tlb file.

  2. If you rebuild the build project again with Re-Sharper enabled, the .tlb file is found but errors are created in several project, including Project A, because the parameter of several raw... methods defined in the .tlb file have changed from 'char' to 'VARIANT_BOOL'. When you go to the definition of one of the offending raw... methods, you end up looking at a .tli file somewhere in a ReSharper cache directory. The original definition of these method in Project B's .odl file indicates the parameter should be a 'char'.

RSRP-471083: EAP exception notifications

$
0
0
Reporter Andrew Perkins (rescuetpservices) Andrew Perkins (rescuetpservices)
Created Aug 15, 2018 3:58:42 PM
Updated Oct 2, 2018 7:54:35 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Is there a way to have a sound rung whenever there is an EAP exception found? If I am to put in a description of what I was doing when the exception occurred, I need to have an indication that the exception occurred. I don't always notice when the icon appears indicating the error/exception.

RSRP-471664: [Performance Report] Typing response is very slow

$
0
0
Reporter Denis Papp (denis0822) Denis Papp (denis0822)
Created Sep 27, 2018 10:33:58 PM
Updated Oct 2, 2018 7:56:01 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.17134.0
Product: dotCover, Version: 2018.2.20180821.115217
Product: dotTrace, Version: 2018.2.20180821.115219
Product: ReSharper, Version: 2018.2.20180821.115000
Product: dotMemory, Version: 2018.2.20180821.115113
Time Zone: Central Standard Time

Description

Previously reported with #1725255

With Resharper on, gradually I will start to see a slowdown in typing response. For example, if I type in 20 characters to the Command Window, it may take several seconds for all the chracters to appear (one at a time). The problem is most obvious with the Command Window but also can be observed in the editor.

I have attached a performance snapshot..
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>