Author Topic: Open visual studio solution  (Read 1715 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Open visual studio solution
« on: September 30, 2021, 09:19:17 PM »
I have a VS2017 solution, with a single C# project.
There are several *.cs files in the project.

Open the *.sln with slickedit.
In the "Files" tool window, Project tab, I double-click on a *.cs file.

The file opens as a "Plain Text".

If I delete the *.V* files and try again I found that this always happens with the 1st *.CS file that I open.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6942
  • Hero Points: 531
Re: Open visual studio solution
« Reply #1 on: October 01, 2021, 01:06:45 AM »
I don't think this has much to do with being a Visual Studio solution. Try manually setting the document mode to C# for the plain text file, close the solution(maybe close the C# files first), and reopen the solution . Maybe that will fix the issue. If not, could you post a small test project where we  could reproduce this. Could be your perfile.xml file.

Also, try opening this solution from a clean config.
« Last Edit: October 01, 2021, 01:45:29 AM by Clark »

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Open visual studio solution
« Reply #2 on: October 07, 2021, 07:19:09 PM »
OK, here is a sample *sln.
Open the SLN in slickedit.

In the Files toolbar, Project Tab, double click "Ex1.cs".
It opens without coloring -- it opens as PlainText.

- This is RC1, Migrated from 25.0.2
- It does not happen with 25.0.2
- It does not happen with a clean configuration.
- I made fresh copies of these files in new directories, so "perfile" shouldn't be confusing things.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6942
  • Hero Points: 531
Re: Open visual studio solution
« Reply #3 on: October 07, 2021, 08:51:05 PM »
I'm going to need your config. Works fine for me.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Open visual studio solution
« Reply #4 on: October 07, 2021, 09:02:21 PM »
Specifically, what files do you need?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6942
  • Hero Points: 531
Re: Open visual studio solution
« Reply #5 on: October 07, 2021, 09:09:37 PM »
Not sure. We can try just user.cfg.xml.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Open visual studio solution
« Reply #6 on: October 07, 2021, 09:20:04 PM »
sent it in email to dan.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6942
  • Hero Points: 531
Re: Open visual studio solution
« Reply #7 on: October 07, 2021, 09:38:24 PM »
Still no luck. Try deleting your vpwhist file and your vrestore.slk
« Last Edit: October 07, 2021, 09:57:13 PM by Clark »