madskristensen / SolutionColors

A Visual Studio extension
Apache License 2.0
77 stars 11 forks source link

support for slnf #12

Closed lsoft closed 2 years ago

lsoft commented 2 years ago

Fix #8 (partially).

If VS works with slnf, then use slnf file name instead of solution name/path. Such fix allows to set different colors to different slnfs.

Additional note

There are troubles to obtain slnf name (and slnf full path expecially!), please refer. The way I get slnf NAME is ugly, but the way to get slnf FULL PATH is completely horrible, so I decided to use slnf name only. If there will be a way to get slnf full path in normal way, the code will need a small fix (in SolutionStuff file). Mads, could I ask to you to try to push that ticket forward? :) Probably we need a new way to get such info into our VSIXes.

madskristensen commented 2 years ago

That's a great start. Thank you so much. I talked to the team, and there are no other way to determine if the solution was opened through a filter, so nice job figuring it out!!