I’ve been running
jupyter-lab in a cluster and using it in my local computer (ssh tunneling) and that’s been working great. My problem is that I’m editing a lot of
snakemake files (workflow manager written in python), usually with a
.smk file extension and every time I open a file, I have to go to the
view --> text editor syntax highlighting --> python. I saw in the
Advanced settings editor that you can create shortcuts, so I tried to create a shortcut to highlight these files using the python syntax, but there aren’t examples relevant to my case in the already created shortcuts and I failed to do it. Also, i don’t know if it’s possible to associate a x file extension with a specific language, so you can open it and have a “proper” syntax highlighting, which would be even better than a shortcut.