Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NCL NotebookNew to Visual Studio Code? Get it now.
NCL Notebook

NCL Notebook

Feliks

|
1,318 installs
| (1) | Free
Notebook Support for NCL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Notebook Support for NCL

Now you can edit NCL in jupyter-notebook(.ipynb)!

Note that you need another extension called NCL Support for language support and auto suggestion.

CleanShot 2023-10-12 at 00.25.08.gif

  1. Open/creat a jupyter-notebook Image.png

  2. Choose the NCL kernel Image.png

  3. Connect to a terminal Image.png

Image.png 4. Code and run! Image.png

The work has been completed by 90%!

Contact me:linlf7@mail2.sysu.edu.cn

Change log:

  • Version 0.5.0

    1. 改进了大纲视图的切换和保存逻辑
  • Version 0.4.9

    1. side output改进:
      • 显示的图片可以被固定住
      • 直接一键裁去白边并复制到剪贴板
      • 显示图片支持png和pdf
  • Version 0.4.8

    1. side output改进:
      • 视图支持选中即复制
      • 显示的图片支持鼠标悬浮放大
      • 运行时会在右上角显示一个加载动画
    2. 大纲视图右键新增多种操作
    3. 大纲视图及块工具栏新增前进/后退按钮(用于在前/后一个浏览的块间切换)
    4. bug修复
  • Version 0.4.7

    1. 大纲列表支持图标和层级,自动根据markdown块和代码块显示不同图标
    2. 支持识别代码块中的标签(以;# 开头,注意井号后面必须有空格),并在大纲中显示为该代码块的内层级
    3. 代码内层级支持颜色指定,如;#r 显示为红色圆点,字母与颜色的对应关系如下:
    • b(默认): blue
    • r: red
    • g: green
    • w: white
    • o: orange
    • v: violet
    • y: yellow
    • p: purple
    • 第二层级(两个井号)会跟随上一层级的颜色,如第一层级为";#r fig",第二层级为";## fig",则第二层级颜色为红色
    1. 大纲支持搜索,笔记本中代码块的大纲按钮替换为搜索
    2. 仅代码块显示运行按钮
    3. 除代码块标签外,其他条目可以点击加号在下方添加一个代码块
    4. 切换代码块时大纲自动跳转当前焦点
    5. 笔记本中代码块的大纲菜单
    6. 增加side output视图,在笔记本中右键“switch output”即可激活,代码运行结果在该视图中显示
    7. 移除部分按钮, 改进连接体验
    8. 右键增加Summary和Print按钮,用于直接输出光标所在变量
  • Version 0.4.6

    1. 尝试检测重复的warning并合并
    2. 优化终端连接逻辑
    3. 更新使用演示
  • Version 0.4.4

    1. 性能优化
  • Version 0.4.3

    1. 工具栏大纲功能只显示markdown块
    2. 在未检测到ncl时,允许用户选择conda环境
    3. 初步提供大纲视图,允许直接通过大纲视图运行块
  • Version 0.4.2

    1. 优化重启与连接按钮的显示逻辑
  • Version 0.4.1

    1. 代码优化
  • Version 0.4.0

    1. 块工具栏可以点击触发符号搜索
    2. 增加连接至终端的流程 PS:
  1. Files in folder ".ipynb_checkpoints" are nessasary for the extension, do not remove or delete them.
  2. Generally, you do not need the "begin" and "end" statement in block, because the extension would automatically wrap every block with them, except one containing "load xxx" or a function/procedure
  3. The interrupt button can only stop the timing, not really stop the running process.
  4. The restart button will clear all output and restart the running kernel.
  5. How to fully reset the extension? Just delete the folder: .ipynb_checkpoints and click restart button.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft