Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CIF for Visual Studio Code

This extension adds support for CIF (Crystallographic Information File) to VS Code.

Features

  • Syntax highlighting
  • Completion and validation for names
  • Hover over value to see corresponding _key and data_.

Setting: Disable Non-Standard Data Name Warnings

By default, CIF validation shows warnings for data names (tags) that are not defined in the currently loaded CIF dictionaries.

If you prefer not to see these warnings, you can disable them in settings:

  1. Open Settings by holding Ctrl (or Cmd on Mac) and pressing , (comma key)
  2. Search for "CIF: Warn On Non Standard Data Names"
  3. Uncheck the option to disable warnings

CIF Dictionaries

This software uses CIF dictionaries provided by the International Union of Crystallography (IUCr), available at https://www.iucr.org/resources/cif/dictionaries.

You can load additional dictionaries manually using the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

Available commands

  • CIF: Add Dictionary Select and load a dictionary file from your local system.

  • CIF: Show Loaded Dictionaries Displays the list of currently active CIF dictionaries.

  • CIF: Remove Dictionary Unload a previously added dictionary.

Technical Details

If you want to build the program yourself or better understand how it works, see the docs/ directory.

Contact

For enquiries related to the development of this extension, or to provide suggestions or feedback, please contact Dr Kaisa Helttunen.

References

This extension has been described in the following publication:

Helttunen, K. & Kainulainen, H. (2025). CIF extension for Visual Studio Code. J. Appl. Cryst. 58, 1469-1475.

Metadata

Release files for cif-lsp 1.0.3rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cif-lsp 1.0.3rc2
File Size Uploaded Provenance
cif_lsp-1.0.3rc2.tar.gz 13.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cif-lsp 1.0.3rc2
File Interpreter ABI Platform
cif_lsp-1.0.3rc2-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 MB

Release files / cif_lsp-1.0.3rc2.tar.gz

Download URL cif_lsp-1.0.3rc2.tar.gz
Size 13.8 MB
Tags Source
SHA-256 checksum
How to use checksums
85e07963faaa9a583ce3b8833c2b83209ceb215396e612850dffa82627370b75
BLAKE2b-256 checksum
How to use checksums
b0e2837c043ca12ca52194b106e0efad5e822b2f7ffea65bb8f37275c72273e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / cif_lsp-1.0.3rc2-py3-none-any.whl

Download URL cif_lsp-1.0.3rc2-py3-none-any.whl
Size 140.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f89afde72c4ca784ea803d8dab0f957b67ac8d23ca76b26461ccf0da77b44c9
BLAKE2b-256 checksum
How to use checksums
b01c2178df4f216c7bc54a2caf865898ba3e548d3bc7f9b05de67207f5d22861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for cif-lsp 1.0.3rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page