Git submodules are handled in a weird way
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 215
- Fork
- 62
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Which OS are you using?
Linux
Expected Behaviour
I would like completion and linting to work :(
Actual Behaviour
Capture vidéo du 2023-12-21 21-17-28.webm
The stent folder is a submodule. This bug happens also with every other submodule in my workspace.
Reproduction steps
- Open a folder in VSCode with Lua code, which contains Git submodules also with Lua code defining type classes, globals, etc.
- Open a file from the main folder which depends on submodule code (classes or globals) in VSCode editor
- See these references are unknown or undefined
- Open in a second tab a file from the submodule
- Go back to the first file, see that the references are right
- Close the file from the submodule
- Go back to the first file, see that the references are unknown or undefined
Additional Notes
No response
Log
Will provide it full if needed but its long due to being workspace related stuff and I looked into it without finding an error or something suspicious.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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.
Hướng nghiên cứu
Issue không xác định tệp hoặc bài kiểm thử nào. Hãy tái hiện hành vi trong một workspace Linux VSCode bằng các bước được liệt kê, sau đó theo dõi cách extension xử lý workspace và submodule cũng như việc tích hợp language-server. Được xem là hoàn tất khi completion và linting nhận diện các định nghĩa Lua trong submodule mà không cần mở tệp của submodule trước.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git, lua, typescript, vscode
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100