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

all options disabled?

6 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Troy Brumley
Top achievements
Rank 1
Troy Brumley asked on 02 Dec 2009, 04:46 PM
I just installed justcode and none of the code, refactor, or navigate menu options are enabled.  I uninstalled devexpress (yay, it's a pig) and still no joy.  I uninstalled and reinstalled justcode, but also no joy.  What am I doing wrong?

Update: I've completely uninstalled the devexpress ide tools and mz-tools and uinstalled/reinstalled justcode again.  Still no progress.  I'll figure out how to file a ticket on this, but wanted to provide a general shout out to anyone else in this situation.

6 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 03 Dec 2009, 12:22 PM
Hello Troy,

You are not supposed to uninstall anything to run JustCode. You just have to disable the incompatible add-ins in VS. So your problems stems from something else.

Generally speaking, the relevant options become enabled depending on the position of your cursor in code. So it's a rare event that all of them will be enabled but it's even more rare for non of them to be enabled. Could you send us some screenshots of your environment with the disabled menus displayed?

Best wishes,
Tsviatko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Troy Brumley
Top achievements
Rank 1
answered on 03 Dec 2009, 02:15 PM
Tsviatko, I made sure there were no dangling bits of dxcore or coderush or refactor from devexpress in this system.  I also had mz-tools 6 installed and removed it.  Attached are two screen shots.  I get the same lack of options in either VB.NET or C# solutions.  Thanks, Troy.
0
Tsviatko Yovtchev
Telerik team
answered on 04 Dec 2009, 12:00 PM
Hi Troy,

Thanks for the screenshots. It seems that JustCode failed to load while you opened the solution. I need two things to diagnose the problem. First a copy of your JC logs that are in AppData/JustCode folder. Second, I'll need the Justcode output in VS Output window (selecht "Show output from:" JustCode). That should give us a chance to see what goes wrong on your machine.

Thanks for the assistance. I really appreciate that.

Greetings,
Tsviatko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Troy Brumley
Top achievements
Rank 1
answered on 04 Dec 2009, 01:30 PM
Did not see any logs in app data, but found this in output ... I should have looked there first, my bad.

INFO 2009-12-04 08:20:44.316 : JustCode Version: 2009.3.1117.5
INFO 2009-12-04 08:20:44.706 : VS Version: 9.0
ERROR 2009-12-04 08:20:47.711 : Try to get VS property TextEditor\CSharp-Specific\Squiggles_SemanticAnalysis.
ERROR 2009-12-04 08:20:48.141 : System.ArgumentException: Value does not fall within the expected range.
   at EnvDTE.Properties.Item(Object index)
   at Telerik.JustCode.Services.DTEPropertiesExtensions.(_DTE dte, String category, String page, String name) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 162
Log Site Stacktrace:
   at Telerik.JustCode.Common.Logger.(Exception ex) in c:\B\Manticore\Production\Sources\source\Common\Logger.cs:line 261
   at Telerik.JustCode.Common.Logger.LogException(Exception ex, String message) in c:\B\Manticore\Production\Sources\source\Common\Logger.cs:line 93
   at Telerik.JustCode.Services.DTEPropertiesExtensions.(_DTE dte, String category, String page, String name) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 168
   at Telerik.JustCode.Services.DTEPropertiesExtensions.GetPropertySquigglesSemanticAnalysis(_DTE dte) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 146
   at Telerik.JustCode.Services.VSApplicationService.†() in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\VSApplicationService.cs:line 155
   at Telerik.JustCode.Services.VSApplicationService..ctor(DTE applicationObject) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\VSApplicationService.cs:line 60
   at Telerik.JustCode.JustCodeApplication.€(DTE applicationObject) in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 154
   at Telerik.JustCode.JustCodeApplication.OnPackageLoaded(DTE dte) in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 120
   at Telerik.JustCode.JustCode.OnShellPropertyChange(Int32 propid, Object var) in c:\B\Manticore\Production\Sources\source\JustCode\JustCode.cs:line 52

I do have verbose logging selected in the options.  I see only a settings.justcode and userConfiguration.xml files in the appdata\justcode directory.

That was before I loaded my solution.  After load I get this:

INFO 2009-12-04 08:31:02.258 : Solution initialization started.
ERROR 2009-12-04 08:31:02.508 : System.ArgumentException: Font 'Consolas' cannot be found.
   at System.Drawing.FontFamily.CreateFontFamily(String name, FontCollection fontCollection)
   at System.Drawing.FontFamily..ctor(String name)
   at Telerik.JustCode.Services.VSEditorService.„‚(_DTE applicationObject) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\VSEditorService.cs:line 990
   at Telerik.JustCode.Services.VSEditorService..ctor(ICommandService commandService, IApplicationService applicationService, _DTE applicationObject) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\VSEditorService.cs:line 174
   at Telerik.JustCode.JustCodeApplication.–€() in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 402
   at Telerik.JustCode.JustCodeApplication.˜() in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 381
Log Site Stacktrace:
   at Telerik.JustCode.Common.Logger.(Exception ex) in c:\B\Manticore\Production\Sources\source\Common\Logger.cs:line 261
   at Telerik.JustCode.Common.Logger.LogException(Exception ex, String message) in c:\B\Manticore\Production\Sources\source\Common\Logger.cs:line 93
   at Telerik.JustCode.Common.Logger.LogException(Exception ex) in c:\B\Manticore\Production\Sources\source\Common\Logger.cs:line 77
   at Telerik.JustCode.JustCodeApplication.˜() in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 16777215
   at Telerik.JustCode.JustCodeApplication.OnSolutionOpened() in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 363
   at Telerik.JustCode.JustCodeApplication.™(Object s, EventArgs e) in c:\B\Manticore\Production\Sources\source\JustCode.Application\JustCodeApplication.cs:line 16777215
   at Š.œ.OnSolutionOpened() in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\SolutionEventListener.cs:line 86
   at Š.œ.OnAfterOpenSolution(Object pUnkReserved, Int32 fNewSolution) in c:\B\Manticore\Production\Sources\source\JustCode.Application\Services\SolutionEventListener.cs:line 23

INFO 2009-12-04 08:31:02.508 : Solution initialization completed.

I'll grab consolas and see if it helps.

Troy.
0
Troy Brumley
Top achievements
Rank 1
answered on 04 Dec 2009, 01:36 PM
That was it.  Now I can explore JustCode.  A more graceful failure would be helpful.  Thanks, Troy.
0
Tsviatko Yovtchev
Telerik team
answered on 04 Dec 2009, 05:29 PM
Hey Troy,

You wouldn't have gotten the bottom exception had you updated to the version from the 27th of November. And you wouldn't have gotten the top one if we had thought that somebody might not have SP1 installed on their VS. So we are gonna fix that now.

I really appreciate your assistance on that matter. I have added some Telerik points to your account to compensate at least somewhat for the time you spent on this issue. 

Good luck with just code and don't hesitate to contact us if you encounter any other issues.


Regards,
Tsviatko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Troy Brumley
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Troy Brumley
Top achievements
Rank 1
Share this question
or