PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

IntelliSense which is modified manually does not work after restart the VS.

Open linette-zyy opened this issue 3 years ago • 9 comments

Environment image

Situation1

Steps to Reproduce

  1. Add folder to search path Module1.py file prepared with below code copied to c:\test folder
		def summizing(title: str, mock: bool):
		    pass
		
		def addcross(a: int, b: int):
		    a = a+1
		    b = b+1
		    return a * b
  1. Right-click Search Paths Node in SE and select Add folder to Search Path
  2. The contents are scanned and made available to intelliSense. Type from module1 import * to make sure it works
  3. Restart the VS

Additional context and screenshots Search Paths does not work after restart the VS. The "Module1" could not be resolved. image

Even though create a new project, repeat to add the folder to Search Path. IntelliSense does not work.

Situation2

Steps to Reproduce

  1. Create a solution with 2 Python application projects: ProjectA, ProjectB
  2. Add some python files to each project image
  3. From ProjectA, right click Add Reference and select ProjectB.
  4. Verify that ProjectA search paths was automatically updated with a path to ProjectB
  5. Check that in ProjectA you get intellisense against modules in ProjectB

Additional context and screenshots No intellisense in ProjectB. image

linette-zyy avatar Dec 23 '21 09:12 linette-zyy

This issue is not reproduced on the latest build image So I closed this issue.

linette-zyy avatar Dec 31 '21 06:12 linette-zyy

image This issue reproduce on today's build, so I reopen this issue. Between python applications image Between Python Application and C++ project image

linette-zyy avatar Jan 29 '22 05:01 linette-zyy

We will try to repro this and take a look.

AdamYoblick avatar Feb 09 '22 23:02 AdamYoblick

image This issue reproduced on today's build. image

linette-zyy avatar Feb 10 '22 07:02 linette-zyy

I can repro in today's build 17.2.0 Preview 3.0 [32328.412.main]. After start debugging(F5), the intellisense is missing. project_add_reference

linette-zyy avatar Mar 29 '22 07:03 linette-zyy

imageThis issue reproduced on today's build. IntelliSense does not work when import folder outside the workspace after restart VS image image image

linette-zyy avatar May 06 '22 07:05 linette-zyy

In today's latest build:17.6.0 Preview 3.0 [33508.333.main], Python package:17.0.23065.2 the ProjectB's path in ProjectA's Search Paths is missing after restarting VS rst_VS_reference

linette-zyy avatar Mar 09 '23 07:03 linette-zyy

In today's latest build:17.6.0 Preview 3.0 [33521.512.main], Python package:17.0.23068.1 No IntelliSense when add folder to Search Path and no IntelliSense when add Zip Archive to Search Path image

linette-zyy avatar Mar 22 '23 08:03 linette-zyy

This issue repro on today's build image

linette-zyy avatar Feb 17 '24 09:02 linette-zyy