Author Topic: Make each instance of Slickedit visually distinct  (Read 218 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2141
  • Hero Points: 190
  • Text
Make each instance of Slickedit visually distinct
« on: January 13, 2021, 10:20:12 pm »
There should be some visual cue on the slickedit window to indicate which instance of the editor it is.

The first instance is special because when you run "vs somefile.txt" from the command line it always sends the file to the 1st instance.

If each instance was numbered, and that number showed in the title bar it would be helpful.

Also, "vs.exe" could have a new argument: -instanceIndex
to allow directing commands at additional instances.

(Ideally, vs.exe would allow the user to provider a specific name when creating an instance, instead of a simple incrementing index number).

jporkkahtc

  • Senior Community Member
  • Posts: 2141
  • Hero Points: 190
  • Text
Re: Make each instance of Slickedit visually distinct
« Reply #1 on: January 13, 2021, 10:25:21 pm »
Maybe the instance "name" could be the name of the loaded solution.

Running these commands:
vs -workspace "C:\src\Sol1.vpw"
vs -workspace "C:\src\Sol2.vpw"
vs -workspace "C:\src\Sol2.vpw" SomeFile.txt


Would result in 2 instances of slickedit being run, and the 2nd instance would load "SomeFile.txt".


I would be OK (nice even), if Slickedit would restrict itself to a single instance per workspace. Having multiple instances of slickedit with the same solution file loaded doesn't usually work very well anyways.