SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: jnairb 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?
-
Do you normally specify your config when you launch SlickEdit? Do you put it somewhere other than the default?
What platform are you on?
-
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.
-
OK. What happens if you run "vsdiff -sc C:\Users\BrianJongekryg\SlickEdit <file1> <file2>"?
-
When I add -sc C:\Users\BriangJongekryg\SlickEdit, vsdiff comes up with my normal color scheme and options.
-
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".
-
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.
-
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.
-
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\.
-
I'm not sure what happened here. I will look into this, I'm sorry for the inconvenience.