Author Topic: SlickEdit 14.0.2.5 missing C# mode  (Read 1474 times)

nelsonhf

  • Community Member
  • Posts: 47
  • Hero Points: 2
SlickEdit 14.0.2.5 missing C# mode
« on: May 01, 2015, 08:30:11 pm »
1) Close current project (if any is open), just to make things clean
2) From the menu, click on File/New...
3) In the "File" tab, Document mode: does not have "C#"!
   a) If you select C/C++ and the filename ends in .cs, you'll get a popup window with title "Mismatched Extensions" and contents "Filename extension, cs, does not match selected Document Mode, C/C++. Continue?"
   b) If you select Automatic, no error message is displayed (good, isn't it?), but if you later click on the menu entry "Document", you'll see that the mode selected is "pp" (whatever that is). Click on Select Mode (under Document) and you'll not find C# there, either.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4587
  • Hero Points: 357
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #1 on: May 04, 2015, 03:00:08 pm »
Sounds like your configurations is batched. The easiest solution is to start with a new configuration (rename your "My SlickEdit Config" directory). You can export/import settings but keep in mind that export/import will likely recreate the problem you're having. You can select only some options to be imported.

nelsonhf

  • Community Member
  • Posts: 47
  • Hero Points: 2
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #2 on: May 04, 2015, 07:28:30 pm »
After a long session of painful debugging (loading a clean config, import some settings, restarting), I found that I can import every single setting but C# and then export the C# settings and edit the .zip file to remove cs.als.xml and import it and everything is working.
Of course, I get an error that this file is missing during import.
Is there a way to check why importing cs.als.xml is causing this problem? At a glance, the file seems to be well formed.
If I simply copy this file to the config directory, everything seems to be fine.
Very strange, but all is well that ends well, I guess...
Thanks for the help!

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 265
  • Hero Points: 24
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #3 on: May 04, 2015, 10:45:18 pm »
Hi there,

We'd like to get to the bottom of this for you and your fellow users. Can you please upload this zip file that you speak of:

"I found that I can import every single setting but C#"

We would like to investigate the import code.

Thanks.

nelsonhf

  • Community Member
  • Posts: 47
  • Hero Points: 2
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #4 on: May 05, 2015, 03:14:00 pm »
Just uploaded the following files:
- SlickEditOptions19_20150504.zip (everything but the C# options)
- SlickEditCSharpOnlyOptions19.0.1-OK.zip (All C# options plus alias without error)
- SlickEditCSharpOnlyOptions19.0.1-OK.zip (All C# options plus alias with error)

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 265
  • Hero Points: 24
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #5 on: May 05, 2015, 03:47:54 pm »
This file, SlickEditOptions19_20150504.zip...which version was it Exported from?
And was it exported/created via Tools > Options > Export/Import Options > Export ALL Options?

Thanks,
SlickEdit Support

nelsonhf

  • Community Member
  • Posts: 47
  • Hero Points: 2
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #6 on: May 05, 2015, 04:13:25 pm »
Exported from 19.0.1
Yes, I used "export all". When I imported it, I unselected Languages/C#.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 265
  • Hero Points: 24
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #7 on: May 05, 2015, 04:18:31 pm »
Is this from the same v1901 config that you uploaded in Group2.zip last week?

nelsonhf

  • Community Member
  • Posts: 47
  • Hero Points: 2
Re: SlickEdit 14.0.2.5 missing C# mode
« Reply #8 on: May 05, 2015, 06:35:07 pm »
Yes.