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

RSRP-469215: [Performance Report] [Performance Report] Re: #1278598

$
0
0
Reporter Tim Kempton (timkempton) Tim Kempton (timkempton)
Created Apr 11, 2018 2:55:51 PM
Updated Apr 17, 2018 2:24:33 PM
Subsystem No Subsystem
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1.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: dotCover, Version: 2018.1.20180410.152006-eap08
Product: dotTrace, Version: 2018.1.20180410.152208-eap08
Product: ReSharper, Version: 2018.1.20180410.145033-eap08
Product: dotMemory, Version: 2018.1.20180410.152102-eap08
Time Zone: GMT Standard Time

Description

[Performance Report] Re: #1278598

RSRP-468177: System.Private.Xml should be referenced

$
0
0
Reporter Dotnet Shadow (dotnetshadow) Dotnet Shadow (dotnetshadow)
Created Feb 1, 2018 4:15:55 AM
Updated Apr 17, 2018 2:26:23 PM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Waiting for Info
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Using Resharper 2017.3.1
Project builds successfully, but there error still shows
I'm using this project: https://github.com/trenoncourt/HtmlAgilityPack.CssSelectors.NetCore

When I write this line in my own project which uses the above project I get the error:

System.Private.Xml should be referenced error
var nodes = doc.QuerySelectorAll("div .my-class[data-attr=123] > ul li").Select(x=>x.InnerTest);  // If I put .Select() it causes the issue, if I don't put it it's ok

RSRP-467746: brace completion broken

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Dec 26, 2017 4:59:34 AM
Updated Apr 17, 2018 2:35:50 PM
Resolved Apr 17, 2018 2:35:50 PM
Subsystem Complete Statement
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
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-469291: Resource not found with **\*.cs

$
0
0
Reporter Vianney PHILIPPE (vianney) Vianney PHILIPPE (vianney)
Created Apr 17, 2018 2:20:30 PM
Updated Apr 17, 2018 2:37:06 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

Description

When using **\*.cs filter in csproj with exclusion for resource files, resource code cannot be resolved anymore.

Note: Using **\*.cs is very handy : less merge conflicts, ensure no file is orphan/not included, smaller csproj content, etc.

Sample Repro

csproj extract :
<ItemGroup>
<Compile Include="**\*.cs" Exclude="Properties\Resource.Designer.cs" />
<Compile Include="Properties\Resource.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resource.resx</DependentUpon>
</Compile>
<EmbeddedResource Include="Properties\Resource.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

Code.cs :
using ResourceNotFound.Properties;

namespace ResourceNotFound
{
public static class Code
{
public static string ResourceOne => Resource.Resource1;
}
}

Resource.resx :
Name: Resource1; Value: One; Comment: Comment for one.

Expected result

No error in solution.

Actual result

Two errors: Cannot resolve symbols Properties (in namespace) and Resource (in property).

Version used

VS 15.6 (VS 2017)
Re# ultimate 2018.1 (sorry!)
.NET 4.5.2

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

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


Also worked in VS 2017 Preview 2



RSRP-469292: Missing DeploymentType in JetBrains.ProjectModel.Sharepoint

$
0
0
Reporter Florian Blischke (blischke.florian) Florian Blischke (blischke.florian)
Created Apr 17, 2018 3:01:06 PM
Updated Apr 17, 2018 3:54:06 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1, 2017.3.1, 2017.3, 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

You've forgot to implement the DeploymentType "AppPackage" for Sharepoint.

I've decompiled both - the
JetBrains.Platform.ProjectModel.dll
and
the Microsoft.VisualStudio.SharePoint.dll

I attached Screenshot. Perhaps you can fix it.

RSRP-469293: [Performance Report] Open ReSharper main menu

$
0
0
Reporter Daniels Danilins (danielsdanilins.1) Daniels Danilins (danielsdanilins.1)
Created Apr 17, 2018 4:07:37 PM
Updated Apr 17, 2018 4:07:38 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
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.16299.0
Product: dotTrace, Version: 2018.1.20180414.71711
Product: ReSharper, Version: 2018.1.20180414.71556
Product: dotMemory, Version: 2018.1.20180414.71710
Time Zone: Mitteleuropäische Zeit

Description

Open ReSharper main menu, VS freezes. havy load on I/O for devenv.exe (procexp)

RSRP-469294: Extract Members To Partial: after extracting members to existing part current file (from which members were extracted) opened and focused in editor.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 4:21:22 PM
Updated Apr 17, 2018 4:21:22 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.20180416.132916-eap00d.

ExtractMembersToPartia1l.cs

    public partial class ExtractMembersToPartial
    {
        public ExtractMembersToPartial(string test)
        {
            myString = test;
        }

        #region Test

        public string MyString
        {
            get { return myString; }
        }

        #endregion
    }

ExtractMembersToPartial.cs

    public partial class ExtractMembersToPartial
    {
        #region Test
        public string myString;

        #endregion
    }
  1. Invoke Refactor This -> Extract Members To Partial on MyString in ExtractMembersToPartia1l.cs.
  2. Set "ExtractMembersToPartial.cs" as Select existing part.
  3. Click Next.

Actual result:
ExtractMembersToPartia1l.cs file is opened and focused in editor.

Expected result:
ExtractMembersToPartial.cs file (to which members were extracted) is opened and focused in editor.


RSRP-460933: CLT-Inspect Code: "Asking for writer lock unexpected. File changes:"

$
0
0
Reporter Anna Milova (anna.milova) Anna Milova (anna.milova)
Created Sep 22, 2016 1:51:08 PM
Updated Apr 17, 2018 4:50:41 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Mikhail Senkov (micha)
Priority Major
State Submitted
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Analyzing wse3policy.config
Asking for writer lock unexpected. File changes:

— EXCEPTION #1/1 [LoggerException]
Message = "Asking for writer lock unexpected. File changes:"
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = "
 at JetBrains.Util.ILoggerEx.LogMessage[T1](ILogger this, LoggingLevel level, String message, T1 t1) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 780
 at JetBrains.Util.ILoggerEx.LogMessage[T1](ILogger this, LoggingLevel level, String message, T1 t1) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 780
 at JetBrains.Util.ILoggerEx.Error[T1](ILogger this, String message, T1 t1) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Logging\ILoggerEx.cs:line 437
 at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass11.<Main>b__a(Object sender, BeforeAcquiringWriteLockEventArgs args) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\InspectCode\InspectCode\Src\Unattended\InspectCodeProductMain.cs:line 162
 at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringWriteLock(BeforeAcquiringWriteLockEventArgs args) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\ContentModelReadWriteLock.cs:line 522
 at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\ContentModelReadWriteLock.cs:line 209
 at JetBrains.Application.IShellLocksEx.UsingWriteLock(IShellLocks locks) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 379
 at JetBrains.ReSharper.Psi.Caches.PsiModuleAttributesCache.<>c__DisplayClass24.<>c__DisplayClass27.<QueueUpdateCaches>b__22() in c:\WorkRoot\dotnet-products\Psi.Features\Core\Psi\_Core\Src\Caches\PsiModuleAttributesCache.cs:line 250
 at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\changes\ChangeManagerImpl.cs:line 591
 at JetBrains.ReSharper.Psi.Caches.PsiModuleAttributesCache.<>c__DisplayClass24.<>c__DisplayClass27.<QueueUpdateCaches>b__21() in c:\WorkRoot\dotnet-products\Psi.Features\Core\Psi\_Core\Src\Caches\PsiModuleAttributesCache.cs:line 248
 at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks th?s, Action F) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 201
 at JetBrains.Application.IShellLocksEx.<>c__DisplayClassd.<ExecuteOrQueueReadLockEx>b__c() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IShellLocksEx.cs:line 104
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4.<>c__DisplayClass6.<Queue>b__3() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuardEx.cs:line 47
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 290
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\ReentrancyGuard.cs:line 653
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 588
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 560
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 267
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.PumpMessagesOnce() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 152
 at JetBrains.Threading.JetDispatcher.PumpMessagesOnce() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 229
 at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.RunFindCodeIssues(IProjectFile[] projectFiles, Action`1 issueConsumer) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\InspectCode\InspectCode\Src\Unattended\InspectCodeRunner.cs:line 167
 at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, FileSystemPath outputFile) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\InspectCode\InspectCode\Src\Unattended\InspectCodeRunner.cs:line 81
 at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\InspectCode\InspectCode\Src\Unattended\InspectCodeProductMain.cs:line 225
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass4.<.ctor>b__0() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\RunsPublicStaticIntMain.cs:line 80
 at JetBrains.Util.Logging.Logger.Catch(Action action) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Logging\Logger.cs:line 313
 at JetBrains.Threading.IThreadingEx.<>c__DisplayClass7.<>c__DisplayClass9.<ExecuteOrQueueWhenNotGuarded>b__4() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Threading\IThreadingEx.cs:line 329
 at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 588
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue() in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 560
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass13.<RunHostMessageLoop>b__e(Lifetime lifetime) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\IJetHostEx.cs:line 105
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Util\Src\DataFlow\Lifetime\Lifetimes.cs:line 294
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\IJetHostEx.cs:line 95
 at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\HostParameters\Common\MessagePumpMainLoopHostMixin.cs:line 23
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\HostParameters\Interface\JetHostParametersCaller.cs:line 187
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 225
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 137
 at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input) in c:\WorkRoot\dotnet-products\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetHostItems.cs:line 25
 at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\CommandLineCore\_Core\Application\CommandLineProgram.cs:line 98
 at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.<Run>b__1[TZone,TProductInfo](RunnerContext ctx) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\CommandLineCore\_Core\Application\CommandLineProgram.cs:line 62
 at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.AppDomainDelegate.Execute[T](Func`2 action, T context) in c:\WorkRoot\dotnet-products\ReSharperAutomationTools\src\CommandLineCore\_Core\Application\CommandLineProgram.cs:line 92
