📜  jlj (1)

📅  最后修改于: 2023-12-03 15:16:40.290000             🧑  作者: Mango

JupyterLab Extension - JLJ

JLJ is a JupyterLab extension that allows you to create and run code snippets from within JupyterLab. It provides a streamlined way to quickly test and iterate on small pieces of code without needing to create and save full notebooks.

Installation

To install JLJ, run the following command:

jupyter labextension install jlj
Usage

To use JLJ, simply open JupyterLab and create a new file with the .jlj extension. You can then write your code snippet in the file and run it by clicking the "Run" button or pressing Ctrl + Enter.

JLJ also supports syntax highlighting and code autocompletion, making it easy to write and maintain code snippets.

Customization

JLJ can be customized by creating a jlj_config.json file in your home directory with the following options:

  • default_language: The default language for new JLJ files. (Defaults to "python")
  • theme: The theme for the JLJ editor. (Defaults to "light")
{
    "default_language": "python",
    "theme": "light"
}
Conclusion

JLJ is a powerful tool for any programmer working with JupyterLab. It provides a fast and easy way to test and iterate on small code snippets, without the overhead of full notebooks. Try it out today and see how it can improve your workflow!