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

RSRP-467971: result.IsValid()

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Nov 25, 2017 3:54:14 AM
Updated Apr 12, 2018 9:37:52 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _e6e3a123 — JetBrains ReSharper Ultimate 2017.3 EAP 5 Build 111.0.20171111.74234-eap05

JetBrains ReSharper 2017.3 EAP 5 Build 2017.3.20171111.75454-eap05

ManagedThreadName = JetPool (S) Regular thread #4
SubProducts.0 = JetBrains ReSharper 2017.3 EAP 5 Build 2017.3.20171111.75454-eap05

result.IsValid()

— EXCEPTION #1/2 [AssertionException]
Message = result.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.Resolve()
 at JetBrains.ReSharper.Feature.Services.Razor.References.TagHelpers.RazorTagHelperAttributeReference.GetReferenceSymbolTable(Boolean useReferenceName)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.QualifiableCheckedReferenceBase`1.ResolveWithoutCache()
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.ResolveWithoutCache(TreeReferenceBase`1 reference)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.Resolve()
 at JetBrains.ReSharper.Feature.Services.Razor.References.TagHelpers.RazorTagHelperReferenceProvider.GetReferences(ITreeNode element, ReferenceCollection oldReferences)
 at JetBrains.ReSharper.Psi.Files.ReferenceProviderFactory.CachingReferenceProvider.GetReferences(ITreeNode element, IReferenceNameContainer names)
 at JetBrains.ReSharper.Psi.Tree.TreeNodeExtensions.GetReferences(ITreeNode element, IReferenceProvider referenceProvider, IReferenceNameContainer names)
 at JetBrains.ReSharper.Psi.RecursiveReferenceProcessor`1.ProcessBeforeInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Daemon.Asp.Stages.MvcDaemonStageProcess.Execute(Action`1 committer)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = result.IsValid()
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #7”
Data.LastExtension = cshtml
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 5 Build 111.0.20171111.74234-eap05”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.3 EAP 5 Build 2017.3.20171111.75454-eap05”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11-eap5

Data.VsVersion = 15.4.27004.2009
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass7.<>c__DisplayClassb.<DoHighlighting>b__5(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass10.<PrepareRunActionForStages>b__d()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass14.<>c__DisplayClass16.<EnqueueDependentJobs>b__12()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-469244: StyleCop rules synchronization between ReSharper and other software (StyleCopAnalyzers)

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Apr 12, 2018 9:39:01 PM
Updated Apr 12, 2018 9:43:26 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The Problem: Stylecop Analyzer and the Stylecop Plugin for Resharper are not synchronized. So we need a Settings.StyleCop file for Resharper and a *.ruleset file for the Analyzer to disabled some of the rules.

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases/1.0.2

RSRP-469246: The process cannot access the file 'E:\Test Projects\DotNet.VsTest\Tests.Nunit.DotNetCore.NetCoreApp20\bin\Debug\netcoreapp2.0\Tests.Nunit.DotNetCore.

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Apr 12, 2018 9:53:29 PM
Updated Apr 12, 2018 9:54:33 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
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 _7ca6e00d — JetBrains ReSharper Ultimate 2018.1 Build 112.0.20180412.124841

JetBrains dotCover 2018.1 Build 2018.1.20180412.130712
JetBrains dotMemory 2018.1 Build 2018.1.20180412.130712
JetBrains dotTrace 2018.1 Build 2018.1.20180412.130856
JetBrains ReSharper 2018.1 Build 2018.1.20180412.130833
JetBrains ReSharper C++ 2018.1 Build 2018.1.20180412.130522

The process cannot access the file 'E:\Test Projects\DotNet.VsTest\Tests.Nunit.DotNetCore.NetCoreApp20\bin\Debug\netcoreapp2.0\Tests.Nunit.DotNetCore.NetCoreApp20.deps.json' because it is being used by another process. at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at Microsoft.VisualStudio.TestPlatform.Utilities.Helpers.FileHelper.GetStream(String filePath, FileMode mode, FileAccess access) at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostPath(String runtimeConfigDevPath, String depsFilePath, String sourceDirectory) at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable1 sources, IDictionary2 environmentVariables, TestRunnerConnectionInfo connectionInfo) at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable1 sources, CancellationToken cancellationToken) at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler) Source: System.Private.CoreLib HResult: -2147024864

