Jupyterlab extension to support syntax highlighting for terraform files
Project description
jupyterlab_terraform_file_type_extension
A JupyterLab extension providing comprehensive Terraform/HCL support with syntax highlighting and custom file type recognition.
Features
Comprehensive Terraform and HCL editing support in JupyterLab with syntax highlighting that distinguishes blocks, variables, functions, and expressions.
File recognition:
- Terraform:
*.tf,*.tfvars,*.tfstate.* - HCL:
*.hcl,*.tfstack.hcl,*.tfcomponent.hcl,*.tfdeploy.hcl,*.tftest.hcl,*.tfmock.hcl,*.tfquery.hcl - Purple HashiCorp Terraform icon in file browser
Highlighting coverage:
- Block types:
resource,module,provider,variable,output,locals,data,terraform - 100+ built-in Terraform functions
- String interpolation with
${}and%{}directives - Heredoc strings and escape sequences
- Type keywords, constants, and operators
- Comments:
#,//,/* */
Yes, this is yet another mass-produced file type extension. We are almost embarrassed by how utterly unremarkable it is - just the same boilerplate code with different keywords swapped in. But someone had to do it, and here we are. Syntax highlighting shamelessly borrowed from hashicorp/vscode-terraform - we stand on the shoulders of giants, or at least peek over their fence.
Requirements
- JupyterLab >= 4.0.0
Install
To install the extension, execute:
pip install jupyterlab_terraform_file_type_extension
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab_terraform_file_type_extension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_terraform_file_type_extension-1.0.4.tar.gz.
File metadata
- Download URL: jupyterlab_terraform_file_type_extension-1.0.4.tar.gz
- Upload date:
- Size: 382.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
583091053dd831d39d2befdd9165c9af363d8a7f10dbe90ed16b6fe2c25186f8
|
|
| MD5 |
42bb126b543b97f11b53024457f8cf36
|
|
| BLAKE2b-256 |
f25fa3662e0755d58475618514b31b5c95a457de21369b595e1ce396340e9722
|
File details
Details for the file jupyterlab_terraform_file_type_extension-1.0.4-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_terraform_file_type_extension-1.0.4-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f4395ef41c024a60af7297a5091a1c21f03c6e18b0181ee1cc6b6ef5716d172
|
|
| MD5 |
6a15ee626aacdffca0a7255bfd5ddd46
|
|
| BLAKE2b-256 |
c7289e719bb668672843862abfac5bc7b14438684a427c0383f55cbc3d66cf5b
|