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

RSRP-469187: Inline conditional ref

$
0
0
Reporter Matthias Koch (Matthias.Koch) Matthias Koch (Matthias.Koch)
Created Apr 10, 2018 5:05:18 PM
Updated Apr 10, 2018 5:06:08 PM
Subsystem Refactorings - Inplace
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Improvement
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
// variable r could be inlined, but tooltip says it has write usages
ref var r = ref arr != null ? ref arr[0]: ref otherArr[0];
r = 1;

after inline could look like this
(arr != null ? ref arr[0]: ref otherArr[0]) = 1;

RSRP-469188: No error when boxing ref structs

$
0
0
Reporter Matthias Koch (Matthias.Koch) Matthias Koch (Matthias.Koch)
Created Apr 10, 2018 5:14:27 PM
Updated Apr 10, 2018 5:14:27 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ToString, GetHashCode, Equals

RSRP-469189: No error when using ref structs as parameter in async methods

$
0
0
Reporter Matthias Koch (Matthias.Koch) Matthias Koch (Matthias.Koch)
Created Apr 10, 2018 5:15:37 PM
Updated Apr 10, 2018 5:18:28 PM
Subsystem Code Analysis - C#
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468904: Dialogs UI Issues.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 27, 2018 12:39:57 PM
Updated Apr 10, 2018 5:35:28 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.

Common issues:

  1. Checkboxes moved too much on the left.
  2. Radio buttons moved too much on the right.
  3. Empty tooltip when focusing field is shown.
  4. When radio button or checkbox is clicked the rectangle around the label is shown. - Won't fix.
  5. Name is not selected when dialog opens. To change the name click on textbox and selection is needed.
  6. Can't use keybord-only input. Checkboxes (placed inside Parameters window) are not checked/uncheked by space when navigating to it using tab.
  7. Parameters are moved a little to the right when clicking on checkbox; and to the left when clicking on empty space inside Parameters window.
  8. Width between Parameters window and dialog border is too small (see screenshot "IntroduceParameterEnlambda.png").
  9. Textbox should end where Cancel button ends. See "MoveToOuterScope.png"
  10. Click on empty space at the right of checkbox and label does NOT check/uncheck checkbox. See "Checkbox.png".
  11. Tree can't be expanded and no child visible. See screenshot "SafeDeleteTree.png".
  12. Dropdown does not have selected value when dialog opens. See screenshot "EncapsulateField.png".
  13. Dropdown style (looks like dropdown is disabled) and selection color (too dark) differs from previous values. See screenshots "EncapsulateField.png" and "EncapsulateFieldDropdown.png".
  14. Currently selected item is not highlighted in dropdown, selection color is grey instead of blue. See screenshot "EncapsulateFieldSelection.png".
  15. Gap in dropdown. See screenshot "EncapsulateFieldSelectionGap.png".
  16. Errors and warnings are not displayed after dialog opens, only after editing the textbox and then returning back to initial value.

RSRP-441357: Run test in this and all derived test fixtures

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Jun 16, 2015 11:00:43 AM
Updated Apr 10, 2018 5:40:39 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions Backlog
Fixed In Version ReSharper Undefined
VsVersion All Versions
If I have a complex test hierarchy like this:
[TestFixture]
class A {
[Test] public void Test001() { DoTest(); }
[Test] public void Test002() { DoTest(); }
//...
[Test] public void Test999() { DoTest(); }
}

class B extends A {
}

class C extends A {
}

abstract class D extends A {
}

class F extends D {
}

class G extends D {
}

(see our HtmlHighlightingTest for an example)

It would be really nice if I could run, for example, Test567, in class A and all derived fixtures.
Currently what I do is manually adding all derived classes and manually deleting all tests except Test567 in each of them. Boring.

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 10, 2018 5:53:52 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.
  4. Click on "?". Error page is shown. Expected result: help is shown.

RSRP-468384: Quick fix for ?: operator in interpolated string

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Feb 15, 2018 12:55:20 PM
Updated Apr 10, 2018 6:03:53 PM
Subsystem Quick Fixes
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Critical
State Fixed In Branch
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The following snippet misses parentheses around the ?: operator. At the moment ReSharper sees it as an error, but the error message isn't really helpful (see the screenshot), and there's no quickfix available.

Console.WriteLine($"{name} is {age:D3} year{age == 1 ? "" : "s"} old.");

!image.png!

RSRP-410004: Command line tools support for Mono under Linux and Darwin.

$
0
0
Reporter Miles Parfitt (CrouchingMuppet) Miles Parfitt (CrouchingMuppet)
Created Mar 18, 2014 2:27:42 AM
Updated Apr 10, 2018 6:09:19 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Razmik Seysyan (razmik)
Priority Normal
State In Progress
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Attempting to run the dupfinder from ReSharper's command line tools under Mono on Mac OS results in the exception below. Is it possible to add support for non-Windows machines?

Internal exception thrown: An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition SetErrorMode

— EXCEPTION #1/3 [EntryPointNotFoundException]
Message = SetErrorMode
ExceptionPath = Root.InnerException.InnerException
ClassName = System.EntryPointNotFoundException
HResult = COR_E_ENTRYPOINTNOTFOUND=COR_E_UNSUPPORTEDFORMAT=80131523
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
at (wrapper managed-to-native) JetBrains.Interop.WinApi.Kernel32Dll:SetErrorMode (JetBrains.Interop.WinApi.Declarations.Constants.Win32ErrorMode)
at JetBrains.Util.FileSystemDefinition..cctor () [0x00000] in <filename unknown>:0


— Outer —

— EXCEPTION #2/3 [TypeInitializationException]
Message = “An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition”
ExceptionPath = Root.InnerException
ClassName = System.TypeInitializationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_SYSTEM=80131501
Source = JetBrains.Platform.ReSharper.Util
TypeName = JetBrains.Util.FileSystemDefinition
StackTraceString = “
at JetBrains.Util.FileSystemPathParser.CanBeProvenNormalizedFast (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPathParser.Normalize (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.GetCanonicalPath (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath..ctor (System.String path, Boolean isPathAlreadyCanonical) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.Create (System.String path, Boolean isPathAlreadyCanonical) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.Parse (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemUtil.GetCurrentDirectory () [0x00000] in <filename unknown>:0
at JetBrains.CommandLine.Common.ConsoleApplicationHost+<>c__DisplayClass2.<Main>b__1 (JetBrains.CommandLine.Common.Logging.ConsoleLoggerListener listener) [0x00000] in <filename unknown>:0


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(System.Exception ex)
at JetBrains.CommandLine.Common.ConsoleApplicationHost+<>c__DisplayClass2.<Main>b__1(JetBrains.CommandLine.Common.Logging.ConsoleLoggerListener listener)
at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners+<>c__DisplayClass11[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<WithDefaultListener>b__0(JetBrains.DataFlow.Lifetime lifetime)
at JetBrains.DataFlow.Lifetimes.Using(System.Func
2 F)
 at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners.WithDefaultListener(Boolean logMessages, System.Func`2 action)
 at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners.WithDefaultListener(Boolean logMessages, System.Func`2 action)
 at JetBrains.CommandLine.Common.ConsoleApplicationHost.Main(System.Func`1 createApplicationDescriptor, System.String[] args)
 at JetBrains.CommandLine.DupFinder.DupFinderProgram.Main(System.String[] args)

RSRP-469192: Types from the lib.d.ts sometimes are absent in completion

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Apr 10, 2018 6:18:04 PM
Updated Apr 10, 2018 6:18:04 PM
Subsystem IntelliSense (Code Completion)
Assignee Nikita Popov (poksh)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-466801: Updating references of invalid project

$
0
0
Reporter Kirill Falk (kfalk) Kirill Falk (kfalk)
Created Feb 7, 2017 10:47:00 AM
Updated Apr 10, 2018 6:18:39 PM
Resolved Dec 4, 2017 3:43:03 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Critical
State Obsolete
Type Exception
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 08 RootSuffix _0a429cac — JetBrains ReSharper Ultimate 2017.1 EAP 0 Build 108.0.20170207.50811-eap00

JetBrains ReSharper 2017.1 EAP 0 Build 2017.1.20170207.53409-eap00
JetBrains ReSharper C++ 2017.1 EAP 0 Build 2017.1.20170207.53255-eap00

Updating references of invalid project

— EXCEPTION #1/1 [LoggerException]
Message = “Updating references of invalid project”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 0 Build 108.0.20170207.50811-eap00”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2017.1 EAP 0 Build 2017.1.20170207.53255-eap00”
Data.SubProducts.#1 = “JetBrains ReSharper 2017.1 EAP 0 Build 2017.1.20170207.53409-eap00”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave08

Data.VsVersion = 15.0.26127.3
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.VsIntegration.ProjectDocuments.VSProjectInfo.UpdateProjectReferences(IDictionary`2 resolvedAssemblyReferences, IDictionary`2 resolvedProjectReferences)
 at JetBrains.VsIntegration.ProjectDocuments.VSProjectInfo.UpdateProjectReferences(IDictionary`2 resolvedAssemblyReferences, IDictionary`2 resolvedProjectReferences)
 at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.UpdateProjectReferences(VSProjectInfo pi)
 at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.UpdateAllProjectsReferences()
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.ProjectModelSynchronizer10.<UpdateAllProjectsReferences>b__11(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.ProjectModelSynchronizer10.UpdateAllProjectsReferences()
 at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.<>c__DisplayClass16.<.ctor>b__6()
 at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.IShellLocksEx.<>c__DisplayClassa.<ExecuteOrQueueReadLock>b__9()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4.<>c__DisplayClass6.<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__DisplayClass5.<BeginInvokeCore>b__3()
 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-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 Apr 10, 2018 6:20:03 PM
Resolved Apr 4, 2018 12:16:58 PM
Subsystem Structured Patterns (SSR)
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions 2017.3.2
Fixed In Version ReSharper 2018.1 EAP 6
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-469193: Playlists feature for Unit Tests

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Apr 10, 2018 6:21:57 PM
Updated Apr 10, 2018 6:30:59 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
We have 4 base tests with a lot of TestCases and in certain cases we only want to run some of them.
We want to Execute only certain TestFixtures ( n of many on a class ) and only certain TestCase ( 1 of many on a test-function ).
Just like the Playlist in Visual Studio.

RSRP-468407: High memory usage

$
0
0
Reporter Jeff Chen (thinkriver@gmail.com) Jeff Chen (thinkriver@gmail.com)
Created Feb 16, 2018 3:48:24 AM
Updated Apr 10, 2018 6:42:58 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Waiting for Info
Type Performance Problem
Fix version No Fix versions
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM, VS 2015 RTM
ReSharper will eat 1.2GB memory from Visual Studio IDE. As we know that VS2017 is 32bit exe which means only have up to 4GB memory. ReSharper use 1.2GB of it. This make VS IDE very unresponsive. Please find attached screenshot after I build my solution that contains 173 project.

Normally, when I start VS2017, ReSharper will use around 600MB memory, then this memory usage rise up to around 1.2GB. Especially, when I build solution, ReShaper will do a 'Processing assemblies...' thing every time after build complete. This process make VS2017 IDE very slow and unresponsive.

1. Will you move ReSharper out of VS2017 IDE process. Make ReSharper run in its own process ?
2. Or will you be able to move 'Processing assemblies' out of VS2017 IDE process ?
3. Will you be able to reduce ReSharper memory usage ?

My memory snapshot is more than 400MB which exceed upload limitation of YouTrack.

Thanks.

RSRP-468693: [Performance Report] Analyzing changes stuck

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 15, 2018 8:54:55 AM
Updated Apr 10, 2018 6:48:02 PM
Subsystem Psi - Caches
Assignee Dmitry Ivanov (daivanov)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.15063.0
Product: ReSharper, Version: 2017.3.20171222.81043
Time Zone: RTZ 4 (зима)

Description

"Analyzing changes" is stuck for big project (ASP.NET MVC).
In snapshot, I included the analysis and expected completion, but the analysis does not end even if left on for a few days.
Ignoring files *.cshtml, *.ts, *.js and folders with another projects in solution does not help either.

RSRP-462038: New refactoring dialogs are hard to use with keyboard

$
0
0
Reporter Nikolay Kuznetsov (Nikolay.Kuznetsov) Nikolay Kuznetsov (Nikolay.Kuznetsov)
Created Dec 2, 2016 5:39:22 PM
Updated Apr 10, 2018 6:48:24 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State In Progress
Type Usability Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Some of the new refactoring dialogs are hard to use with keyboard. More specifically, there are no accelerators (Alt+? key combinations) on checkboxes, and it's not obvious if a checkbox is selected when using Tab to change focus.
This most certainly applies to Inline Parameter and Use Base type dialogs, but it may also apply to other dialogs I haven't seen yet.

RSRP-460473: Refactoring dialogs - keyboard friendly?

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 24, 2016 4:06:29 PM
Updated Apr 10, 2018 6:48:42 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions 2018.1, 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've recently begun to seriously focus on using only the keyboard as much as possible, and not touching the mouse during programming and other tasks. While ReSharper has many great keyboard shortcuts, there is something that really bothers me: the dialogs that help you with certain refactorings seem quite unusable with the keyboard alone.

Take for example, renaming a symbol that has usages which cannot be deleted safely. A dialog appears and each entry within it contains a hyperlink to the code that ReSharper cannot fix automatically. I cannot for the life of me figure out how to navigate such dialogs with the keyboard, or use the hyperlinks in the entries to navigate the code.

Any tips would be appreciated, but otherwise I would like to request that those dialogs become more keyboard-friendly with future releases of ReSharper.

RSRP-469190: Dialog's accelerators.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 10, 2018 5:19:40 PM
Updated Apr 10, 2018 6:48:42 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.

  1. Replace Anonymous Type With Named Class dialog: accelerators not working when using Russian keyboard layout. - Won't fix
  2. When Alt is clicked in dialog the mouse focus is moved to "File" in Visual Studio toolbar (second click on Alt returns focus to dialog). NOTE: when Refactor This menu is opened and Alt is clicked then focus is NOT moved to "File". - Won't fix
  3. "Make Method Non-Static" dialog: Alt+i not working.

RSRP-468863: EditorConfig property "resharper_js_quote_style" is not applied

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Mar 26, 2018 1:16:32 PM
Updated Apr 10, 2018 6:56:34 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper ignores the EditorConfig property "resharper_js_quote_style" (or one of its short forms). Although it is shown as active in the File Formatting Info pane, it's neither shown as overridden in the options window nor actually used for code style suggestions.

Tested in version 2018.1 EAP 3

RSRP-466688: Formatting of verbatim interpolated string

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Oct 18, 2017 2:56:00 PM
Updated Apr 10, 2018 6:56:56 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
При форматировании C#-кода:
Logger.Warn(ex,
$@"При удалении пакета с идентификатором {id} персистентного кэша возникла ошибка.
{Environment.NewLine} Возможно, в персистентном кэше остаются лишние данные.");
он превращается вот в такой:
Logger.Warn(ex,
$@"При удалении пакета с идентификатором {
id
} персистентного кэша возникла ошибка.
{
Environment.NewLine
} Возможно, в персистентном кэше остаются лишние данные.");

RSRP-468259: Length cannot be less than zero. Parameter name: length

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Feb 6, 2018 6:19:50 AM
Updated Apr 10, 2018 6:58:58 PM
Resolved Apr 10, 2018 6:58:38 PM
Subsystem Typing Assistance
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _a5b92070 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

Length cannot be less than zero. Parameter name: length

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Length cannot be less than zero.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = length
StackTraceString = “
 at System.String.Substring(Int32 startIndex, Int32 length)
 at System.String.Substring(Int32 startIndex, Int32 length)
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.TrimWhitespaceInLineCommentOnEnter(IDocument document, CachingLexer lexer, String commentStart, Int32& caretPosition) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1613
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.DoHandleEnterInLineCommentPressed(ITextControl textControl) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1596
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(IActionContext context) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1083
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.ChainedContextBase`2.CallNext() in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 175
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 71
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 80
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\ExternalActionHandler.cs:line 33
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 50
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 83
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 287
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 75
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__1() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Length cannot be less than zero.
Parameter name: length

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12::c230aa3719beb488627585059513aa45b19cc644

Data.VsVersion = 15.4.27004.2010
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Logging\LogEx.cs:line 213
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 974
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 343
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__0() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionSystem\ActionsRevised\Handlers\RequirementsManager.cs:line 94
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 48
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 70
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass26_0.<TryDelegateToTypingHandlers_NonTyping>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 349
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 263
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass29_0.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 396
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 524
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 383
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
Viewing all 106942 articles
Browse latest View live