Author Topic: 25.0.2 vsdiff doesn't use my color scheme  (Read 886 times)

jnairb

  • Senior Community Member
  • Posts: 241
  • Hero Points: 11
25.0.2 vsdiff doesn't use my color scheme
« on: June 07, 2021, 05:00:50 pm »
After installing SlickEdit 25.0.2, running a standalone vsdiff no longer uses my color scheme. It also doesn't seem to use any of my default diff options. Starting a diff from within SlickEdit seems normal.

How do I get the standalone diff to use my config?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #1 on: June 07, 2021, 05:12:12 pm »
Do you normally specify your config when you launch SlickEdit?  Do you put it somewhere other than the default?

What platform are you on?

jnairb

  • Senior Community Member
  • Posts: 241
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #2 on: June 07, 2021, 06:05:52 pm »
I'm on Windows 10 x64. My config is under C:\Users\BrianJongekryg\SlickEdit. I have the SLICKEDITCONFIG environment variable set to that directory. I don't specify the config directory when I start SlickEdit and it finds it OK.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #3 on: June 07, 2021, 06:09:49 pm »
OK.  What happens if you run "vsdiff -sc C:\Users\BrianJongekryg\SlickEdit <file1> <file2>"?

jnairb

  • Senior Community Member
  • Posts: 241
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #4 on: June 07, 2021, 06:13:28 pm »
When I add -sc C:\Users\BriangJongekryg\SlickEdit, vsdiff comes up with my normal color scheme and options.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #5 on: June 07, 2021, 06:37:07 pm »
I have to figure out why we don't pick up VSLICKCONFIG in this case.

In the meantime, the easiest workaround would be to copy C:\Users\BrianJongekryg\SlickEdit\25.0.2\user.cfg.xml to "C:\Users\BrianJongekryg\Documents\My SlickEdit Config\25.0.2".

jnairb

  • Senior Community Member
  • Posts: 241
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #6 on: June 07, 2021, 07:19:43 pm »
That does work as a temp workaround. I don't think that default config directory (My SlickEdit Config) even existed prior to this 25.0.2 update (or if it did, it was empty). It only contains a config directory for 25.0.2 now.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #7 on: June 08, 2021, 05:41:49 pm »
If you've always had a SLICKEDITCONFIG variable set since you installed on that machine you wouldn't have anything there. Running vsdiff probably copied the default configuration and put it there.

jnairb

  • Senior Community Member
  • Posts: 241
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #8 on: November 17, 2022, 10:53:55 pm »
So I'm now on SlickEdit 27.0.0 and a few days ago I noticed I had a My SlickEdit Config directory under Documents and didn't remember why and so I just deleted it to clean up a bit.

Well, 27.0.0 still has the same problem that running vsdiff doesn't use my current config. So did this drop through the cracks or is there no way to get it to work without the workarounds?

One odd thing I noticed was that the vsdiff.exe process (this is Windows 10 x64), has the SLICKEDITCONFIG environment variable still set to my default of C:\Users\bej\SlickEdit, but the vs.exe process started from vsdiff has SLICKEDITCONFIG set to C:\Users\BrianJongekryg\Documents\My SlickEdit Config\.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #9 on: November 17, 2022, 10:58:01 pm »
I'm not sure what happened here.  I will look into this, I'm sorry for the inconvenience.