Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SteelReed – Java Interview PracticeNew to Visual Studio Code? Get it now.
SteelReed – Java Interview Practice

SteelReed – Java Interview Practice

SteelReed

|
1 install
| (0) | Free
Practise Java backend interview exercises from steelreed.com inside VS Code: read the task, write Main.java, run the examples and submit for grading.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SteelReed – Java Interview Practice

Làm bài tập code Java backend của steelreed.com ngay trong VS Code. Practise the Java backend code exercises from steelreed.com inside VS Code.

Tiếng Việt

Bắt đầu

  1. Vào steelreed.com/me/ide, bấm Tạo token và chép token (chỉ hiện một lần).
  2. Trong VS Code mở thanh SteelReed bên trái, bấm Đăng nhập rồi dán token.
  3. Chọn một bài: file Main.java mở bên trái, đề bài bên phải.
  4. Ctrl+Enter (macOS: ⌘+Enter) chạy ví dụ ngay trên máy bạn, Ctrl+Shift+Enter nộp bài để server chấm toàn bộ test.

Chạy trên máy, nộp trên server

  • Run dùng JDK trên máy bạn (JDK 21+, tìm theo steelreed.javaHome → JAVA_HOME → javac trong PATH): có kết quả ngay, không xếp hàng, không tính lượt nộp. Giới hạn thời gian trên máy rộng gấp 3 lần server vì máy mỗi người một khác.
  • Không có JDK 21+ thì Run tự chạy trên server như trước.
  • Nộp bài (test ẩn, đánh dấu đã giải, mở lời giải) luôn chấm trên server bằng Java 25.

Có gì

  • Danh sách bài theo chủ đề, đánh dấu bài đã giải.
  • Đề, ví dụ và gợi ý hiện cạnh code.
  • Lỗi biên dịch gạch đỏ đúng dòng; kết quả từng test kèm đầu vào, kết quả đúng và output của bạn.
  • Code nằm trong ~/SteelReed/<bài>/Main.java, không bao giờ bị ghi đè khi mở lại.

Tiếng Việt hay tiếng Anh: bấm nút 🌐 trên thanh SteelReed (hoặc lệnh SteelReed: Đổi ngôn ngữ / Switch language) để đổi qua lại. Đề bài, thông báo và bảng kết quả đổi theo ngay, kể cả khi VS Code đang để tiếng Anh. Mặc định (auto) theo ngôn ngữ của VS Code. Tên lệnh và mục cài đặt vẫn theo ngôn ngữ của VS Code.

Quyền dùng: ai có tài khoản cũng xem được đề và chạy thử mọi bài trên máy mình. Nộp bài giống trên web: bài miễn phí ai cũng nộp được, bài Pro cần gói Pro.

Bảo mật: token lưu trong kho bí mật của VS Code, chỉ dùng được cho bài tập code, hết hạn sau 90 ngày và thu hồi được ở trang /me/ide.

English

Getting started

  1. Open steelreed.com/me/ide, click Create token and copy it (shown once).
  2. In VS Code open the SteelReed view, click Sign in and paste the token.
  3. Pick an exercise: Main.java opens on the left, the task on the right.
  4. Ctrl+Enter (macOS ⌘+Enter) runs the examples on your machine, Ctrl+Shift+Enter submits to the server for every test.

Run on your machine, Submit on the server

  • Run uses your JDK (21+, found via steelreed.javaHome → JAVA_HOME → javac on PATH): instant results, no queue, not counted as a submission. The local time limit is 3× the server's since machines differ.
  • Without JDK 21+, Run falls back to the server as before.
  • Submit (hidden tests, solved status, solution unlock) always grades on the server with Java 25.

Vietnamese or English: click the 🌐 button on the SteelReed view (or run SteelReed: Đổi ngôn ngữ / Switch language) to switch. Tasks, messages and results change right away, even when VS Code itself is in English. The default (auto) follows VS Code's display language. Command names and settings still follow VS Code's display language.

Access: anyone with an account can read every task and run it on their machine. Submitting follows the website: free exercises for every member, Pro exercises need Pro.

Security: the token is kept in VS Code's secret storage, works only for code exercises, expires after 90 days and can be revoked on /me/ide.

Settings

Setting Default
steelreed.baseUrl https://steelreed.com Server address
steelreed.workspaceFolder ~/SteelReed Where exercise files are created
steelreed.runLocation local local: Run on this machine (server fallback without JDK 21+); server: always on the server
steelreed.language auto auto: follow VS Code; vi / en: language of tasks, messages and results
steelreed.javaHome (empty) JDK folder for local runs; empty = JAVA_HOME, then javac on PATH

Development

npm install
npm run typecheck && npm test   # API client (mock HTTP server), formatting, paths, local run (real JDK: STEELREED_TEST_JDK)
npm run build                   # dist/extension.js (esbuild)
npm run package                 # dist/steelreed.vsix

Press F5 in this folder (with a launch.json of type extensionHost) to try it in an Extension Development Host. Point steelreed.baseUrl at a local API to test against a dev server.

Code layout: src/api.ts (HTTP client, no vscode import), src/format.ts and src/pages.ts (result/task HTML, no scripts, strict CSP), src/paths.ts (exercise files), src/local.ts (JDK lookup and local Run, mirrors the server sandbox/grader), src/tree.ts (exercise list), src/extension.ts (commands and wiring). UI strings: package.nls*.json (manifest) and l10n/bundle.l10n.vi.json (runtime, English is the source).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft