Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>MolViewerNew to Visual Studio Code? Get it now.
MolViewer

MolViewer

drughub

|
199 installs
| (0) | Free
Molecule structure viewer for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MolViewer - VSCode Molecule Structure Viewer

English | 中文

English

MolViewer is a Visual Studio Code extension for viewing molecular structures. It supports various common molecular file formats including MOL, SDF, SMILES, and MOL2.

Features

  • Support for multiple molecular file formats:
    • MOL (V2000)
    • SDF (Structure Data Format)
    • SMILES (Simplified Molecular Input Line Entry System)
    • MOL2 (Tripos Mol2 Format)
  • Clear 2D molecular structure visualization
  • Colored atom types display
  • Support for single and double bonds
  • Automatic scaling and centering
  • User-friendly interface

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "MolViewer"
  4. Click Install

Usage

  1. After installation, simply open any supported molecular file (.mol, .sdf, .smi, .mol2)
  2. VS Code will automatically use MolViewer to display the molecular structure
  3. The molecular structure will automatically scale to fit the window size

Examples

  • Open a .mol file to view the molecular structure
  • View SMILES format molecules with .smi files
  • Examine MOL2 format molecular files

Requirements

  • Visual Studio Code 1.74.0 or higher

Known Issues

  • 3D structure display is not yet supported
  • Molecule editing functionality is not available

Release Notes

0.0.1

  • Initial release
  • Basic molecular structure display
  • Support for multiple file formats

中文

MolViewer 是一个用于在 Visual Studio Code 中查看分子结构的扩展。它支持多种常用的分子文件格式,包括 MOL、SDF、SMILES 和 MOL2。

功能特点

  • 支持多种分子文件格式:
    • MOL (V2000格式)
    • SDF (结构数据格式)
    • SMILES (简化分子线性输入规范)
    • MOL2 (Tripos分子格式)
  • 清晰的二维分子结构可视化
  • 原子类型的彩色显示
  • 支持单键和双键的显示
  • 自动缩放和居中显示
  • 友好的用户界面

安装方法

  1. 打开 VS Code
  2. 转到扩展页面 (Ctrl+Shift+X)
  3. 搜索 "MolViewer"
  4. 点击安装

使用方法

  1. 安装扩展后,直接打开支持的分子文件(.mol、.sdf、.smi、.mol2)
  2. VS Code 会自动使用 MolViewer 显示分子结构
  3. 分子结构会自动缩放以适应窗口大小

示例

  • 打开 .mol 文件显示分子结构
  • 查看 .smi 文件中的 SMILES 格式分子
  • 浏览 .mol2 格式的分子文件

系统要求

  • Visual Studio Code 1.74.0 或更高版本

已知问题

  • 暂不支持三维结构显示
  • 不支持分子编辑功能

更新日志

0.0.1

  • 初始版本发布
  • 支持基本的分子结构显示
  • 支持多种文件格式

贡献

欢迎通过 GitHub 仓库 提交问题和建议。

许可证

本项目采用 MIT 许可证。


Support

If you encounter any problems or have suggestions, please submit them through our GitHub repository.

License

This project is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft