.net intellisense break in workspaces
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- powershell, typescript, vscode
- Lĩnh vực
- developer-experience, devtools
Hướng nghiên cứu
Tái hiện lỗi trong một workspace VS Code bằng cách sử dụng repository DudDashboard, so sánh một tệp PowerShell duy nhất với một thư mục chứa nhiều tệp. Bắt đầu bằng việc xem xét các log đính kèm và hành vi của extension liên quan đến các yêu cầu IntelliSense lặp lại. Được xem là hoàn tất khi các gợi ý namespace .NET vẫn khả dụng sau khi phiên PowerShell tải xong và sau khi mở lại IntelliSense.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue Type: Bug
This happens whenever I have anything loaded in Powershell with more than a few files.
Whenever I start VsCode and / or kill my session, there is a moment where the .net intelisense work normally.

However, a mere second after, anything from the .net space disappear and I only get the Powershell intellisense instead.

If using VsCode with a single file, it works fine.
As soon as I open a folder containing dozens of Powershell files (within or without a workspace), it work briefly as the session load, then break.
To reproduce:
- Clone https://github.com/itfranck/DudDashboard
- Start VSCode
- Open a ps1 file
- Type [System. then press space
For a few seconds, Collections / Threading / Net and other .Net namespace will be available.
If you repeat the operation a few time, the .Net namespaces stop being suggested and only Powershell suggestions occurs.
This happened for a few months with both Powershell and Powershell Preview extension and with both VsCode and VsCode insiders.
Here are the logs :
logs.zip
Context :
- I opened vscode
- I loaded my workspace containing my project
- I typed [system. then pressed CTRL + Space to force intellisense then I saw .net elements shown there and pressed Escape to close the intellisense.
- Powershell integrated console message showed in the terminal
- I pressed CTRL + Space again
- Intellisense showed again, but this time, all .net related suggestion had disappeared.
If there's any addtional logs I can include to provide more insight, I will be happy to.
Extension version: 2019.5.0
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:55.855Z)
OS version: Windows_NT x64 10.0.17763
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (8 x 3500) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 31.89GB (18.23GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
- Ngôn ngữ chính
- TypeScript
- Star
- 1.9k
- Fork
- 548
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/vscode-powershell
-
[aw] Agentic Issue Triage failed Đang mởagentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
PowerShell/vscode-powershell#5599 · 3 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/vscode-powershell#5592 · 2 bình luận · 1 reaction ·
-
[aw] Agentic Issue Triage failed Đang mởagentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
PowerShell/vscode-powershell#5583 · 1 bình luận ·
-
powershell.scriptAnalysis.settingsPath (Description): Warning Message Should Provide A Workaround Đang mởArea-Code Formatting Issue-Enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
PowerShell/vscode-powershell#4653 · 3 bình luận · 4 reaction ·
-
nothing Đang mởIssue-Bug Needs: Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
PowerShell/vscode-powershell#5603 · 1 reaction ·
Tất cả issue của PowerShell/vscode-powershell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
vercel/vercel-plugin#199 ·