This is a migrated thread and some comments may be shown as answers.

Refactoring options not available

20 Answers 145 Views
Refactorings
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bilal
Top achievements
Rank 1
Bilal asked on 17 Sep 2015, 03:18 PM

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

Sort by
0
Maarten
Top achievements
Rank 2
answered on 20 Sep 2015, 08:00 AM

+1

Maarten

0
Nikolay Valchev
Telerik team
answered on 22 Sep 2015, 01:12 PM
Hello,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Aris
Top achievements
Rank 1
answered on 02 Oct 2015, 02:14 PM
I have the same problem with vs 2015 enterprise. where can I send my logs (zip)?

0
Roman
Top achievements
Rank 1
answered on 05 Oct 2015, 06:32 PM
+1
0
Svetlozar
Telerik team
answered on 07 Oct 2015, 11:28 AM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bernard
Top achievements
Rank 1
answered on 23 Oct 2015, 10:39 PM

Even with the latest build

Version Q3 2015 SP1 (2015.3.1006.1)

 

Still none of the refactors seem to be available in VS2015 ?

 


 
0
Roman
Top achievements
Rank 1
answered on 24 Oct 2015, 12:07 PM

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.

0
Svetlozar
Telerik team
answered on 28 Oct 2015, 01:27 PM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jean-Francois
Top achievements
Rank 1
answered on 15 Mar 2016, 02:48 PM

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.

0
Svetlozar
Telerik team
answered on 18 Mar 2016, 01:54 PM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

 
0
Julian
Top achievements
Rank 1
answered on 25 Oct 2016, 08:34 AM

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()

 

 

0
Julian
Top achievements
Rank 1
answered on 25 Oct 2016, 08:36 AM
I am using Visual Studio 2015 and JustCode 2016.3.914.1 on Win10 Pro 64bit (German).
0
Svetlozar
Telerik team
answered on 28 Oct 2016, 07:36 AM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Julian
Top achievements
Rank 1
answered on 28 Oct 2016, 08:06 AM

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

0
Svetlozar
Telerik team
answered on 02 Nov 2016, 08:53 AM
Hello,

We will do more tests with the latest Visual Studio update. 

I am really sorry for the inconvenience! 

Regards,
Svetlozar
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Roman
Top achievements
Rank 1
answered on 02 Nov 2016, 10:10 AM
+1. Problem exists about 1 year. No changes version by version.
0
Benny
Top achievements
Rank 1
answered on 10 Jan 2017, 08:29 PM
Still not fixed :-/
0
Larry
Top achievements
Rank 1
answered on 17 Jan 2017, 09:54 PM
+1
0
Simon
Top achievements
Rank 1
answered on 19 Apr 2017, 04:57 PM
This is still a problem - there are a lot of actions missing in VS2015 that are available in VS2013. Some of them are there on the visual aid menu under "fix", but they're not there on VS2015. I'm even missing "Fix" off the "Just Code" menu - I tried adding it back with Tools | Customise, but even then it's always greyed out.
0
Svetlozar
Telerik team
answered on 24 Apr 2017, 03:34 PM
Hello,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Refactorings
Asked by
Bilal
Top achievements
Rank 1
Answers by
Maarten
Top achievements
Rank 2
Nikolay Valchev
Telerik team
Aris
Top achievements
Rank 1
Roman
Top achievements
Rank 1
Svetlozar
Telerik team
Bernard
Top achievements
Rank 1
Jean-Francois
Top achievements
Rank 1
Julian
Top achievements
Rank 1
Benny
Top achievements
Rank 1
Larry
Top achievements
Rank 1
Simon
Top achievements
Rank 1
Share this question
or