Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cython extension for vscodeNew to Visual Studio Code? Get it now.
Cython extension for vscode

Cython extension for vscode

Giovanni Torres

|
2 installs
| (1) | Free
Syntax highlighting for Cython (.pyx, .pxd, .pxi) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cython for Visual Studio Code

Syntax highlighting for Cython source files.

Supported file types

Extension Description
.pyx Cython implementation files
.pxd Cython declaration files (headers)
.pxi Cython include files

Highlighted syntax

  • Declaration keywords: cdef, cpdef, ctypedef, fused
  • C types: int, double, float, char, void, bint, Py_ssize_t, and more
  • Modifiers: public, readonly, inline, api, packed, extern
  • extern from blocks
  • cimport and include directives
  • GIL management: nogil, gil
  • Compile-time conditionals: DEF, IF, ELIF, ELSE
  • Struct, union, and enum declarations
  • All standard Python syntax via fallthrough

License

MIT

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