Extension behaving oddly when file is part of VSCode workspace
Maintainer thường phản hồi trong vòng 1 ngày
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
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- r, typescript, vscode
- Lĩnh vực
- devtools
Hướng nghiên cứu
Không có tệp mã nguồn, bài kiểm thử hay điểm vào nào được nêu. Trước tiên, hãy tái hiện hành vi trong một workspace Windows 10 của VS Code với R 4.4.0 và vscode-R 2.8.3, sau đó so sánh việc tải cùng một tệp .RData và chạy View(df) bên ngoài workspace. Được xem là hoàn tất khi Global Environment được điền và trình xem data frame mở trong VS Code ở cả hai trường hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When I open my R files as part of a workspace file that I have, I can load a previous image, but nothing is populated under global Environment. When I run View(df) the R data frame Viewer pops up and not the one in VS Code.
If I repeat the same steps but outside of a Workspace then the extension behaves as normal.
To Reproduce
Steps to reproduce the behavior:
- Create a VS Workspace or use an existing one.
- Add an R file.
- Click on the R Extension and under Select the "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment. It is empty.
- Run View(df) to open any data frame. Default R viewer (from the normal R environment) should open.
- Close the Work space and open the same R file as in Step 2.
- Click on the R Extension and under Select "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment, it should be populated with the data.
- Run View(df) to open any data frame, it will now open in VS Code as per normal
Can you fix this issue by yourself? (We appreciate the help)
No
// R.exe path for windows
"r.rterm.windows": "",
// R command line options (i.e: --vanilla)
"r.rterm.option": [],
// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",
// Keeping focus when running
"r.source.focus": "editor",
// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,
// Use bracketed paste mode
"r.bracketedPaste": false,
// Enable R session watcher
"r.sessionWatcher": true,
// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,
**Expected behavior**
The expectation is that when running a file in a VS workspace or outside a VS Workspace it should behave the same. Running View(df) should open the data frame in VS Code. When loading an *.Rdata, the Global Environment should be populated with the needed information.
Before the current update this was the behavior.
**Screenshots**
**Environment (please complete the following information):**
- OS: Windows 10
- VSCode Version: 1.89.1
- R Version: 4.4.0
- vscode-R version: 2.8.3
**Additional context**
I recently update to R 4.4.0 (earlier this week I think) and the extension was still working as normal.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.2k
- Fork
- 139
- Merge trung bình
- 20 giờ 32 phút
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
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 REditorSupport/vscode-R
-
(feat) Additional Arrow supportĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
REditorSupport/vscode-R#1785 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
REditorSupport/vscode-R#1687 · 4 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1791 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Rewrite issue templatesCó thể đã có người làm @eitsupi đã nhận hôm nay. Đang mở
REditorSupport/vscode-R#1783 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature-request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1780 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của REditorSupport/vscode-R
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
StabilityNexus/Fate-EVM-Frontend#153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
code-yeongyu/oh-my-openagent#9039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Tencent/teamai-cli#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue hacktoberfest redis
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
libredb/libredb-studio#1164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
coder/xum#4920 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày