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

RSRP-465729: Add (Clone Members) to Generate menu.

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 2, 2017 4:30:31 PM
Updated Mar 29, 2018 6:07:07 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Please add (Clone Members) to Generate menu.
This tool generates new instance of current class by assignment directly.

RSRP-463941: Unpack/Repack: Convert the single fluent method into a series of discrete method calls for debugging

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Mar 24, 2017 5:28:25 PM
Updated Mar 29, 2018 6:07:26 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I'd like a single click "Unpack" feature. Imagine a highly fluent method, perhaps implemented as an expression body. Now, imagine it is necessary to debug, single stepping through the code. Unpack would convert the single fluent method into a series of discrete method calls, implemented with local variables. Now, once debugging is complete, Repack would be a handy way of compressing the code back into its better implementation.

RSRP-465927: EncapsulateField: Make field private checkbox should be disabled if field is already private

$
0
0
Reporter Evgeny Ulanov (evgeny.ulanov) Evgeny Ulanov (evgeny.ulanov)
Created Aug 18, 2017 10:06:06 PM
Updated Mar 29, 2018 6:10:55 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Open
Type Bug
Fix version Backlog
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Actual: checkbox enabled if refactoring executed on private field
Expected: checkbox disabled, unchecked

RSRP-462531: Webservice integration

$
0
0
Reporter Jonas Franz (JonasFranzDEV) Jonas Franz (JonasFranzDEV)
Created Nov 22, 2016 12:32:07 AM
Updated Mar 29, 2018 6:17:26 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Could you integrate a generation-method to generate a WebService (for example a SOAP-based Webservice)?

163.8671

RS-163.8671, JRE 1.8.0_112-release-408-b2x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.12 unknown, screens 1920x1080, 1920x1080 Europe/Berlin

RSRP-441271: Improve ToDo list

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Jun 14, 2015 12:33:23 PM
Updated Mar 29, 2018 6:17:50 PM
Subsystem TODO Items
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I would like to see more features of ToDo list.

Custom columns and filtering.
For instance given following pattern

"FEATURE: {priority} {complexity} {description}", .e.g: // FEATURE high easy Replace 'return null' with 'return a ?? null'

I want to have columns and sort my features by these three possible values.
This will be a very good option to write a future code work.

If TeamCity could also extract this with the same Resharper patterns , it could be the best.
Thanks.

RSRP-73288: TODO in Multiline Comments Fails to Capture the Whole Comment Body

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Jun 25, 2008 6:42:37 PM
Updated Mar 29, 2018 6:19:42 PM
Subsystem TODO Items
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Open
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
/* TODO: review
the solution */

The whole text should be getting into the TODO view. Currently, only the first line does.

RSRP-468151: Element JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression is not valid.

$
0
0
Reporter Anna Milova (anna.milova) Anna Milova (anna.milova)
Created Jan 30, 2018 7:17:10 PM
Updated Mar 29, 2018 6:22:20 PM
Subsystem Debugger features
Assignee Mikhail Senkov (micha)
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 12 Hive _4f065301DotnetProducts — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180111.0-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180111.0-eap01d
JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180111.0-eap01d

Element JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression is not valid.

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Element JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression is not valid.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.ReentrancyGuard.ActionName = “Execute annotation action”
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.Tree.TreeNodeExtensions.AssertIsValid(ITreeNode element, String messageText) in C:\work\dotnet-products\Psi.Features\Core\Psi\_Core\Src\Tree\TreeNodeExtensions.cs:line 1281
 at JetBrains.ReSharper.Psi.Tree.TreeNodeExtensions.AssertIsValid(ITreeNode element, String messageText) in C:\work\dotnet-products\Psi.Features\Core\Psi\_Core\Src\Tree\TreeNodeExtensions.cs:line 1281
 at JetBrains.ReSharper.Psi.Pointers.PsiPointersExtensions.CreateTreeElementPointer[TTreeNode](TTreeNode element, TreeNodePointerConfiguration configuration) in C:\work\dotnet-products\Psi.Features\Core\Psi\_Core\Src\Pointers\IPsiPointers.cs:line 56
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugDataTip.ShowDataTip(Lifetime lifetime, DebugDataTipTreeModel model, ITextControl editor, Rectangle anchor, Boolean showAsTooltip, ITreeNode context) in C:\work\dotnet-products\Psi.Features\VisualStudio\Debugger\Src\DebugDataTip.cs:line 47
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass24_1.<CalculateExpressionsInRegion>b__0(UIElement anchor) in C:\work\dotnet-products\Psi.Features\VisualStudio\Debugger\Src\VsDebugVisualizerComponent.cs:line 559
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugAdornmentsContainer.<>c__DisplayClass13_0.<AddAdornment>b__3() in C:\work\dotnet-products\Psi.Features\VisualStudio\Debugger\Src\VsAdornmentsContainer.cs:line 385
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) in C:\work\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 201
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass3_0.<ExecuteOrQueueReadLock>b__0() in C:\work\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 81
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Element JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression is not valid.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180111.0-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180111.0-eap01d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180111.0-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-am-catch::082f44ac86eb12eae8ddbc75e84022a01e5b5cc3

