jupyterlab_makefile_file_type_extension
A JupyterLab extension providing comprehensive Makefile support with syntax highlighting and custom file type recognition.
Features
Comprehensive Makefile editing support in JupyterLab with syntax highlighting that distinguishes targets, variables, conditionals, and shell constructs.
File recognition:
- Standard names:
Makefile,makefile,GNUmakefile - Extensions:
*.mk,*.mak,*.make - Custom red "M" icon in file browser
Highlighting coverage:
- Build targets and dependencies
- Variable references and shell constructs
- Conditional directives
- Special targets and silent commands
- Line continuations and quoted strings
Requirements
- JupyterLab >= 4.0.0
Install
To install the extension, execute:
pip install jupyterlab_makefile_file_type_extension
Configuration
IMPORTANT: Configure Tab Character Usage
Makefiles require tab characters for recipe command indentation. Recipe lines starting with spaces instead of tabs will cause Make execution to fail with "missing separator" errors. Configure JupyterLab to use tabs:
- Open JupyterLab Settings → Settings Editor
- Navigate to Text Editor section
- Set Indentation Unit to
Tab
Alternatively, add this to your JupyterLab Text Editor settings JSON:
{
"editorConfig": {
"indentUnit": "Tab",
"tabSize": 4
}
}
Note: All recipe commands (lines that execute shell commands under targets) MUST start with a tab character. The syntax highlighter requires tab-indented recipe lines for proper highlighting - space-indented recipes will not be highlighted and will fail during Make execution.
Metadata
Release files for jupyterlab-makefile-file-type-extension 1.0.98
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterlab_makefile_file_type_extension-1.0.98.tar.gz | 563.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterlab_makefile_file_type_extension-1.0.98-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 583.6 kB
Release files / jupyterlab_makefile_file_type_extension-1.0.98.tar.gz
| Download URL | jupyterlab_makefile_file_type_extension-1.0.98.tar.gz |
|---|---|
| Size | 563.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fec76cbbab8716173877850c0a9e6e8cda0234c0272002293702a6b9f96c0d16
|
|
BLAKE2b-256 checksum How to use checksums |
42190dcddc873013028fb6f11eff1052b59afeea27dd7aad296ac4b1b3f10d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / jupyterlab_makefile_file_type_extension-1.0.98-py3-none-any.whl
| Download URL | jupyterlab_makefile_file_type_extension-1.0.98-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76efd52757b5549e38473b36a947a3e19f464cd28dfed125d5926e89759a5449
|
|
BLAKE2b-256 checksum How to use checksums |
41cabd335a8b40deef391b4b63cdbc8ca92e2e9e697f08170dc4e8c3a6056d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|