--- EXCEPTION #1/1 [LoggerException]
Message = “
The process cannot access the file 'E:\Test Projects\DotNet.VsTest\Tests.Nunit.DotNetCore.NetCoreApp20\bin\Debug\netcoreapp2.0\Tests.Nunit.DotNetCore.NetCoreApp20.deps.json' because it is being used by another process.
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at Microsoft.VisualStudio.TestPlatform.Utilities.Helpers.FileHelper.GetStream(String filePath, FileMode mode, FileAccess access)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostPath(String runtimeConfigDevPath, String depsFilePath, String sourceDirectory)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable
1 sources, IDictionary2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable
1 sources, CancellationToken cancellationToken)
 at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
Source: System.Private.CoreLib
HResult: -2147024864

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 Build 112.0.20180412.124841”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 Build 2018.1.20180412.130712”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 Build 2018.1.20180412.130856”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 Build 2018.1.20180412.130522”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.1 Build 2018.1.20180412.130833”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.1 Build 2018.1.20180412.130712”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap9-rtm

Platform\VisualStudio:
    git::refs/heads/wave12-eap9-rtm::71c1ee04271cc7d1be62d318f5d4df8c2f5d06f8

Data.VsVersion = 15.6.27428.2037
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.OnRunComplete(ExecutionCompletePayload payload)
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.OnRunComplete(ExecutionCompletePayload payload)
 at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentActionHolder`1.Execute(Object argument)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.PerformActions(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(IState`2 source, IState`2 target, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(IState`2 source, IState`2 target, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(IState`2 source, IState`2 target, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.StateMachine`2.Fire(TEvent eventId, Object eventArgument)
 at Appccelerate.StateMachine.ActiveStateMachine`2.ProcessEventQueue(CancellationToken cancellationToken)
 at Appccelerate.StateMachine.ActiveStateMachine`2.<Start>b__32_0()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object obj)
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart(Object obj)

RSRP-469245: Downloaded latest version Resharper and In Visual Studio 2010 getting System Version 2.0.0.0 should be rereferned warning

$
0
0
Reporter Bob Mossanen (bobmoss14@gmail.com) Bob Mossanen (bobmoss14@gmail.com)
Created Apr 12, 2018 9:49:14 PM
Updated Apr 12, 2018 10:52:02 PM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

latest version Resharper in Visual Studio 2010 Win form getting System Version 2.0.0.0 should be referenced warning message every were
Currently have C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll, from where do i get version 2.0.0.0

RSRP-469247: Unexpected code autoformat on applying Remove braces

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Apr 12, 2018 10:45:09 PM
Updated Apr 12, 2018 11:05:55 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Submitted
Type Bug
Fix version 2017.3.5
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've been making a small change in one method. Removed a line with if statement and it's braces with remove braces action. R# has auto-formatted the entire method for some reason.

I think this is unexpected behavior, because it produced changes in lines I didn't touch which makes tracing changes in source control reeally hard.

RSRP-437913: Code Style: Use CRL type name for member access, alias for declaration

$
0
0
Reporter Zdeněk Havlín (Zdeněk.Havlín) Zdeněk Havlín (Zdeněk.Havlín)
Created Apr 21, 2015 10:18:11 AM
Updated Apr 12, 2018 11:18:50 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Major
State Submitted
Type Feature
Fix version 2017.2
Affected versions 9.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
In ReSharper 9.1, new option raised to use either Keyword or CRL type name for referencing built-in types.

As I stated in discussion https://devnet.jetbrains.com/thread/461833, I would like to see advanced option which will allow me to use CLR type name whenever I access static member on that class (therefore using CLR type name), but for declaring variables and arguments, use alias.

/// <remarks>Ugly example</remarks>
public string GetProductName(string leName)
{
// using alias
string newName;

// using CLR name - accessing method
if (String.IsNullOrEmpty(leName))
{
// using CLR name - accessing static member
newName = String.Empty;
}

return newName.Trim();
}

Original feature request (probably) from #RSRP-5662

