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

RSRP-469124: Move Into Matching Files refactoring with .ts files creates new empty files.

$
0
0
Reporter Nikolay Glushakov (Nikolay.Glushakov) Nikolay Glushakov (Nikolay.Glushakov)
Created Apr 6, 2018 7:38:15 AM
Updated Apr 11, 2018 8:47:16 AM
Subsystem TypeScript
Assignee Nikolay Glushakov (Nikolay.Glushakov)
Priority Normal
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

Refactoring splits code in a wrong way if the elements are located inside a module. Afrer running, the entire module is in one file, other files are empty but have proper names corresponding to the names of the elements.

Repro: open the project, apply refactoring to app.ts


RSRP-469203: Rider is stuck at "Aborting" unit tests when using selenium

$
0
0
Reporter Nikita Tsukanov (kekekeks) Nikita Tsukanov (kekekeks)
Created Feb 14, 2018 2:39:46 PM
Updated Apr 11, 2018 9:46:41 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

See attached video.

Test process itself is successfully killed, but Rider is stuck and I can't restart the unit test session.

Repro: https://github.com/kekekeks/RiderSeleniumFreezeBug

Ubuntu 16.04, .NET Core SDK 2.0

RSRP-461742: An item with the same key has already been added.

$
0
0
Reporter Ivan Shakhov (Ivan.Shakhov) Ivan Shakhov (Ivan.Shakhov)
Created Oct 27, 2016 1:49:46 PM
Updated Apr 11, 2018 10:20:12 AM
Resolved Feb 6, 2018 5:57:48 PM
Subsystem No Subsystem
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Obsolete
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 1.0 Build RS-163.6931

— EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = COR_E_ARGUMENT=E_INVALIDARG=80070057
Source = mscorlib
StackTraceString = “
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.RecalculateProjects()
 at JetBrains.Threading.GroupingEvent.Execute()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Threading.GroupingEvent.Execute()
 at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.Threading.GroupingEventHost.OnClockTimerTick()
 at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e)
 at System.Windows.Forms.Timer.OnTick(EventArgs e)
 at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass4.<.ctor>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue()
 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.DispatcherOperation.InvokeImpl()
 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)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)



last.action = EditorBackSpace

app.eap = true
app.internal = false
app.build = RS-163.6931
app.version.major = 1
app.version.minor = 0
app.build.date = 2016-10-24T22:00:00.000+0000
app.build.date.release = 2016-10-24T22:00:00.000+0000
app.build.date.release = 2016-10-24T22:00:00.000+0000
app.compilation.timestamp = null
app.product.code = RS

os.name = Windows 10
java.version = 1.8.0_112-release
java.vm.vendor = JetBrains s.r.o

UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ShellHost.imageScaleFactor = 1

RSRP-469130: Failed to unmarshal 20 at 612 An item with the same key has already been added.

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Apr 6, 2018 2:48:31 PM
Updated Apr 11, 2018 10:25:24 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
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 _8ca9bb57 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.62948-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07

SubProducts.0 = JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07
SubProducts.1 = JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07
SubProducts.2 = JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07
SubProducts.3 = JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07
SubProducts.4 = JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07

Failed to unmarshal 20 at 622 An item with the same key has already been added.

— EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = mscorlib
StackTraceString = “
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
 at JetBrains.ProjectModel.Model2.Assemblies.Impl.AssemblyCollection.AddAssembly(Assembly assembly)
 at JetBrains.ProjectModel.Persistence.Marshallers.AssemblyMarshaller.UnmarshallImpl(UnsafeReader reader, ProjectModelCaches projectModelCaches)
 at JetBrains.ProjectModel.Persistence.Marshallers.ProjectModelElementMarshallerBase`1.Unmarshall(UnsafeReader reader, ProjectModelCaches projectModelCaches)
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to unmarshal 20 at 622 An item with the same key has already been added.”
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 7 Build 112.0.20180406.62948-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap7::b6d4fc267b98dd6dc689ea7e69e4dd615e877e0e


Platform\VisualStudio:
    git::refs/heads/wave12-eap7::354ded50254700719df3b367deb0035883f54de7

Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)
 at JetBrains.Application.PersistentMap.LevelDbMap`2.TryGetValue(TKey key, TValue& value)
 at JetBrains.Application.PersistentMap.OptimizedPersistentSortedMap`2.TryGetValue(TKey key, TValue& value)
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.<Load>b__20_0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.Load()
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<>c__DisplayClass5_0.<EnqueueLoadFromCache>b__0()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.<>c__DisplayClass24_0.<ExecuteOneTask>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTask()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background)
 at JetBrains.ProjectModel.SolutionManagerBase.CreateSolutionInstance(SolutionElement solutionElement, SolutionInstance solutionInstance)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.<>c__DisplayClass37_0.<OpenVSSolution>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass4_0.<Next>b__0(LifetimeDefinition definition, Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.OpenVSSolution(Boolean openSolution, Boolean sync)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__15_1()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__15_0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_0.<ExecuteOrQueueOrMerge>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.OnAfterBackgroundSolutionLoadComplete()
 at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32 grfOpenOpts, String pszFilename)
 at Microsoft.VisualStudio.PlatformUI.Packages.MRU.ExtensionMethods.TryOpenProject(IVsSolution solution, String projectPath, Guid projectGuid)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.<OpenLocalCodeContainerAsync>d__9.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.OpenLocalCodeContainerAsync(CodeContainer codeContainer)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.<OpenAsync>d__6.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.OpenAsync(CodeContainer codeContainer)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.<>c__DisplayClass17_0.<<OnOpen>b__0>d.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.<>c__DisplayClass17_0.<OnOpen>b__0()
 at Microsoft.VisualStudio.Threading.JoinableTaskFactory.ExecuteJob[T](Func`1 asyncMethod, JoinableTask job)
 at Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync(Func`1 asyncMethod, Boolean synchronouslyBlocking, JoinableTaskCreationOptions creationOptions, Delegate entrypointOverride)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.OnOpen(CodeContainerViewModelBase codeContainerViewModel)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerViewModelBase.<>c__DisplayClass49_0.<.ctor>b__0(Object o)
 at Microsoft.VisualStudio.PlatformUI.DelegateCommand.Execute(Object parameter)
 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(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.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-468580: [Performance Report] Re: #1278598

$
0
0
Reporter Tim Kempton (timkempton) Tim Kempton (timkempton)
Created Mar 5, 2018 8:51:31 PM
Updated Apr 11, 2018 11:11:27 AM
Resolved Apr 5, 2018 11:44:21 PM
Subsystem Refactorings
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Fixed
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 7
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.15063.0
Product: ReSharper, Version: 2017.3.20180302.70613
Time Zone: GMT Standard Time

Description

This takes 30 minutes to run on a small solution with < 1000 files

RSRP-469204: Command Line Tools show warning

$
0
0
Reporter Ben Parks (benparks32) Ben Parks (benparks32)
Created Apr 11, 2018 11:16:03 AM
Updated Apr 11, 2018 11:16:03 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

When I run the latest version of the Resharper command line tools I get the following warnings:

Warning: The system cannot find the path specified.
Warning: Unable to load assembly via MetadataLoader.TryLoad by name Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc The system cannot find the path specified.

I'm using the following command:

InspectCode MySolution.sln --output=code-inspection-results.txt --format=Text --profile=my-profile.DotSettings

The version information shown is

JetBrains Inspect Code 2017.3.5
Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Microsoft Windows NT 6.2.9200.0

Please can you help resolve this issue?
Thanks,
Ben

RSRP-453767: Detect Regex problem: Illegal {x,y} with x > y

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:14:20 PM
Updated Apr 11, 2018 11:27:20 AM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex("x{2,1}"); // ArgumentException: parsing "x{2,1}" - Illegal {x,y} with x > y.
}
}

RSRP-453763: Detect Regex problem: [x-y] range in reverse order.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 10:47:08 PM
Updated Apr 11, 2018 11:27:25 AM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed In Branch
Type Feature
Fix version No Fix versions
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex("[z-a]"); // System.ArgumentException: parsing "[z-a]" - [x-y] range in reverse order.
}
}

RSRP-453768: Detect problem in Regex: Capture group numbers must be less than or equal to Int32.MaxValue.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:29:41 PM
Updated Apr 11, 2018 11:27:31 AM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex(".{10000000000}"); // ArgumentException: parsing ".{10000000000}" - Capture group numbers must be less than or equal to Int32.MaxValue.
}
}

RSRP-469205: Make static: checkboxes are unchecked by default.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 11, 2018 11:38:51 AM
Updated Apr 11, 2018 11:38:51 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

  1. Open Make Static dialog.
  2. Select "Introduce parameters" radio button.

Actual result:
All parameters are unchecked.

Expected result:
Parameters are checked.

Would be nice:
To uncheck parameters checkboxes when radio button "Do not add parameters" or "Add 'this' parameter" is selected (now checkboxes just disabled). And if "Introduce parameters" is selected again to return back to previously checked checkboxes.

RSRP-469207: Flaky test JetBrains.ReSharper.VSIntegrationTests._1_Navigate.InPlaceNavigationTests.TestGotoUsage

RSRP-469208: Displaying "byte.MinValue" is more confusing than just "0"

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Apr 11, 2018 12:11:19 PM
Updated Apr 11, 2018 12:11:19 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions


This feature makes sense for int/long and maybe short, but not for byte/sbyte.

RSRP-469206: Make Static: dialog fills screen (by width) when lots of parameters are used.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 11, 2018 12:10:02 PM
Updated Apr 11, 2018 12:14:30 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

        private class MetaInfo
        {
            public string Id { get; set; }
            public string Name { get; set; }

            public string Name1 { get; set; }
            public string Name2 { get; set; }
            public string Name3 { get; set; }
            public string Name4 { get; set; }
            public string Name5 { get; set; }
            public string Name6 { get; set; }
            public string Name7 { get; set; }
            public string Name8 { get; set; }
            public string Name9 { get; set; }
            public string Name0 { get; set; }
            public string Name10 { get; set; }
            public string Name11 { get; set; }
            public string Name12 { get; set; }
            public string Name13 { get; set; }
            public string Name14 { get; set; }
            public string Name15 { get; set; }
            public string Name16 { get; set; }
            public string Name17 { get; set; }
            public string Name18 { get; set; }
            public string Name19 { get; set; }
            public string Name20 { get; set; }



            public MetaInfo Merge(MetaInfo other)
            {
                return new MetaInfo
                {
                    Id = Id + other.Id,
                    Name = Name + other.Name,
                    Name1 = Name1 + other.Name,
                    Name2 = Name2 + other.Name,
                    Name3 = Name3 + other.Name,
                    Name4 = Name4 + other.Name,
                    Name5 = Name5 + other.Name,
                    Name6 = Name6 + other.Name,
                    Name7 = Name7 + other.Name,
                    Name8 = Name8 + other.Name,
                    Name9 = Name9 + other.Name,
                    Name0 = Name0 + other.Name,
                    Name10 = Name10 + other.Name,
                    Name11 = Name11 + other.Name,
                    Name12 = Name12 + other.Name,
                    Name13 = Name13 + other.Name,
                    Name14 = Name14 + other.Name,
                    Name15 = Name15 + other.Name,
                    Name16 = Name16 + other.Name,
                    Name17 = Name17 + other.Name,
                    Name18 = Name18 + other.Name,
                    Name19 = Name19 + other.Name,
                    Name20 = Name20 + other.Name,
                };
            }
        }
  1. Invoke Make Static on Merge.

Actual result:
Dialog fills screen(s) by width.

Expected result:
Width of dialog is the same as for 2 parameters.

RSRP-457627: RegExp parsing error

$
0
0
Reporter Evgeniy Stepanov (Evgeniy_Stepanov) Evgeniy Stepanov (Evgeniy_Stepanov)
Created Apr 7, 2016 6:26:36 PM
Updated Apr 11, 2018 12:18:05 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
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
@"(?'FieldName'(?(?<=\s).*?|\S*?)):\s(?'Value'.*?);"
dfgdg: dfgdg dfgdg; dfgdg/dfgdg: ; dfgdg: 5435435' .. .dasd.; dfgdg: 345'435 dfgdg.; dfgdg: 0.0 м.; dfgdg: ; dfgdg dfgdg: ; dfgdg: 0; dfgdg: dfgdg-dfgdg-dfgdg; dfgdg:

RSRP-468975: Support: CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported (23, 9)

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Mar 29, 2018 1:58:05 PM
Updated Apr 11, 2018 12:30:28 PM
Subsystem Code Analysis - C#
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Project 1 (with ValueTuple reference)
namespace App1
{
public static class Program
{
public static (int, int) Method()
{
return (1, 1);
}
}
}
Project 2 (no ValueTuple reference)
namespace App2
{
class Program
{
static void Main(string[] args)
{
var (item1, item2) = App1.Program.Method();
}
}
}

RSRP-469209: Remove redundant parantheses warns even when they clarify precedence

$
0
0
Reporter Linus Nilsson (lajnold) Linus Nilsson (lajnold)
Created Apr 11, 2018 12:43:28 PM
Updated Apr 11, 2018 12:45:13 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper warns about the parentheses around y && z even though I have "If not clarifies precedence" checked. My opinion (which is, of course, subjective) is that they do clarify the precedence. It's not a major hurdle since the severity is set to "Hint", but since there is the option of "clarifies precedence", I think it should take that into account.

public void Fun(bool x, bool y, bool z)
{
    if (x || (y && z))
    {
    }
}

RSRP-469191: Make Method Non-Static: Issues.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 10, 2018 5:33:17 PM
Updated Apr 11, 2018 12:46:53 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

        class MetaInfo
        {
            public string Id { get; set; }
            public string Name { get; set; }

            public static MetaInfo Merge(MetaInfo m1, MetaInfo m2)
            {
                return new MetaInfo
                {
                    Id = m1.Id + m2.Id,
                    Name = m1.Name + m2.Name
                };
            }
        }
  1. Invoke Make Method Non-Static on Merge.
  2. Inspect dialog.

Results:

  1. When dialog just opens and keyboard down arrow is pressed (1 - n times) then nothing happens (second parameter is not selected). Expected result: second parameter is selected after down arrow is pressed one time. NOTE: if keyboard up arrow is pressed and after that down arrow is pressed then second parameter is selected.
  2. When dialog just opens and mouse click on second parameter then second parameter is not selected (see screenshot). Expected result: second parameter is selected.
  3. If Undo checkbox is selected using keyboard-only input (tabs) then the rectangle around the label is NOT shown (first time). Expected result: rectangle around the label is shown. - Also applicable for "Make Static", "Replace Constructor With Factory Method".
  4. Click on "?". Error page is shown. Expected result: help is shown.
  5. If Conflicts dialog appears and Back button is clicked then "Make Method Non-Static" dialog appears small.

RSRP-241175: Code formatter option: do not indent first level declarations under a namespace

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Mar 31, 2011 12:15:55 PM
Updated Apr 11, 2018 1:02:10 PM
Resolved Apr 11, 2018 1:02:10 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Duplicate
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
using Bar;

namespace MyNamespace
{
public class MyClassNotIndentedFromNamespace
{
private myIndentedMember;
..

RSRP-394503: An option to set the namespace interior indent level

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 20, 2013 10:20:18 PM
Updated Apr 11, 2018 1:02:25 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I'd like an option to set the namespace interior indent level (to zero in my case). Horizontal space is the most precious in the IDE, and using four spaces for a namespace indent level is really not very helpful or useful.

RSRP-469183: [VS 2017 15.7 Preview 3] No intellisense and refactoring actions when edit csproj files

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Apr 10, 2018 4:28:31 PM
Updated Apr 11, 2018 1:07:12 PM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Now on Visual Studio 2017 15.7 Preview 3, ReSharper doesn't provide no intellisense, refactoring actions, etc. when edit the csproj file without unload the project.
This worked very well in Visual Studio 2017 15.6.5.


Also worked in VS 2017 Preview 2



Viewing all 106942 articles
Browse latest View live


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