Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>XTC eBook ViewerNew to Visual Studio Code? Get it now.
XTC eBook Viewer

XTC eBook Viewer

Hiroyuki Fujikawa

|
1 install
| (0) | Free
Preview XTC, XTCZ, and XTCH e-books and standalone XTG/XTH images in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XTC eBook Viewer

Preview .xtc, .xtcz, and .xtch e-books and standalone .xtg and .xth page images directly in Visual Studio Code.

  • Page navigation by toolbar, page number, keyboard, or table of contents
  • Zoom controls and fit-to-window display
  • Book title and author metadata
  • Uncompressed 1-bit XTC pages
  • LZ4-compressed XTCZ containers
  • Four-level grayscale XTCH pages
  • Standalone 1-bit XTG and four-level grayscale XTH images

This is an unofficial compatibility tool. It is not affiliated with or endorsed by Xteink or any other device manufacturer. Product names are mentioned only to describe file compatibility.

Usage

Install from the Visual Studio Marketplace:

https://marketplace.visualstudio.com/items?itemName=cqa02303.xtc-ebook-viewer

Open an .xtc, .xtcz, .xtch, .xtg, or .xth file in VS Code. If another editor is already associated with the file, use Reopen Editor With... and select XTC eBook Viewer. A standalone XTG or XTH image is displayed as a one-page document.

Use Left/Right or PageUp/PageDown to change pages, Home/End to jump to the first or last page, and the table of contents to jump to a chapter. Over the page, scroll the mouse wheel down to move forward or up to move backward.

To verify the supported formats without another book, open the Command Palette and run XTC: Open XTCZ Sample, XTC: Open XTCH Sample, XTC: Open XTG Sample, or XTC: Open XTH Sample. All bundled samples use original, redistributable text created for this extension.

Development

  1. Open the xtc-ebook-viewer folder in VS Code.
  2. Press F5 to start an Extension Development Host.
  3. Open a supported e-book in the Development Host.

Run tests and create a VSIX package with:

npm test
npm run package

Visual Studio Code内で .xtc、.xtcz、.xtch 電子書籍と、単一ページ画像の .xtg、.xth を閲覧する拡張です。

  • ツールバー、ページ番号、キーボード、目次によるページ移動
  • 拡大・縮小とウィンドウ全体へのフィット
  • 作品名・作者情報の表示
  • 無圧縮1bit XTCページ
  • LZ4圧縮XTCZコンテナ
  • 4階調グレースケールXTCHページ
  • 単一画像の1bit XTGおよび4階調グレースケールXTH

この拡張は非公式の互換ツールです。Xteinkおよびその他のデバイスメーカーによる 公式・公認の製品ではなく、各社との提携関係もありません。製品名はファイル互換性を 説明する目的に限って記載しています。

使い方

Visual Studio Marketplaceからインストールできます。

https://marketplace.visualstudio.com/items?itemName=cqa02303.xtc-ebook-viewer

VS Codeで .xtc、.xtcz、.xtch、.xtg、.xth を開きます。別のエディターが 関連付けられている場合は「エディターを再度開くアプリケーション」から 「XTC eBook Viewer」を選びます。単一のXTG/XTH画像は1ページ文書として表示します。

左右矢印またはPageUp/PageDownでページを移動し、Home/Endで先頭・末尾へ移動します。 サイドバーの目次から章の先頭へジャンプできます。 本文表示エリアでは、マウスホイールを下へ回すと次ページ、上へ回すと前ページへ移動します。

手元に書籍ファイルがなくても、コマンドパレットから XTC: Open XTCZ Sample / XTCZサンプルを開く、 XTC: Open XTCH Sample / XTCHサンプルを開く、または XTC: Open XTG Sample / XTGサンプルを開く、 XTC: Open XTH Sample / XTHサンプルを開くを実行して確認できます。 同梱サンプルには、この拡張用に作成した再配布可能なオリジナル本文だけを使用しています。

開発

  1. VS Codeで xtc-ebook-viewer フォルダを開きます。
  2. F5 を押してExtension Development Hostを起動します。
  3. Development Host側で対応する電子書籍を開きます。

テストとVSIX作成:

npm test
npm run package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft