Trình duyệt web Văn phòng & PDF Bộ gõ tiếng Việt Chat & họp trực tuyến Nghe nhạc & xem video Đồ hoạ & ảnh Nén & giải nén Tiện ích hệ thống Điều khiển từ xa Lập trình Tải file & torrent Bảo mật & mật khẩu Mạng & Internet Game & giả lập Giáo dục & khoa học Phần mềm khác

Air 0.13.0

Nhà phát hành: Posit Software, PBC · Mã nguồn mở

Air là công cụ định dạng mã và language server cho ngôn ngữ R, viết bằng Rust. Giúp code R được trình bày nhất quán và hỗ trợ các trình soạn thảo qua giao thức LSP.

Tải về (2,6 MB, 64-bit)

Có gì mới trong 0.13.0

- Air no longer utilizes tree-sitter-r for parsing R files. Instead, Air now ships with a completely custom R parser written entirely in Rust. This comes with a number of benefits! - Air is now roughly 2x faster. Formatting all of dplyr has gone from 300ms to 150ms on an M2 Mac. The actual parsing stage is around 7x faster. - Air now emits precise error messages when a file fails to parse due to syntax errors. - Air no longer has C in its dependency chain. This means that we'll be able to add WASM support for Air much easier now. - If you are building a Rust based project that needs to parse R files, we encourage you to use our air_r_parser crate (pinned to a git SHA since we haven't put it on crates.io yet). - We've fixed a number of minor issues through the new parser: - Air more accurately accepts certain syntax: - r"|...|", which are raw strings using the undocumented | delimiter - %a\b% where previously the \ failed to parse - for loops with ... or ..1 as the loop variable, like for (... in x) - Unary ? and ~ now have correct precedence when mixed with their binary counterparts (#565). - Air more accurately rejects certain syntax errors: - 1 2, which are two expressions side by side without a semicolon or newline - Stray top-level ; - pkg:: without a right-hand side - x$1 where the right-hand side is not an identifier - = assignment where R doesn't allow it, i.e. in argument values, parameter defaults, if and while conditions, and for loop sequences (#563) - Air now emits much improved diagnostics at the command line. In particular, syntax errors in both R files and your air.toml are reported with a code frame that shows the exact location of the issue (#558): > air format . R/arrange.R:137:13 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Expected a loop sequence but instead found ')'. 135 │ names(cols) <- as.character(seq_dots) 136 │ > 137 │ for (i in ) { │ ^ 138 │ name <- vec_paste0("..", i) 139 │ dot <- dots[[i]] R/case-when.R:301:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Expected `,` but instead found `values`. 299 │ .size <- case_when_size_common( 300 │ conditions = conditions > 301 │ values = values, │ ^^^^^^ 302 │ size = .size 303 │ ) format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Found 2 errors. And for an air.toml issue: > air format . --check air.toml:2:15 configuration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ unknown variant `aut`, expected one of `auto`, `lf`, `crlf`, `native` 1 │ [format] > 2 │ line-ending = "aut" │ ^^^^^ format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Found 1 error. - Air no longer emits colored output when stderr is not a terminal, such as when stderr is redirected to a file.

Thông tin

Phiên bản0.13.0
Dung lượng2,6 MB
Hệ điều hànhWindows 10/11 (64-bit)
Giấy phépMã nguồn mở (MIT)
Ngày phát hành02/11/2026
Cập nhật lên kho21/11/2026
Trang chủgithub.com
Lượt tải0

Kiểm tra file

Bộ cài tải nguyên bản từ github.com, mã SHA256 khớp với kho winget của Microsoft. Không chỉnh sửa, không gói kèm.

SHA256 (file air-x86_64-pc-windows-msvc.zip)
5a72240c5899440bc57fde421f0444840365ebad9f55e4f971fc73ee2281f828
Tự kiểm trên Windows: certutil -hashfile "air-x86_64-pc-windows-msvc.zip" SHA256

Cùng danh mục