You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Reproduce
1.Open a folder as workspace in SE.
2.Add new python file in SE named WholsRunningMe.py.
3.Select a python environment from the python toolbar to open PythonSettings.json and you can check “Show All Files” on the toolbar to reveal local settings.
4.Create a folder named folder1 in your local, such like : C:\project\Temp\searchpath\folder1
5.Add __init__.py in folder1 and type some code in __init__.py def FOLDER1_MSG(): print("hello world!")
6.Add searchpaths in PythonSettings.json.
7.Type code below in WholsRunningMe.py import folder1 folder1.FOLDER1_MSG()
7.Press F5 the output is :hello world!
8.Change using the incorrect SearchPaths to import a module that doesn’t exist in one of your environments.
9.You should see IntelliSense show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
Expected behavior
after change to the incorrect search path outside the workspace, the IntelliSense should show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
Actual behavior
after change to the incorrect search path outside the workspace, the IntelliSense does not show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce


1.Open a folder as workspace in SE.
2.Add new python file in SE named WholsRunningMe.py.
3.Select a python environment from the python toolbar to open PythonSettings.json and you can check “Show All Files” on the toolbar to reveal local settings.
4.Create a folder named folder1 in your local, such like : C:\project\Temp\searchpath\folder1
5.Add
__init__.py
in folder1 and type some code in__init__.py
def FOLDER1_MSG(): print("hello world!")
6.Add searchpaths in PythonSettings.json.
7.Type code below in WholsRunningMe.py
import folder1 folder1.FOLDER1_MSG()
7.Press F5 the output is :hello world!
8.Change using the incorrect SearchPaths to import a module that doesn’t exist in one of your environments.
9.You should see IntelliSense show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
Expected behavior
after change to the incorrect search path outside the workspace, the IntelliSense should show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
Actual behavior
after change to the incorrect search path outside the workspace, the IntelliSense does not show squiggles on the import statement and if change to correct SearchPaths the squiggles should go away.
The text was updated successfully, but these errors were encountered: