pylance-release icon indicating copy to clipboard operation
pylance-release copied to clipboard

Missing Suggestions for Incorrect Code or Syntax in VS Code

Open dhyeyvithani01 opened this issue 11 months ago • 2 comments

Type: Bug

..I am experiencing an issue with the Pylance extension in VS Code where it fails to provide suggestions, warnings, or corrections when there is incorrect code or syntax errors. Typically, Pylance should highlight issues, offer autofix suggestions, or provide tooltips explaining the errors. However, in my case, these features are either completely missing or not functioning as expected.

VS Code version: Code 1.98.1 (2fc07b811f760549dab9be9d2bedd06c51dfcb9a, 2025-03-10T15:38:08.854Z) OS version: Windows_NT x64 10.0.26100 Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.75GB (21.28GB free)
Process Argv --crash-reporter-id 8f908397-b28b-4d12-9bc6-958efccef31c
Screen Reader no
VM 0%
Extensions (10)
Extension Author (truncated) Version
django big 1.0.2
ruff cha 2025.14.0
pyright ms- 1.1.396
black-formatter ms- 2025.2.0
debugpy ms- 2025.4.1
flake8 ms- 2025.2.0
pylint ms- 2025.2.0
python ms- 2025.2.0
vscode-pylance ms- 2025.3.1
code-spell-checker str 4.0.40
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
f5992895:31254866
jda6j935:31233686
fh1c7952:31258891
hb9j0513:31256344

dhyeyvithani01 avatar Mar 13 '25 09:03 dhyeyvithani01

Hi @dhyeyvithani01, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.


Potentially Related Issues:

  • How to Enable Code Hints in Pylance – no suggestions, warnings, or highlighting; requests log details. #6574
  • Pylance not suggesting, autocomplete – Pylance extension on Windows failing to show completions. #4222
  • No IntelliSense or Syntax Highlighting – missing intellisense until switching to pre-release. #5046
  • Troubleshooting VSCode code completion issues – lack of repro/log details hinders diagnosis. #3837
  • How can I improve my Pylance version bug report with more details? – guidance on including OS, extension versions, logs. #7193

The team will respond to your issue shortly. Please note this is a trial feature and may not be fully accurate. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or was incorrect, please give it a 👎. Your feedback helps us improve!

github-actions[bot] avatar May 27 '25 14:05 github-actions[bot]

Please provide an example

bschnurr avatar May 27 '25 19:05 bschnurr

This issue has been closed automatically because it needs more information and has not had recent activity. If the issue still persists, please reopen with the information requested. Thanks.

github-actions[bot] avatar Jun 27 '25 11:06 github-actions[bot]