PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Problem creates "Search Path" inside Python Project

Open vsfeedback opened this issue 9 months ago • 1 comments

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice] image.png

Look at scr.shot. Path creates as relative from ProjDir. \.virtualenvs is %userprofile%\.virtualenvs ProjDir is %userprofile%\source\repos\MyProj

  1. i create shortcut (on Desktop) to MyProj
  2. i create symlink (on Desktop) to MyProj

If i open MyProj folder with shortcut - "Search path" work (if relative path looks like on scr.shot). If i open MyProj folder with symlink - "Search path" not work (if relative path looks like on scr.shot).

Why it happen? Because:

  • shortcut is %userprofile%\source\repos\MyProj
  • symlink is %userprofile%\Desktop\MyProj

I think create "Search path" as relative is not good idea.

PS Interesting. How VS create relative "Search path" if \.virtualenvs place on another disk? ;)


Original Comments

Feedback Bot on 4/24/2024, 07:18 PM:

(private comment, text removed)

Feedback Bot on 4/24/2024, 07:18 PM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar May 08 '24 20:05 vsfeedback