Skip to content

Instantly share code, notes, and snippets.

@krassowski
Created May 22, 2024 08:02
Show Gist options
  • Save krassowski/d18ba83ed307941d1408a7db7f6199e3 to your computer and use it in GitHub Desktop.
Save krassowski/d18ba83ed307941d1408a7db7f6199e3 to your computer and use it in GitHub Desktop.
JupyterLab 4.1.0 with many overrides in `overrides.json`

JupyterLab 4.1.0 with overrides.json

Binder

{
"@jupyterlab/notebook-extension:tracker": {
codeCellConfig: {
lineNumbers: true,
autoClosingBrackets: true,
fontFamily: null,
fontSize: null,
lineHeight: null,
lineWrap: false,
matchBrackets: true,
readOnly: false,
insertSpaces: true,
tabSize: 4,
wordWrapColumn: 80,
rulers: [],
codeFolding: false,
lineWiseCopyCut: true,
},
recordTiming: true,
},
"@jupyterlab/git:plugin": {
simpleStaging: true,
displayStatus: false,
},
"@jupyterlab/shortcuts-extension:shortcuts": {
shortcuts: [
{
command: "documentsearch:start",
keys: ["Accel Shift F"],
selector: ".jp-mod-searchable",
},
{
command: "documentsearch:startWithReplace",
keys: ["Accel Shift H"],
selector: ".jp-mod-searchable",
},
{
"args": {},
"command": "documentsearch:start",
"keys": [
"Accel F"
],
"disabled": true,
"selector": ".jp-mod-searchable"
},
{
"command": "run-tidy-imports",
"keys": [
"Alt I"
],
selector: ".jp-NotebookPanel-notebook"
},
],
},
"@jupyterlab/mainmenu-extension:plugin": {
menus: [
{
id: "jp-mainmenu-file",
items: [
{
command: "filebrowser:open-path",
disabled: true,
},
],
},
],
},
"@jupyterlab/application-extension:context-menu": {
"contextMenu": [
{
"command": "filebrowser:share-main",
"selector": ".jp-DirListing-item[data-isdir]",
"disabled": true
}
]
},
"@axlair/jupyterlab_vim:plugin": {
enabled: false,
"extraKeybindings": [
{
"context": "normal",
"mapfn": "map",
"enabled": true,
"command": "\\",
"keys": ":noh<CR>"
}
]
},
"jupyterlab-limit-output:settings": {
enabled: true,
head: 500,
tail: 500
},
"@jupyter-widgets/jupyterlab-manager:plugin": {
saveState: true,
},
"@jupyterlab/toc-extension:plugin": {
includeOutput: false,
syncCollapseState: true,
},
"@jupyterlab-contrib/spellchecker:plugin": {
theme: "dotted-underline",
mimeTypes: [
"text/plain",
"text/x-ipythongfm",
"text/x-rst",
"text/x-latex",
"text/x-rsrc"
]
},
"@jupyter-lsp/jupyterlab-lsp:completion": {
disable: true,
},
"@jupyter-lsp/jupyterlab-lsp:highlights": {
disable: true
},
"@jupyter-lsp/jupyterlab-lsp:signature": {
disable: true,
},
"@jupyter-lsp/jupyterlab-lsp:diagnostics": {
disable: true,
},
"@jupyter-lsp/jupyterlab-lsp:plugin": {
language_servers: {
pylsp: {
priority: 100,
serverSettings: {
pylsp: {
plugins: {
pycodestyle: {
enabled: false,
},
pydocstyle: {
enabled: false,
},
pyflakes: {
enabled: false,
},
flake8: {
enabled: false,
},
},
},
},
},
pyright: {
priority: 200,
serverSettings: {
pyright: {
plugins: {
pycodestyle: {
enabled: false,
},
pydocstyle: {
enabled: false,
},
pyflakes: {
enabled: false,
},
flake8: {
enabled: false,
},
},
},
},
},
},
},
"@ryantam626/jupyterlab_code_formatter:settings": {
cacheFormatters: true,
}
}
#!/usr/bin/env bash
set -eux
mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
async-lru>=2.0.4
jupyterlab==4.1.0
jupyterlab-limit-output>=2.0.0
jupyterlab-pyflyby>=5.0.0
jupyterlab-notify>=2.0.0
jupyterlab-skip-traceback>=5.0.0
jupyterlab-execute-time>=3.0.0
jupyterlab-code-formatter>=2.2.1
jupyterlab_theme_solarized_dark>=3.0.0
jupyterlab_vim>=4.0.3
jupyter-resource-usage>=1.0.1
pyviz_comms>=3.0.0
jupyterlab-spellchecker>=0.8.4
jupyterlab-lsp>=5.0.0
jupyterlab-favorites>=3.2.0
jupyterlab-git>=0.50.0a0
bqplot
jupytext
nbdime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment