So when I select a portion of my c# code, somehow the refactoring options are disabled. If I go to JustCode> Refactor> all the refactorign options are disabled. Even if I go to JustCode>Refactor> Show Available Refactorings> , It only shows only the option to Rename. Its disabled even for java script code. Any idea why the options are disabled? I even updated just code.
20 Answers, 1 is accepted

+1
Maarten
Could you tell us to which version of Visual Studio this behavior applies and send us log files (%localappdata%\JustCode\Logs)?
Regards,
Nikolay Valchev
Telerik


We had a problem in our Q3 version for Visual Studio 2015. If you haven't done it already please download our Q3 SP1 version that fixes the issue.
We decided to base our Visual Studio 2015 on top of Roslyn and there are still some refactorings missing. Feel free to open a support ticket and let us know what you are missing and we will plan accordingly.
Regards,
Svetlozar
Telerik

Even with the latest build
Version Q3 2015 SP1 (2015.3.1006.1)
Still none of the refactors seem to be available in VS2015 ?

problem still exists after installing SP. hot keys and context menu->refactorings does not work (only rename)
Thoug I can access extract method in visual aids menu->fix
('extract method' not available in refactorings but in fix)
please help.
We just released an internal build that have Extract Method implemented for Visual Studio 2015. Please download it and give it a try.
Regards,
Svetlozar
Telerik

I also don't see any refactoring options.
(attached screenshot)
Any idea on when these features will be available?
VS 2015 Enterprise Update 1 w/ latest JustCode.
I am really sorry for the inconvenience!
We are in the process of doing major infrastructural changes in JustCode so we can integrate the Roslyn platform into JustCode. That affects only Visual Studio 2015.
Unfortunately, not all features have been ported yet. Please, let us know what you are missing most so we can plan accordingly.
Regards,
Svetlozar
Telerik

I just installed the trial version of JustCode and am very disappointed that the refactoring menu is widely grayed out. And even more after realizing that this problem is already older than a year!
When I select a text which I want to refactor (extract method in this case) the log shows this:
SILENT 2016-10-25 10:32:52.604 : Server (10676): System.InvalidOperationException: No type
'Microsoft.CodeAnalysis.CSharp.ExtractMethod.CSharpSelectionValidator'
found
in
assembly
'Microsoft.CodeAnalysis.CSharp.Features'
bei #pwu.#6fv.#0Qv.#Uu()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.Roslyn\ExtractMethod\RoslynExtractMethodHelper.cs:Zeile 102.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei #pwu.#6fv.#YQv.#Uu()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.Roslyn\ExtractMethod\RoslynExtractMethodHelper.cs:Zeile 16777215.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Telerik.JustCode.LanguageFrontend.Roslyn.CommonExtensions.#IWv.#Uu()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\LanguageFrontend.Roslyn\Extensions\CommonExtensions.cs:Zeile 16777215.
Log Site Stacktrace:
bei Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Logging\ExceptionInfo.cs:Zeile 87.
bei Telerik.JustCode.Common.Logging.LogService.LogSilently(Exception exception)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Logging\LogService.cs:Zeile 215.
bei Telerik.JustCode.Common.Logger.LogSilently(Exception exception)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Logging\Logger.cs:Zeile 201.
bei #pwu.#6fv.#1fv(Document #XDb, TextSpan #2fv)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.Roslyn\ExtractMethod\RoslynExtractMethodHelper.cs:Zeile 44.
bei #pwu.#7fv.CanExecute(FileModel #6S, CodeSpan #Elb, Int32 #pB, Int32 #tEb)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.Roslyn\ExtractMethod\RoslynExtractMethodComponent.cs:Zeile 28.
bei Telerik.JustCode.Refactoring.ExtractMethodCommand._Closure$__20-0._Lambda$__0(IExtractMethodComponent component)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.ExtractMethodVB\ExtractMethodCommand.vb:Zeile 89.
bei System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
bei Telerik.JustCode.Refactoring.ExtractMethodCommand.CanExecute(SolutionModel solutionModel, SelectionContext context)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\Refactoring.ExtractMethodVB\ExtractMethodCommand.vb:Zeile 91.
bei Telerik.JustCode.CommonLanguageModel.Engine.Tools.ContextTools.#zlb(SelectionContext #Alb)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\Tools\ContextTools.cs:Zeile 134.
bei Telerik.JustCode.CommonLanguageModel.Engine.Tools.ContextTools.UpdateContext(SelectionContext contextSelection)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\Tools\ContextTools.cs:Zeile 31.
bei Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#pkb()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:Zeile 1430.
bei Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#qkb(Boolean #rkb, Boolean #pkb)
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:Zeile 1540.
bei Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#jkb()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:Zeile 1278.
bei Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#2jb()
in
C:\_J\workspace\JustCode_Roslyn_Installer\RoslynTemp\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:Zeile 714.
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()

I am really sorry for the inconvenience!
It looks like there is a problem in the way we utilize Roslyn for Extract Method. What version of Visual Studio do you have on your side?
Regards,
Svetlozar
Telerik by Progress

Thanks for your reply! This is what Help -> Info tells me:
VS Professional 2015. Version 14.0.25431.01 Update 3
.NET Framework version 4.6.01586
We will do more tests with the latest Visual Studio update.
I am really sorry for the inconvenience!
Regards,
Svetlozar
Telerik by Progress




Unfortunately, we've officially decided to retire JustCode. We won't be able to address these issues. I am really sorry about that.
You can read more about it here - JustCode is Retiring
Regards,
Svetlozar
Telerik by Progress