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
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "MolViewer"
Click Install
Usage
After installation, simply open any supported molecular file (.mol, .sdf, .smi, .mol2)
VS Code will automatically use MolViewer to display the molecular structure
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。