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

RSRP-469216: Change the preference name 'Don't indent comments started at first column' to a positive statement

$
0
0
Reporter Dmitry Matveev (dmitry.matveev@jetbrains.com) Dmitry Matveev (dmitry.matveev@jetbrains.com)
Created Apr 11, 2018 3:15:28 PM
Updated Apr 11, 2018 3:15:28 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Should be 'Indent comments that start at first column'

RSRP-466871: Missing css props.

$
0
0
Reporter Marcelo Volmaro (Marcelo.Volmaro) Marcelo Volmaro (Marcelo.Volmaro)
Created Oct 31, 2017 4:56:13 PM
Updated Apr 11, 2018 3:26:42 PM
Subsystem CSS
Assignee Vladimir Belousov (Vladimir.Belousov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469218: Extract Members To Partial: VS crashes when removing symbols from "Select file for new part:" from first symbol by clicking Delete.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 11, 2018 3:35:39 PM
Updated Apr 11, 2018 3:40:16 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 12.0.20180410.232230 AND JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

Gif with steps is attached.

  1. Invoke Extract Members To Partial.
  2. Click on the begging of text in "Select file for new part:" textbox.
  3. Click Delete button several times till all text removed.

Actual result:
VS crashes when deleting last symbol before " \ ".

Expected result:
No crash. Text from textbox is removed.

RSRP-468869: Copy Type: no completion for namespace

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 26, 2018 3:00:31 PM
Updated Apr 11, 2018 3:49:48 PM
Subsystem Refactorings
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 5 D Build 12.0.20180323.13142-eap05d.

  1. Invoke Copy Type dialog.

Actual result:
No completion for namespace.

Expected result:
Completion for namespace is shown.

RSRP-466053: Formatting options for line/block (non-XML-doc) comments

$
0
0
Reporter Dmitry Matveev (dmitry.matveev@jetbrains.com) Dmitry Matveev (dmitry.matveev@jetbrains.com)
Created Aug 29, 2017 12:19:55 PM
Updated Apr 11, 2018 3:50:48 PM
Resolved Apr 11, 2018 3:50:48 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
Type Feature
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Is there any way to have Comment with Line Comment add the // at the current indent level rather than column 0? This is making for some terrifically ugly code, and when reformatted, the comments move into the proper indenting, capturing that whitespace between the // and the start of the text in that line. Then, uncommenting the line leaves the line double-indented.
There should be code style options for at minimum:
1. insert line comment // at [column 0, before text]
2. include space between // and text in line comments? (allowing //this style and // th is style)

original: https://www.jetbrains.com/help/rider/2017.1/Coding_Assistance__Comment_Uncomment_Code.html#comment-3463673035

RSRP-468760: Move Type To Another Namespace: No completion

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 20, 2018 11:21:53 AM
Updated Apr 11, 2018 4:04:04 PM
Subsystem Refactorings
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM, VS 2015 RTM

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180320.034057-eap04d

Test solution is attached.

  1. Invoke ReSharper -> Refactor -> Move -> Move Type To Another Namespace on Class2 class.
  2. Type "MoveT" as "Target namespace" in "Move Type To Another Namespace" dialog.

Actual result:
No completion with available namespaces appears.
Expected result:
Completion with available namespaces appears.

RSRP-454118: Highlight usages under cursor blinks on any of caret movments

$
0
0
Reporter Alexander Kirsanov (alexander_kirsanov) Alexander Kirsanov (alexander_kirsanov)
Created Feb 17, 2016 11:15:44 PM
Updated Apr 11, 2018 4:04:42 PM
Resolved Apr 11, 2018 4:04:42 PM
Subsystem Code Analysis - C#
Assignee Alexander Kirsanov (alexander_kirsanov)
Priority Critical
State Fixed
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I attached the gif, just in case of misunderstanding, but hope there's none =)
The problem (and priority) comes from the fact that I've supported this feature in Rider,
so it blinks not only in VS external sources, but everywhere.

I made some changes in the source code while doing it so you need to cherry-pick the
"c5dfbcd29c7ce794866e26b0a447639181a83e52" revision from wave05-ide.

I think the implementation should match the corresponding one for matched string arguments.
I also think the optimization with the visible range in editor is urgent due to possible amount of such highlighters.
Or maybe it's even reasonable to check the ranges in which a caret moving happened,
and don't delete any of highlighters if it's still inside one of previously computed.
Because the using of prolongated lifetimes reduces the blinking but not memory traffic and protocol transportation cost.

RSRP-468787: Missing Error CS0518: Predefined type 'System.Runtime.CompilerServices.FormattableStringFactory' is not defined or imported

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Mar 21, 2018 2:26:25 PM
Updated Apr 11, 2018 4:05:58 PM
Subsystem Code Analysis - C#
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

namespace ConsoleApp33
{
class Program
{
static void Main(string[] args)
{
IFormattable f = $""; // <-- here
}
}
}

RSRP-469219: Unable to use my Resharper license

$
0
0
Reporter Sahana U (sahanau) Sahana U (sahanau)
Created Apr 11, 2018 4:12:38 PM
Updated Apr 11, 2018 4:12:38 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Unable to use my newResharper license.
The license ID provided to me
is "8Y4K9VSMPW"
The error i get is invalid license key

RSRP-411771: Resharper Line Wrapping counting tab as single character

$
0
0
Reporter Christopher Dresel (dresel) Christopher Dresel (dresel)
Created Mar 31, 2014 6:26:21 PM
Updated Apr 11, 2018 4:13:00 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Feature
Fix version 2018.1.1
Affected versions 8.0.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Hi, when using Resharper code formatting, the parameter "Right Margin (columns)" in the Line Wrapping section is counting tabs as single character.

It would be preferable if the tab is counting as 4 columns or better if this could be configurable like the StyleCop+ rule SP2100.

RSRP-469220: Do not hide Unit Test Sessions tool window on solution restart

$
0
0
Reporter Ekaterina Solovova (Ekaterina.Solovova) Ekaterina Solovova (Ekaterina.Solovova)
Created Apr 11, 2018 4:15:31 PM
Updated Apr 11, 2018 4:15:31 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Usability Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468928: Replace Constructor With Factory Method: Conflicts dialog not shown when Factory method name is not unique.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 27, 2018 6:55:27 PM
Updated Apr 11, 2018 4:29:39 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed In Branch
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 5 D Build 12.0.20180327.93554-eap05d.

        public ReplaceConstructorWithFactory(int test)
        {
        }

        public int Test { get; set; }
  1. Invoke Refactor This -> Replace Constructor With Factory Method on ReplaceConstructorWithFactory.
  2. Set "Test" as "Factory method name:".
  3. Click Next.

Actual result:
Uncompilable code.

        public static ReplaceConstructorWithFactory Test(int test)
        {
            return new ReplaceConstructorWithFactory(test);
        }

        private ReplaceConstructorWithFactory(int test)
        {
        }

        public int Test { get; set; }

Expected result:
Conflicts dialog appears.

RSRP-468913: Object reference not set to an instance of an object.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 27, 2018 3:10:36 PM
Updated Apr 11, 2018 4:30:26 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed In Branch
Type Exception
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _faa9f169 — JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 112.0.20180322.104208-eap04d

JetBrains dotCover 2018.1 EAP 4 D Build 2018.1.20180322.111944-eap04d
JetBrains dotMemory 2018.1 EAP 4 D Build 2018.1.20180322.111934-eap04d
JetBrains dotTrace 2018.1 EAP 4 D Build 2018.1.20180322.112018-eap04d
JetBrains ReSharper 2018.1 EAP 4 D Build 2018.1.20180322.105258-eap04d
JetBrains ReSharper C++ 2018.1 EAP 4 D Build 2018.1.20180322.122542-eap04d
JetBrains TeamCity Add-in 2018.1 EAP 4 D Build 2018.1.20180322.105304-eap04d

SubProducts.0 = JetBrains dotCover 2018.1 EAP 4 D Build 2018.1.20180322.111944-eap04d
SubProducts.1 = JetBrains dotTrace 2018.1 EAP 4 D Build 2018.1.20180322.112018-eap04d
SubProducts.2 = JetBrains ReSharper C++ 2018.1 EAP 4 D Build 2018.1.20180322.122542-eap04d
SubProducts.3 = JetBrains TeamCity Add-in 2018.1 EAP 4 D Build 2018.1.20180322.105304-eap04d
SubProducts.4 = JetBrains ReSharper 2018.1 EAP 4 D Build 2018.1.20180322.105258-eap04d
SubProducts.5 = JetBrains dotMemory 2018.1 EAP 4 D Build 2018.1.20180322.111934-eap04d

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.NewRefactorings
StackTraceString = “
 at JetBrains.ReSharper.Refactorings.MoveInstanceMethod.MoveInstanceMethodRefactoring.CutAndPaste(IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.MoveInstanceMethod.MoveInstanceMethodRefactoring.CutAndPaste(IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.MoveInstanceMethod.MoveInstanceMethodRefactoring.Execute(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.<>c__DisplayClass2_1.<SearchConflicts>b__0()
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_0.<InitPage>b__0(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
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 4 D Build 112.0.20180322.104208-eap04d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 4 D Build 2018.1.20180322.111944-eap04d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 4 D Build 2018.1.20180322.112018-eap04d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 4 D Build 2018.1.20180322.122542-eap04d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 4 D Build 2018.1.20180322.105304-eap04d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 4 D Build 2018.1.20180322.105258-eap04d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 4 D Build 2018.1.20180322.111934-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-rider-cpp-plugin::33498cc06d76e868977e6e4821c44fa592fbb32e

Data.VsVersion = 15.7.27520.0
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-468738: Refactor to partial type: File already exists warning does not appear

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 19, 2018 12:46:27 PM
Updated Apr 11, 2018 4:32:36 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed In Branch
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM, VS 2015 RTM

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180316.033851-eap04d

Test solution is attached.

  1. Invoke Resharper -> Refactor -> Extract Members to Partial on GetAge() method.
  2. Inspect 'Extract members to partial dialog' 'Select file for new part'.

Actual Result:
"File already exists" warning does not appear.
Expected result:
"File already exists" warning appears.
NOTE: according to RSRP-459257 warning should appear.

RSRP-469126: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 6, 2018 11:07:29 AM
Updated Apr 11, 2018 4:35:17 PM
Resolved Apr 11, 2018 4:35:17 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = xaml
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::961d296b25820dd383356d7696e3c1ee02979867


Platform\VisualStudio:
    git::refs/heads/wave12::fc315fa3c15a05f4b35e5107c9bc990c9b40714b

Data.VsVersion = 15.6.27428.2027
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.GetTypeElement()
 at JetBrains.ReSharper.Psi.Xaml.Impl.Util.XamlObjectElementExtensions.CheckResourcesProperty(IPropertySetter propertySetter)
 at JetBrains.ReSharper.Psi.Xaml.Impl.Util.XamlObjectElementExtensions.GetResourcesSetter(IXamlObjectElement objectElement)
 at JetBrains.ReSharper.Psi.Xaml.Impl.Util.XamlResourceUtil.CheckResourceKeyAvailable(IXamlObjectElement target, String resourceName, IType resourceKeyType)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.Xaml.ExtractResource.ExtractResourceView.CheckName(String arg)
 at JetBrains.UI.Validation.TextValidatorReentrantSafe.<Update>b__2_0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass1_0.<ExecuteOrQueueReadLock>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F)
 at JetBrains.UI.Validation.TextValidatorReentrantSafe.Update()
 at JetBrains.UI.Validation.FormValidator.Update()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.<>c__DisplayClass53_0.<InitControls>b__2()
 at JetBrains.DataFlow.IPropertySignalEx.<>c__DisplayClass10_0`1.<Advise_NoAcknowledgement>b__0(PropertyChangedEventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass12_0`1.<FlowIntoReadonly>b__0(PropertyChangedEventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
 at JetBrains.Application.Interop.NativeHook.NativeWindowsHookManager.ApplicationActiveStateChangeSink.JetBrains.Application.Interop.NativeHook.ComImport.IApplicationActiveStateChangeSink.OnApplicationActiveStateChanged(Int32 isActive)

RSRP-469221: Resharper License not working after some time.

$
0
0
Reporter Rajani Tiwari (ulresharperacc) Rajani Tiwari (ulresharperacc)
Created Apr 11, 2018 4:40:15 PM
Updated Apr 11, 2018 4:40:15 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

My resharper license which was working fine for 2 months got suddenly stopped working. It was activated in Oct 2017 and was working fine till Dec 2017. After that it gives me an error message saying "Your License is not assigned, please contact your license administrator".
Could you please let me know what is the actual issue? Providing a screenshot here.

RSRP-462298: Analysis is switched off on large source files in 2016.3

$
0
0
Reporter Howard Brooks (hbroo) Howard Brooks (hbroo)
Created Dec 19, 2016 9:22:07 PM
Updated Apr 11, 2018 4:41:52 PM
Subsystem Solution Wide Error Analysis (SWEA)
Assignee Dmitry Ivanov (daivanov)
Priority Critical
State Submitted
Type Bug
Fix version 2017.2
Affected versions 2016.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
We use ReSharper on a very large solution (100+ projects). Some of the source files are very large (tens of thousands of lines). Since updating to 2016.3 code analysis no longer works on our larger source files. When these files are opened no analysis is performed; the status indicator at the top of the scrollbar is not visible and attempting to navigate to inspections (e.g. via alt-page up/page down) displays the message "Analysis is switched off". If I remove enough lines from the file then analysis will be available again.

I believe this may also be causing spurious "Type or Member is never used" and similar solution wide analysis errors because the contents of large files are not completely analyzed.

Attached is source code for a simple console application which demonstrates the problem.

RSRP-459691: Weird behaviour of unit test runner with NUnit's TestFixtureSource attribute

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Jul 7, 2016 4:10:47 PM
Updated Apr 11, 2018 5:00:37 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Attached is the solution with three examples of TestFixtureSource attribute. ReSharper's behaviour on them is very unstable. Please try:
- launching all tests from solution (sometimes they're run properly, but very often they all stay 'Inconclusive: test not run');
- launching test from gutter mark's menu (the session opened is empty);
- launching test fixture from gutter mark's menu (only one case is run);
- launching different sets of tests from Unit Test Explorer (empty session, 'Inconclusive session' etc.)

RSRP-469222: "Invert Boolean" invoked on a parameter of a method does not invert usages

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Apr 11, 2018 5:06:11 PM
Updated Apr 11, 2018 5:06:19 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I can replicate it every time:
1. use a code e.g. like that:


    internal class Test
{
public void TestMethod(string a, int b, bool c)
{
if (c)
a = b.ToString();
else
a = a + b;
}
}

internal class Test1
{
public Test1()
{
var t = new Test();
t.TestMethod("", 1, true);
t.TestMethod("", 2, false);
}
}

2. Invoke Invert Boolean on “c” parameter and use a new name “d”. Ensure both checkboxes are selected.
3. The code inside of Test.TestMethod is changed correctly
4. The true and false parameter values in the invocation of the method inside of Test1.Test1 are not updated. They stay unchanged, but they should change to:

t.TestMethod( "", 1, false );
t.TestMethod( "", 2, true );

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 5:13:21 PM
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)
Viewing all 106942 articles
Browse latest View live


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