"

RSRP-469295: Extract Members To Partial: Navigate link leads/Members moved to first file in "Select existing part" dropdown even if not first file was selected.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 4:56:34 PM
Updated Apr 17, 2018 4:56:34 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 Release.

Test solution is attached. Gif with steps is attached.

  1. Invoke Refactor This -> Extract Members To Partial on MyString ExtractMembersToPartial2.cs.
  2. Select "Select existing part" radio button.
  3. Select "Class1.cs" in dropdown and click Navigate.

Actual result:
ExtractMembersToPartial_New.cs (first option in "Select existing part" dropdown) is opened and focused in editor.

Expected result:
Class1.cs is opened and focused in editor.

NOTE:
If some members to move are selected and Next button is clicked then members are moved to ExtractMembersToPartial_New.cs (first option in "Select existing part" dropdown) instead of Class1.cs (selected option).

RSRP-469041: VSTO excel application: cannot apply indexing to an expression of type Range

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Apr 2, 2018 7:05:37 PM
Updated Apr 17, 2018 5:34:04 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a VSTO excel application and since I upgraded to resharper 2018 I am getting many errors telling me

cannot apply indexing to an expression of type Range as you can I am only retrieving a range.

var plcRange = Globals.Sheet2.Range["Plc"];

RSRP-464745: Support Razor Pages

$
0
0
Reporter Slava Trenogin (derigel) Slava Trenogin (derigel)
Created May 11, 2017 11:46:45 AM
Updated Apr 17, 2018 5:43:50 PM
Resolved Apr 17, 2018 5:43:50 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Critical
State Fixed
Type Feature
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469297: Replace Constructor With Factory Method: autosuggest does not compare typing with namespace (only with class name).

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 5:45:10 PM
Updated Apr 17, 2018 5:45:10 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180416.132916-eap00d.

  1. Invoke Refactor This -> Replace Constructor With Factory Method.
  2. Start typing some valid namespace name in "In class:" textbox.

Actual result:
Autosuggest compares typing only with class names so if valid namespace is typed (which does not match any class name) then nothing will be suggested.

Expected result:
Similar to "Extract Members To Partial" dialog. Typing is compared to namespace and class name.

RSRP-469296: Wrong "Possible System.InvalidOperationException" in Linq with Anonymous Type

$
0
0
Reporter Alexander Korolev (a_korolev) Alexander Korolev (a_korolev)
Created Apr 17, 2018 5:33:54 PM
Updated Apr 17, 2018 5:47:09 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Wrong inspection in Linq query on second Select of anonymous type. In First Select inspection works correctly.
Sample code:
using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
class Program
{
static void Main()
{
var tmp = GetQueryable()
.Select(e => new
{
// Here has no inspection Warnings
A1 = e.A != null ? UseValue(e.A.Value) : 100500
})
.Select(x => new
{
// Here has inspection warning "Possible System.InvalidOperationException"
// VVVVVVVVVV
A2 = x.A1 != null ? UseValue(x.A1.Value) : 100500
});
Console.WriteLine(tmp.Count());
}

static int? UseValue(int value)
{
return value;
}

private class TestData
{
public int? A { get; set; }
}

static IEnumerable<TestData> GetQueryable()
{
return null;
}
}
}

RSRP-465051: Tons of false errors in VS 2017 with xUnit for devices

$
0
0
Reporter Oren Novotny (onovotny) Oren Novotny (onovotny)
Created Jun 9, 2017 11:29:51 PM
Updated Apr 17, 2018 5:47:26 PM
Resolved Mar 31, 2018 12:55:49 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2017.2
Affected versions No Affected versions
Fixed In Version ReSharper 2017.2 EAP 5
VsVersion All Versions
Tons of false errors in code analysis. Project compiles just fine.

Clone https://github.com/xunit/devices.xunit
checkout dc2d24710be8aec5f7dbe37c9a3c83987150bbd0
open sln file

Make sure you have the Xamarin tools installed.

RSRP-462001: red code is not removed after action applied

$
0
0
Reporter Ivan Serduk (IvanSerduk) Ivan Serduk (IvanSerduk)
Created Dec 1, 2016 12:26:50 PM
Updated Apr 17, 2018 6:02:40 PM
Subsystem Context Actions
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Press "Alt+Enter"
2. Select "Introduce variable"
3. Press "Enter" two times to confirm "var" and variable name.
4. Result -

"Unexpected token" error disappears after next typing

public class MyClass
{


public void Test(MyClass myClass)
{
var a = 1;
myClass.GetValue(){cursor}
for (var i = 0; i < a; i++)
{

}
}

public object GetValue()
{
return null;
}
}

RSRP-466368: ReSharper reporting spurious "Supplied parameters do not match any signature" on Angular controllers in TypeScript

$
0
0
Reporter William Warby (wwarby.1) William Warby (wwarby.1)
Created Sep 22, 2017 12:23:47 PM
Updated Apr 17, 2018 6:22:46 PM
Resolved Apr 3, 2018 4:58:02 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2017.2 EAP 6
VsVersion All Versions
ReSharper is reporting an error that the TypeScript compiler does not report on Angular 1.x controllers written in TypeScript. Example:

`module Foo {
    class FooController { }
    angular
        .module('app')
        .controller('fooController', FooController);
}
`

Error:
Solution He.Connect.Dashboard.sln
Project He.Connect.Dashboard.Ui
He.Connect.Dashboard.Ui\Source\Scripts\Controllers\BodyController.ts:28 Supplied parameters do not match any signature of call target: parameter type mismatch. Parameter 'controllerConstructor' should have type assignable to '(((...args: any[]) => Object) | ((...args: any[]) => void | Object) | ((string | ((...args: any[]) => Object) | ((...args: any[]) => void | Object))[]))', but it has type 'typeof FooController'.

Using Angular typings file: "@types/angular": "1.6.25"

I'm pretty sure this error is spurious as I haven't change the syntax of my code and it compiles and runs just fine.

RSRP-469298: Component descriptor JetBrains.ReSharper.Psi.Modules.PsiModules [Singleton, Disposed] is disposed and cannot be accessed

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Apr 17, 2018 6:35:25 PM
Updated Apr 17, 2018 6:35:54 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Message = “Component descriptor JetBrains.ReSharper.Psi.Modules.PsiModules [Singleton, Disposed] is disposed and cannot be accessed”
ExceptionPath = Root.Exceptions.#0.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ComponentModel
StackTraceString = “
at JetBrains.Application.Components.SingletonDescriptor.GetValue() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Components\Descriptors\SingletonDescriptor.cs:line 41
at JetBrains.Application.Components.ComponentContainerEx.GetComponent[TInterface](IComponentContainer container) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Components\ComponentContainerEx.cs:line 49
at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.GetPsiSourceFiles(IDocument document, ISolution solution) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\PsiSourceFileExtensions.cs:line 199
at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.GetPsiSourceFile(IDocument document, ISolution solution) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\PsiSourceFileExtensions.cs:line 162
at JetBrains.ReSharper.Psi.Extensions.GetContext(ITextControl textControl, ISolution solution) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 357
at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionUi.<>c__DisplayClass29_0.<UpdateLookup>b__5() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\LiveTemplates\Hotspots\HotspotSessionUI.cs:line 294
at JetBrains.DataFlow.Lifetime.Terminate() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetime.cs:line 401

RSRP-469299: Replace Constructor With Factory Method: after refactoring completes current file (with constructor) is selected in editor.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 6:36:33 PM
Updated Apr 17, 2018 6:36:33 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.20180416.132916-eap00d.

  1. Invoke Replace Constructor With Factory Method.
  2. Select some existing class from different than constructor file.
  3. Click Next.

Actual result:
After refactoring completes current file (with constructor) is selected in editor.

Expected result:
File with factory method is selected in editor.

RSRP-469272: Rename: .cshtml files get processed during rename of private field in .cs file.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 16, 2018 4:56:55 PM
Updated Apr 17, 2018 7:02:00 PM
Subsystem Refactorings
Assignee Alexander Ulitin (alexander.ulitin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 12.0.20180414.154021.

Snapshot: \msdc\Snapshots\LSH\Jafigoj.zip
Test solution: \msdc\Snapshots\LSH\nopCommerce-develop2.zip

  1. Invoke Refactor This -> Rename on panel in Log class.
  2. Set valid name and uncheck "Search in comments and string literals".
  3. Click Next.

Actual result:
.cshtml files get processed. Rename takes ~ 3 min in solution with 697 .cshtml files.

Expected result:
.cshtml files are not processed.

Viewing all 106942 articles
Browse latest View live


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