Data.VsVersion = 15.5.27130.2026
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message) in C:\work\dotnet-products\Platform\Core\Shell\RdCore\Src\Logging\LogEx.cs:line 213
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 974
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 314
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 524
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority) in C:\work\dotnet-products\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuardEx.cs:line 77
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, Lifetime lifetime, String name, Action action) in C:\work\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IThreadingEx.cs:line 90
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, Lifetime lifetime, String name, Action F) in C:\work\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 81
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugAdornmentsContainer.<>c__DisplayClass13_0.<AddAdornment>b__0(Object sender, MouseButtonEventArgs args) in C:\work\dotnet-products\Psi.Features\VisualStudio\Debugger\Src\VsAdornmentsContainer.cs:line 383
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(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-467627: The JetBrains.DataFlow.LifetimeDefinition lifetime has been emergency terminated on the finalizer thread upon being lost by its owner.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 12, 2017 3:33:21 PM
Updated Mar 29, 2018 6:23:08 PM
Subsystem Structured Patterns (SSR)
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed In Branch
Type Exception
Fix version 2018.1
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
ReSharperPlatformVs14 Wave 11 — JetBrains ReSharper Ultimate 2017.3 EAP 1 PRE Build 111.0.20171010.200955-eap01pre

JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20171010.203159-eap01pre

The JetBrains.DataFlow.LifetimeDefinition lifetime has been emergency terminated on the finalizer thread upon being lost by its owner.

— EXCEPTION #1/3 [InvalidOperationException]
Message = “The JetBrains.DataFlow.LifetimeDefinition lifetime has been emergency terminated on the finalizer thread upon being lost by its owner.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/3 [FinallyException]
Message = “The JetBrains.DataFlow.LifetimeDefinition lifetime has been emergency terminated on the finalizer thread upon being lost by its owner.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.Disposable+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = JetBrains.DataFlow.LifetimeDefinition
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
ObjectId = JetBrains.DataFlow.LifetimeDefinition
CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”

— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “The JetBrains.DataFlow.LifetimeDefinition lifetime has been emergency terminated on the finalizer thread upon being lost by its owner.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 1 PRE Build 111.0.20171010.200955-eap01pre”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20171010.203159-eap01pre”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave11::7eec7cc432e9fc2e3a7eb76e9157f7607e05f013


Platform\VisualStudio:
    git::refs/heads/wave11

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\DataFlow\Lifetime\Disposable.cs:line 348
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\DataFlow\Lifetime\Disposable.cs:line 348
 at JetBrains.DataFlow.Disposable.FinalizableDisposable.Finalize() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\DataFlow\Lifetime\Disposable.cs:line 254

RSRP-453093: Navigate to implementation requires mouse move

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jan 19, 2016 12:50:02 PM
Updated Mar 29, 2018 6:27:51 PM
Subsystem Navigation - Contextual
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Fixed In Branch
Type Bug
Fix version 2017.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
It had occurred to me repeatedly that Resharper navigated me to the wrong implementation of an interface.

1- Create an interface with a method.
2- Create 2 implemetations of the interface
3- Press ctrl+F12 on the interface method and move the mouse to the second implementation (don't click)
4- Press escape
5- Press ctrl+F12 again and click on the second implementation without moving the mouse
6- The first implementation is opened instead of the second.

I use C#

RSRP-435038: Not compilable code generated on encapsulating private field to private auto-property.

$
0
0
Reporter Michael Zaytsev (Michael.Zaytsev) Michael Zaytsev (Michael.Zaytsev)
Created Mar 12, 2015 4:40:05 PM
Updated Mar 29, 2018 6:48:22 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1, 9.0 Update 1
Fixed In Version ReSharper Undefined
VsVersion VS 2013 RTM
public class C
{
private int test;
}

Encapsulating field test (Refactor This -> Encapsulate Field) to private auto-property generates invalid code:

public class C
{
private int Test { get; private set; }
}

Generated code is not compilable. It have error on private setter's modifier: The accessibility modifier of the accessor must be more restrictive that the property 'C.Test'

RSRP-468980: Encapsulate Field: property is private when public visibility selected in dialog.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 29, 2018 6:57:21 PM
Updated Mar 29, 2018 6:57:21 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

private string myString;
  1. Invoke Refactor This -> Encapsulate Field on myString.
  2. Set visibility to public in "Encapsulate Field" dialog.
  3. Click Next.

Actual result:

private string MyString { get; }

Expected result:

public string MyString { get; }

RSRP-467863: Can't find project ProjectName: Test.Shell, ProjectGuid: 99b209c0-5b53-4cf7-9f25-1e8da19df118

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jan 9, 2018 7:52:35 PM
Updated Mar 29, 2018 7:03:54 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _321c4cfdPro15 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20171229.185313-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20171229.185313-eap01d

Can't find project ProjectName: Test.Shell, ProjectGuid: 99b209c0-5b53-4cf7-9f25-1e8da19df118

— EXCEPTION #1/2 [AssertionException]
Message = “Can't find project ProjectName: Test.Shell, ProjectGuid: 99b209c0-5b53-4cf7-9f25-1e8da19df118”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Features.SolBuilderDuo
StackTraceString = “
 at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.ProjectsGraphByRelationsBuilder.ProjectsGraph(OneToSetMap`2 mappedRelations, Dictionary`2 keysToProjectWithReferences, Func`2 getRefs) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Helpers\IProjectsGraphBuilder.cs:line 151
 at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.ProjectsGraphByRelationsBuilder.ProjectsGraph(OneToSetMap`2 mappedRelations, Dictionary`2 keysToProjectWithReferences, Func`2 getRefs) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Helpers\IProjectsGraphBuilder.cs:line 151
 at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.ProjectsGraphByRelationsBuilder.Build(IEnumerable`1 projects, IEnumerable`1 relations) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Helpers\IProjectsGraphBuilder.cs:line 123
 at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.AgregatedProjectsGraphBuilder.Build(IList`1 projects) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Helpers\IProjectsGraphBuilder.cs:line 65
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderCommandProcessor.ProcessPersistentDataLoadedCommand(SolutionBuilderPersistentDataLoadedCommand command) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderCommandProcessor.cs:line 414
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommand(ISolutionBuilderCommand command) in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderControllerPrototype.cs:line 286
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.<>c__DisplayClass40_0.<ProceedCommands>b__1() in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderControllerPrototype.cs:line 271
 at JetBrains.Util.Threading.SynchronizedLifetime.ExecuteIfNotTerminated(Action λ) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\SynchronizedLifetime.cs:line 146
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommands() in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderControllerPrototype.cs:line 271


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Can't find project ProjectName: Test.Shell, ProjectGuid: 99b209c0-5b53-4cf7-9f25-1e8da19df118”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = SolutionBuilderControllerPrototype_Executor
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20171229.185313-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20171229.185313-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12::bce58ddd9ea385f6dee0b49ee3101f591deb1cca

Data.VsVersion = 15.0.26228.4
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommands() in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderControllerPrototype.cs:line 276
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommands() in w:\ReSharper\Psi.Features\SolutionBuilder\Duo\Src\Services\SolutionBuilderControllerPrototype.cs:line 276
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 154
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_0.<Create>b__1(Object state) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 212
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.InternalExecute(Task task) in w:\ReSharper\Platform\Core\Shell\Shell\Src\Threading\Tasks\SingleThreadTaskScheduler.cs:line 149
 at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.ThreadProc() in w:\ReSharper\Platform\Core\Shell\Shell\Src\Threading\Tasks\SingleThreadTaskScheduler.cs:line 116
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 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 System.Threading.ThreadHelper.ThreadStart()

RSRP-439690: Type Dependency Diagram works really bad when using dark theme in Visual Studio

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created May 13, 2015 4:37:12 PM
Updated Mar 29, 2018 7:04:27 PM
Subsystem Architecture Tools (Diagramms)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Cosmetics
Fix version No Fix versions
Affected versions 9.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I prefer using the Dark theme in Visual Studio, but i can't if I want to use the Type Dependency Diagram. By default, it looks really bad and pretty much useless.

Please test and fix the problem so that those of us who use the dark theme in Visual Studio aren't second-class citizens :)

If you look at the dark one, you can’t see the boxes ‘cause they’re the same color as the background. Perhaps a light frame around boxes would be better. Also, the text is very hard to read, especially the title.

RSRP-468981: False "Convert if statement to switch statement"

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Mar 29, 2018 7:05:01 PM
Updated Mar 29, 2018 7:05:14 PM
Subsystem Code Analysis - C#
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Critical
State Submitted
Type Bug
Fix version 2018.1
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper is to eager and wants to refactor two if statements (not if, if-else) to a swtich with break after each refactoring.
This will change the bussinness logic and could be catastrophic.
We got this issue in our main codebase, and I have here reproduced it in it's own little project.

Everything on latest and greatest stable (ReSharper and Visual Studio).

ReSharper does not refactor wrong if it can see a class implementing both interfaces, however.
In our main codebase, this code runs in a library with the interfaces and logic, and the class itself is located in another solution/nuget.
Loading done through private NuGet packages.

So there is no way for ReSharper to actually take those assumptions correctly, therefor it should not do it at all (as everyting is publicly declared).

RSRP-462635: Ctrl+Alt+PgDn stop working if "Open preview tab for selected item" checkbox is ticked

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jan 19, 2017 3:24:20 PM
Updated Mar 29, 2018 7:05:24 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2016.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
1) ReSharper | Options | Environment | Search & Navigation | "Find Result window" | Tick "Open preview tab for selected item" checkbox;
2) Call "Find Usages" for a symbol;
3) When "Find Result" window appears, hit Ctrl+Alt+PgDn shortcut - it will work and show you first usages in a code tab;
4) Hit Ctrl+Alt+PgDn second time -> nothing happens

RSRP-467967: 'Merge type check and cast' suggestion should ignore missing conditional accesses in cast expressions

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Jan 16, 2018 5:48:36 PM
Updated Mar 29, 2018 7:51:33 PM
Resolved Mar 26, 2018 10:30:19 AM
Subsystem Code Analysis - C#
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3.2
Fixed In Version ReSharper 2018.1 EAP 5
VsVersion All Versions
  class C { public C GetC { get; } }
class D : C { }
public void Method(C c)
{
if (c?.GetC is D)
Console.WriteLine((D) c.GetC); // no suggestion

if (c.GetC is D)
Console.WriteLine((D) c.GetC); // merge type check and cast is suggested
}

source: https://twitter.com/ISkomorokh/status/952820187027292160

RSRP-467839: Redundant nameof() reference in Incoming Calls

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jan 9, 2018 12:05:15 PM
Updated Mar 29, 2018 7:59:41 PM
Subsystem Inspect This - Call Tracking
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.1
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When I'm inspecting "Incoming Calls" to a method XY then I really don't have any interrest in "recursion" entries triggered by the use of "nameof(XY)".

There are for sure some more places where the use of nameof() is misinterpreted as an incoming call.


            public void M()
{
var mName = MName();
M();
}

private string MName()
{
return nameof(M);
}

RSRP-468976: Add "Why is ReSharper suggesting this" content for "Implicitly captured closure"

$
0
0
Reporter Matt Ellis (citizenmatt) Matt Ellis (citizenmatt)
Created Mar 29, 2018 2:22:37 PM
Updated Mar 29, 2018 8:04:49 PM
Subsystem Help
Assignee Dmitry Matveev (dmitry.matveev@jetbrains.com)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

The "Implicitly captured closure" hint is a short and unintuitive message for a subtle warning. We should document this and add it to the "Why is ReSharper suggesting this?" code inspection documentation.

See also RSRP-338085 and this forum thread

RSRP-468059: GoToText: There is no way to get only user code without unit tests code or generated one

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Jan 23, 2018 12:44:07 PM
Updated Mar 29, 2018 8:15:37 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Go to Text on Roslyn sources | Paste WRN_SameFullNameThisAggNs

Try unticking "Unit Test" or "Usage in generated code" in filters

RSRP-468982: MSpec "It" properties aren't run in right order in ReSharper UTR

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Mar 29, 2018 8:24:17 PM
Updated Mar 29, 2018 8:25:08 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion All Versions
The 'It' properties are not run in order which is problematic in code such as this:


Because we_ask_for_the_identity = () => action = () => sut.DoSomethingThatThrows();
It throws_an_exception = () => action.Should().ThrowExactly<OutOfMemoryException>();
It notifies_support_of_the_exception = () => support.SystemExceptions.Should()
.Contain(_ => _.Exception is OutOfMemoryException);

Here, the first 'It' exercises the SUT (which throws an exception and 'notifies support', but the second 'It' is being run first and the test fails falsely.
Viewing all 106942 articles
Browse latest View live


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