Why I made this ticket, rules are:
  • prefer using aliases for built-in types (int, bool, float, string, ...)
  • class name is always PascalCase
  • methods are on classes, not aliases (for me, I don't accept argument that "it is just alias to class")

Current option implemented in 9.1 does allow me only one of the option at same time (or I haven't find how to change that behavior, unless turning it off completely)

RSRP-469248: Code Cleanup for typed array produces invalid code

$
0
0
Reporter Nate Guerin (gusennan.1) Nate Guerin (gusennan.1)
Created Apr 13, 2018 12:33:53 AM
Updated Apr 13, 2018 12:34:36 AM
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

I'm attaching a single-line .NET Core 2 Console app (though I originally found this bug in .NET 4.7.1) that is valid, but when you run "Cleanup Code" on it, the source code is made invalid. R# changes:

string[] arrayDisplayColors = new string[] { "Blue", "DarkViolet", "Brown", "??" };
to
var arrayDisplayColors = { "Blue", "DarkViolet", "Brown", "??" };

which is invalid syntax.

RSRP-467746: brace completion broken

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Dec 26, 2017 4:59:34 AM
Updated Apr 13, 2018 12:58:14 AM
Subsystem Complete Statement
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5, 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
app.UseStatusCodePages({cursor}"")

press Shift+END

app.UseStatusCodePages({selstart}""){selend}

hit ) and the result is

app.UseStatusCodePages((""){cursor})

Pretty annoying to be honest


RSRP-466633: [Performance Report] Resharper causes Visual Studio to Freeze

$
0
0
Reporter Tony Groover (agroover) Tony Groover (agroover)
Created Oct 14, 2017 7:36:30 PM
Updated Apr 13, 2018 1:21:51 AM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Critical
State Waiting for Info
Type Performance Problem
Fix version Backlog
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: dotCover, Version: 2017.1.20170613.161351
Product: dotTrace, Version: 2017.1.20170613.161756
Product: ReSharperCpp, Version: 2017.1.20170613.155425
Product: teamCityAddin, Version: 2017.1.20170613.155427
Product: ReSharper, Version: 2017.1.20170613.155418
Product: dotMemory, Version: 2017.1.20170613.161351
Time Zone: SA Western Standard Time

Description

It appears to me that Resharper is doing some kind of network call and that process is causing visual studio to freeze until whatever Resharper is doing completes. This is made worse when I am on my companies slow VPN connection. This freeze happened mutliple times while typing up this report.

The performace timeline and sampling returned an error when trying to attach to this report. "Faild to attach using self profiling API.

Resharper is completly unusable like this and I keep it disabled.

RSRP-467348: Trying to start stack trace update request with Status Rejected

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Sep 29, 2017 4:16:03 PM
Updated Apr 13, 2018 5:50:20 AM
Resolved Mar 28, 2018 7:36:33 PM
Subsystem Stack Trace Explorer
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Critical
State Duplicate
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _7ca6e00d — JetBrains ReSharper Ultimate 2017.3 EAP 1 PRE Build 111.0.20170928.205914-eap01pre

JetBrains dotCover 2017.3 EAP 1 PRE Build 2017.3.20170929.104827-eap01pre
JetBrains dotMemory 2017.3 EAP 1 PRE Build 2017.3.20170929.104828-eap01pre
JetBrains dotTrace 2017.3 EAP 1 PRE Build 2017.3.20170929.104828-eap01pre
JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20170929.104607-eap01pre
JetBrains ReSharper C++ 2017.3 EAP 1 PRE Build 2017.3.20170929.104625-eap01pre
JetBrains TeamCity Add-in 2017.3 EAP 1 PRE Build 2017.3.20170929.104640-eap01pre

Trying to start stack trace update request with Status Rejected

— EXCEPTION #1/1 [LoggerException]
Message = “Trying to start stack trace update request with Status Rejected”
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.3 EAP 1 PRE Build 111.0.20170928.205914-eap01pre”
Data.SubProducts.#0 = “JetBrains dotCover 2017.3 EAP 1 PRE Build 2017.3.20170929.104827-eap01pre”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.3 EAP 1 PRE Build 2017.3.20170929.104828-eap01pre”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2017.3 EAP 1 PRE Build 2017.3.20170929.104625-eap01pre”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2017.3 EAP 1 PRE Build 2017.3.20170929.104640-eap01pre”
Data.SubProducts.#4 = “JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20170929.104607-eap01pre”
Data.SubProducts.#5 = “JetBrains dotMemory 2017.3 EAP 1 PRE Build 2017.3.20170929.104828-eap01pre”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11::06cbd265a201029403a7bda69f592251a911b68e

Data.VsVersion = 15.3.26730.16
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.Feature.Services.StackTraces.StackTrace.StackTraceUpdateStateToken.Start()
 at JetBrains.ReSharper.Feature.Services.StackTraces.StackTrace.StackTraceHighlightTextReadActivity.Start()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoStart()
 at JetBrains.ReSharper.Feature.Services.StackTraces.StackTrace.StackTraceUpdateManager.StartNextRequest(StackTraceUpdateStateToken token)
 at JetBrains.ReSharper.Feature.Services.StackTraces.StackTrace.StackTraceHighlightTextReadActivity.<OnInterrupt>b__5()
 at JetBrains.Threading.TimedActionsHost.TimedAction.Execute()
 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-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 13, 2018 9:16:39 AM
Resolved Apr 13, 2018 9:16:39 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
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-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 13, 2018 9:16:44 AM
Resolved Apr 13, 2018 9:16:44 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
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-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 13, 2018 9:16:48 AM
Resolved Apr 13, 2018 9:16:48 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
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-459286: TypeScript Import formatting

$
0
0
Reporter Marco Bachmann (Marco.Bachmann) Marco Bachmann (Marco.Bachmann)
Created Jun 15, 2016 9:09:33 PM
Updated Apr 13, 2018 9:16:52 AM
Resolved Apr 13, 2018 9:16:51 AM
Subsystem TypeScript
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Fixed
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.3, 2016.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

R# doesn't format the white spaces within an import statement (see image)

RSRP-465762: Javascript multi line import closing brace should not be indented

$
0
0
Reporter Shravan Rajinikanth (hele) Shravan Rajinikanth (hele)
Created Aug 7, 2017 4:47:40 AM
Updated Apr 13, 2018 9:16:55 AM
Resolved Apr 13, 2018 9:16:55 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1.1
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM


When the "Indent parenthesis" option is set to "Inside parenthesis BSD/K&R style", the closing brace of a multi line import is indented when it should not be. The screencaps should make my point clear.


RSRP-468421: The path is not a valid file system path because it is not absolute, and only an absolute path can be resolved into an actual file system object.

$
0
0
Reporter Max Kostovetski (uvw) Max Kostovetski (uvw)
Created Oct 26, 2017 10:31:20 PM
Updated Apr 13, 2018 9:34:50 AM
Resolved Apr 5, 2018 10:19:33 AM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 7
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _1f0fed07 — JetBrains ReSharper Ultimate 2017.3 EAP 1 Build 111.0.20171024.95214-eap01

JetBrains dotCover 2017.3 EAP 1 Build 2017.3.20171024.110812-eap01
JetBrains dotMemory 2017.3 EAP 1 Build 2017.3.20171024.105505-eap01
JetBrains dotTrace 2017.3 EAP 1 Build 2017.3.20171024.110854-eap01
JetBrains ReSharper 2017.3 EAP 1 Build 2017.3.20171024.102635-eap01

The path is not a valid file system path because it is not absolute, and only an absolute path can be resolved into an actual file system object.

— EXCEPTION #1/2 [InvalidOperationException]
Message = “The path is not a valid file system path because it is not absolute, and only an absolute path can be resolved into an actual file system object.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “The path is not a valid file system path because it is not absolute, and only an absolute path can be resolved into an actual file system object.”
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 Build 111.0.20171024.95214-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2017.3 EAP 1 Build 2017.3.20171024.110812-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.3 EAP 1 Build 2017.3.20171024.110854-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2017.3 EAP 1 Build 2017.3.20171024.102635-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2017.3 EAP 1 Build 2017.3.20171024.105505-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave11-eap1::297c346e80a988f10b2b1c3efbdacf3c1ccd0a11


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

Data.VsVersion = 15.4.27004.2005
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.FileSystemPath.LogAssertIsAbsolute()
 at JetBrains.Util.FileSystemPath.LogAssertIsAbsolute()
 at JetBrains.Util.Win32FileSystemInteraction.GetExists(FileSystemPath thіs)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.FilesUtil.AreFilesConsistent(IProject project, Boolean skipUnchangedFiles, FileSystemPath source, FileSystemPath destination, DateTime sourceFileTimestamp, DateTime destinationFileTimestamp)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyTaskResultAnalyzerBase.<>c__DisplayClass5.<AddNewResults>b__0()
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyTaskResultAnalyzerBase.AddNewResults(Lifetime lifetime, IProject project, IEnumerable`1 copyTasksResults, RdCopyTaskGlobalProperties copyTaskGlobalProperties)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyLocalFileService.<>c__DisplayClasse.<AddTaskInfoToAnalyzers>b__d(ICopyTaskResultAnalyzer analyzer, IEnumerable`1 results)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyLocalFileService.ExecuteForEachCopyTasksItem(CopyTasksInfo copyTasksInfo, Action`2 action)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyLocalFileService.AddTaskInfoToAnalyzers(IProject project, CopyTasksInfo copyTasksInfo)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.CopyLocalHandling.CopyLocalFileService.<>c__DisplayClass8.<.ctor>b__3()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ChangingTracking.Inputs.SolutionBuilderCache.<>c__DisplayClassb.<ReloadConfigurations>b__9(Task`1 task)
 at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.ExecuteInternal(Task task)
 at JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.<>c__DisplayClass3.<QueueTask>b__1()
 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-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 13, 2018 9:46:35 AM
Resolved Apr 12, 2018 4:22:55 PM
Subsystem Licensing and Evaluation
Assignee Maria Pleskunina (Maria.Pleskunina)
Priority Normal
State Answered
Type Bug
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-469249: Nullable reference types not supported

$
0
0
Reporter Thomas Harrison (rolls) Thomas Harrison (rolls)
Created Apr 13, 2018 9:48:58 AM
Updated Apr 13, 2018 10:01:55 AM
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 VS 2017 RTM, VS 2017 15.3
The nullable reference types preview released here gives incorrect warnings. This feature is planned to be in C# 8.0 so it would be good to get the ball rolling and implement this now.

https://blogs.msdn.microsoft.com/dotnet/2017/11/15/nullable-reference-types-in-csharp/

Example

var test = new NullableTest();
test.NotNull = null; //This is a compile error

public class NullableTest{

public string NotNull = "test";
public string? Nullable = null;

}

RSRP-469250: Improve EditorConfig inspection severities documentation

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 13, 2018 10:18:43 AM
Updated Apr 13, 2018 10:18:43 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

I've just learned from a blog post that the 2018.1 EAP supports setting inspection severities in the EditorConfig file. As mentioned in this post, the supported properties are listed on the Index of EditorConfig properties page in the documentation.

In my opinion this should be improved. That index page is extremely long. It's fine for searching, but not for reading through the available options. I suggest to create a sub page for all those inspection severity properties. On this page you could then also document the available settings for the properties (do_not_show, hint, suggestion, warning or error). I couldn't find those at all in the documentation.

Additionally I'd suggest to mention or link related inspection severity properties on the pages that document the actual setting properties. E.g. C# - CodeStyle - Static Members Qualification could mention that there is a "resharper_arrange_static_member_qualifier_highlighting" property that handles the highlighting of exactly that settings.

RSRP-469251: EditorConfig overridden severities are not shown in the options window

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 13, 2018 10:35:46 AM
Updated Apr 13, 2018 10:57:08 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

The ReSharper options window doesn't hightligh overridden severity settings from EditorConfig files. It also doesn't show the EditorConfig value in a tooltip.

This applies both to severities from Rolyn settings like "csharp_style_var_for_built_in_types = false:suggestion" and to ReSharpers own settings like "resharper_arrange_static_member_qualifier_highlighting = hint".

Tested with 2018.1 EAP 8

Viewing all 106942 articles
Browse latest View live


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