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

RSRP-191403: VB.NET: Smart Fix (LightBulb) doesn't suggest anything for "Property XXX is 'ReadOnly'"

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created Sep 24, 2010 12:33:30 AM
Updated Oct 5, 2018 12:13:47 PM
Resolved Oct 5, 2018 12:13:47 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I get an error "Property XXX is 'ReadOnly'. I am looking for the LightBulb to say "Would you like to change the property to Read and Write"

RSRP-471307: Extend find usage result context in assignment expressions

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Aug 29, 2018 5:25:09 PM
Updated Oct 5, 2018 12:16:52 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Open
Type Usability Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the following find usages result it's easy to conclude that the only non-constant assignment is a check for elementKind whereas the entire assignment source is more complex

RSRP-199472: 'Move Types Into Matching Files' doesn't preserve file extension

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Dec 3, 2010 4:36:54 PM
Updated Oct 5, 2018 12:17:59 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Usability Problem
Fix version Backlog
Affected versions 2017.3.2, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When I am working on Silverilght RIA Application projects, and I use "Move Types Into Matching Files", the filename extension does not get preserved.

Steps:
1) Create a shared class: "SharedObjects.shared.cs"
2) Create multiple classes within this class file.
3) Perform "Move Types Into Matching Files" refactor action.
4) Names of the files are with ".cs" extension rather than ".shared.cs"

RSRP-471351: Go to implementation .Net Standard goes to Object Browser

$
0
0
Reporter Daniel Vaughan (Daniel.Vaughan) Daniel Vaughan (Daniel.Vaughan)
Created Sep 2, 2018 11:53:08 PM
Updated Oct 5, 2018 12:19:40 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

Control click is not working across .NET Standard 2.0 projects. It works elsewhere.
I have two .NET Standard 2.0 projects, project A and project B. A references B. If I control click a type in A that exists in B, the Object Browser is displayed. I do not have this issue when navigating to a type that exists in the same project.

I've tried adding a key binding to Resharper's go to implementation command, but it also takes me to the Object Browser.

I'm using:
Resharper 2018.2
Visual Studio 15.8.1

RSRP-200506: "Convert to '??' expression" quick fix shouldn't trigger for assignment statements

$
0
0
Reporter Brian Dukes (bdukes) Brian Dukes (bdukes)
Created Dec 16, 2010 11:32:48 PM
Updated Oct 5, 2018 12:19:57 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Improvement
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
The following code shouldn't trigger the "Convert to '??' expression" quick fix, since it dramatically changes the readability. Potentially separate this behavior into a "more aggressive" quick fix...

if (this.user == null) {
this.user = new User();
}

return this.user;

RSRP-200644: VB CreateXFromUsage Context Actions should be Converted to Quick Fixes

$
0
0
Reporter Eugene Legkiy (jenya.legkiy) Eugene Legkiy (jenya.legkiy)
Created Dec 20, 2010 10:25:13 AM
Updated Oct 5, 2018 12:21:35 PM
Resolved Oct 5, 2018 12:21:35 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Obsolete
Type Task
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
CreateMethod, Property etc

RSRP-471760: Typing open bracket after condition should wrap the single instruction below.

$
0
0
Reporter Nicolas Martel (teoxysoft) Nicolas Martel (teoxysoft)
Created Aug 16, 2018 11:33:57 PM
Updated Oct 5, 2018 12:23:32 PM
Subsystem No Subsystem
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
if (...) @
    DoStuff();

If the @ is my caret and I were to type an open curly bracket, I would expect that the line below would be wrapped inside the brackets, not moved underneath outside of the condition.

RSRP-201428: Enum.GetValues(typeof(Foo)) should indicate that all enum values are used

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Dec 26, 2010 8:15:32 AM
Updated Oct 5, 2018 1:21:28 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Open
Type Improvement
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have an enum whose numeric values are used in the DB, and their values are presented in the UI, but none are explicitly used in code.

However I do have Enum.GetValues(typeof(Foo)) in my solution, which effectively means that all members of the enum are used, although R# currently shows them as redundant code and suggests removing them.

Even if this behaviour is not changed, I would like to be warned that the 'unused' members are used via GetValues at the point with the QF is offered.

RSRP-202984: Create symbol intention don't offer Event (VB)

$
0
0
Reporter Egor Malyshev (megor) Egor Malyshev (megor)
Created Jan 3, 2011 4:48:31 PM
Updated Oct 5, 2018 1:24:38 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 10.0.2, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When I have a code like this:
RaiseEvent MyEvent
and MyEvent is not yet defined, I press Alt+Enter and don't get a choice to create event, only field, property or method.

RSRP-221842: [VB.NET] R# producing wrong signature when selecting "Create Event ..."

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created Mar 2, 2011 1:57:15 AM
Updated Oct 5, 2018 1:25:39 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Suppose I have:
    Private Sub OnError(ByVal sender As Object, ByVal e As FillErrorEventArgs)
RaiseEvent ErrorOcurred(sender, e)
End Sub

Suppose "ErrorOccurred" doesn't exist in my code and I am trying to get R# to generate it.
2 Points:

(1) Since I am doing a RAISEEVENT then "ErrorOccured" CAN'T BE A METHOD OR OTHER THING EXCEPT FOR AN EVENT. Do I really need to see all the other options?
(2) When I select "create event ErrorOcurred" I get:
     Private Event ErrorOcurredAs EventHandler(Of FillErrorEventArgs)

Which is wrong. Should be:
    Private Event ErrorOcurred(ByVal sender As Object, ByVal e As FillErrorEventArgs)

RSRP-471761: Add autocompletion for app.config / web.config connection strings and AppSettings keys.

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Oct 5, 2018 1:37:45 PM
Updated Oct 5, 2018 1:37:52 PM
Subsystem IntelliSense (Code Completion)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Autocompletion for app.config / web.config connection strings and AppSettings keys.

ConfigurationManager.AppSettings["Key1"],
ConfigurationManager.AppSettings["Key2"],
ConfigurationManager.AppSettings["Key3"]

RSRP-387381: 'Unable to cast lambda to action' in SL3

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Sep 23, 2013 6:10:56 PM
Updated Oct 5, 2018 1:38:58 PM
Resolved Oct 5, 2018 1:38:58 PM
Subsystem Code Analysis - C#
Assignee Kirill Skrygan (kirill.skrygan)
Priority Critical
State Obsolete
Type Bug
Fix version 9.0
Affected versions 8.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Open attached solution, run SWEA => see 319 errors.
Solution builds fine.

RSRP-451487: Replace with single call to Single(...) is killing for LINQ to SharePoint

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Dec 1, 2015 7:21:36 PM
Updated Oct 5, 2018 1:46:27 PM
Subsystem Quick Fixes
Assignee Alexander Shvedov (shvedov)
Priority Critical
State Open
Type Task
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
var result = db.Agreements.Single(i => i.Id == 8);
  • query reads all items into memory and query is executed in memory
var result = db.Agreements.Where(i => i.Id == 8).Single();
  • query is executed agains SP database

More information
https://social.msdn.microsoft.com/Forums/office/en-US/6240c687-3d58-4eae-be70-4e8f9916202f/linq-to-sharepoint-single-vs-wheresingle?forum=sharepointdevelopment

RSRP-471399: This operation requires a writer lock. Use 'using (WriteLockCookie.Create()) { ... }'.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 31, 2018 12:08:34 PM
Updated Oct 5, 2018 1:56:39 PM
Resolved Oct 5, 2018 1:56:39 PM
Subsystem Structured Patterns (SSR)
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Critical
State Fixed
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _c51a4cf6 — JetBrains ReSharper Ultimate 2018.2 EAP 5 Build 182.0.20180725.204227-eap05

JetBrains dotTrace 182 Build 182.0.20180725.212447-eap05
JetBrains ReSharper 182 Build 182.0.20180725.205421-eap05

This operation requires a writer lock. Use 'using (WriteLockCookie.Create()) { ... }'.

— EXCEPTION #1/1 [LoggerException]
Message = “This operation requires a writer lock. Use 'using (WriteLockCookie.Create()) { ... }'.”
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.2 EAP 5 Build 182.0.20180725.204227-eap05”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180725.212447-eap05”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180725.205421-eap05”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap5

Platform\VisualStudio:
    git::refs/heads/182-eap5::b76f12d187b41f8cbf2fcd0d1c3dbbc52a53c5f2

Data.VsVersion = 15.7.27703.2042
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Application.Threading.IShellLocksEx.AssertWriteAccessAllowed(IShellLocks thіs)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.LowLevelModificationUtil.NeedAddTransactionAction(IPsiServices psiServices, ITreeNode node)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.LowLevelModificationUtil.ReplaceChildRange(ITreeNode first, ITreeNode last, ITreeNode[] nodes)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.<>c__DisplayClass11_0`1.<ReplaceChild>b__0(ITreeNode c)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.CloneNode(ITreeNode node, Action`1 clonedNodeAction)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.ReplaceChild[T](ITreeNode oldChild, T newChild)
 at JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.CSharpStructuralSearchReplacer.ReplaceDiffNodes(ITreeNode original, ITreeNode modified, IStructuralMatchResult result, ITreeNode& replacementNode)
 at JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.CSharpStructuralSearchReplacer.Replace(IEnumerable`1 results, String replacePattern, IDictionary`2 placeholders, Boolean formatAfterReplace, Boolean shortenReferences)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.SimplifyLinqExpressionFix.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_4.<Execute>b__1()
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress)
 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.<>c__DisplayClass11_0.<RunStartTask>b__0()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 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)
 at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
 at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.RunDialog(Form form)
 at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
 at System.Windows.Forms.Form.ShowDialog()
 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.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.QuickFixes.QuickFixBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
 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.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.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

RSRP-471762: Advanced symbols options - buttons in hiDPI are cut off

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 5, 2018 2:18:46 PM
Updated Oct 5, 2018 2:19:05 PM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-410676: Folder Substitutions

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Mar 20, 2014 5:17:08 PM
Updated Oct 5, 2018 2:22:44 PM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Critical
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
My company uses a NuGet server to publish common assemblies internally. I would like to be able to navigate directly to the latest source code (on my machine) when examining these assemblies.

I've been able to setup folder substitutions (ReSharper > Options > External Sources > Advanced > Add...) that will redirect the PDB files to my local source. However, each subsequent build of the published assemblies may be built in a different folder on our build machine (version number, public key, etc, can be encoded in the build-folder). This would cause the folder substitution that I have already setup to fail.

I do not want to have to modify my substitutions each time our assemblies are published. Is there a way of inserting wildcards (or regex) when defining these substitutions? If not, is that a feature worth adding in the future?

RSRP-204195: Add Internationalization of string.Format() quick-fix

$
0
0
Reporter Paul Bradshaw (paulb) Paul Bradshaw (paulb)
Created Jan 11, 2011 9:07:55 PM
Updated Oct 5, 2018 2:50:32 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper should help with fixing an internationalization coding
analysis issue with string.Format() (and all similar methods):

I would like to have a quick-fix to insert the
CultureInfo.InvariantCulture or CultureInfo.CurrentCulture parameter
quickly and easily. Or at the very least, an
inspection or "hint" to always include it (i.e. flag any uses of
string.Format() and associated APIs that do not specify a CultureInfo
parameter).

Since this is one of the most common Code Analysis warnings I see,
using Visual Studio code analysis, it would be nice if ReSharper could
help fix all these issues up quickly. I realize that it can't
possibly "know" which of the two general fixes to use (CultureInfo.Invariant
or CultureInfo.Current), but offering each as a quick-fix would be very useful...
and the option to have cleanup just use one or the other (specified in the cleanup
configuration, defaulting to off of course) would be useful too...
since for the most part, one file seems to have one method in it (i.e.
at least in my code, there isn't a lot of mixing of the two).

A similar quick-fix or flagging/hint/suggestion for string comparison
type parameters would be useful as well... these too are frequent Code
Analysis warnings.

RSRP-205967: [QF] Add constraint T: struct is missing

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Jan 20, 2011 9:49:14 PM
Updated Oct 5, 2018 2:52:29 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
    public static T GetValue<T>(Nullable<T> value, T defaultValue)
{
if (value.HasValue)
return value.Value;

return defaultValue;
}

RSRP-210869: QF's (Add parameter declaration to method) menu item text is toooooo long. Should be shortened. See attach.

$
0
0
Reporter Alexander Zverev (alexander.zverev) Alexander Zverev (alexander.zverev)
Created Feb 2, 2011 3:46:42 PM
Updated Oct 5, 2018 3:01:28 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-212469: Import popup logic problem in C#

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Feb 7, 2011 5:19:27 PM
Updated Oct 5, 2018 3:14:07 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper shows me popup with suggestion to import namespace 'MyNamespace'. But what the reason?

using System;

namespace MyNamespace
{
public class B<T>
{
}
}

public struct B<T>
{
public void Foo()
{
B{caret} x = null;
}
}
Viewing all 106942 articles
Browse latest View live


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