Skip to content

v3.5.0

Compare
Choose a tag to compare
@krassowski krassowski released this 22 Mar 12:07
3a02368

This release provides notable improvements and bug fixes to the completion feature and handling of IPython magics:

  • %%bigquery IPython cell magic is now supported
  • detail information about the completion is now shown instead of the type by default; if no detail is available, then type or source ("Kernel" for kernel completions) is shown instead
    detail-and-source-opt
  • new settings are available for completer:
    • caseSensitive: you can make matching of completions case-insensitive by setting it to false
    • includePerfectMatches: you can ask completer not to include perfect matches by setting it to false
    • labelExtra: you can revert to old behaviour of showing the type next to the label, or change it to showing source, or only detail.
      new-completion-settings
  • for extension developers:
    • RegExpForeignCodeExtractor's extract_to_foreign was split into foreign_capture_groups and foreign_replacer
    • minimal functional extractor and code overrides APIs are now exported; these APIs can be subject to change in future releases
    • the completions code was refactored to make it possible to support integration with other completion providers in the future

To upgrade to this release:

  1. Make sure your JupyterLab version is 3.0.x

  2. Update the extension:

    pip install jupyterlab-lsp==3.5.0 jupyter-lsp==1.1.3
    # or, for conda:
    # > Please note that conda packages may take a day or two since release before becoming available!
    # conda install -c conda-forge jupyterlab-lsp=3.5.0 jupyter-lsp=1.1.3
  3. Note:

  • If installing this extension for the first time, please read the full installation instructions as language servers of your choice need to be installed too, and additional configuration can make your experience smoother.
  • If you wish to use a recent jedi-language-server (versions 0.22+) please make sure to upgrade IPython to 7.20 to avoid this issue.

Changelog:

  • features:

    • adds %%bigquery IPython cell magic support for BigQuery (#553, thanks @julioyildo)
    • completions filtering can be set to case-insensitive in settings (#549)
    • completions filtering can hide exact matches (#549)
    • the extra information displayed next to the completion label now can include 'detail' (usually module/package of origin), and can be customized in settings (#549)
  • bug fixes:

    • prevents throwing a highlights error when adding new cell with Shift + Enter (#544)
    • fixes IPython pinfo and pinfo2 (? and ??) for identifiers containing s (#547)
    • fixes incorrect behaviour of LSP features in some IPython magics with single line of content (#560)
  • for extension authors:

    • minimal functional extractor and code overrides APIs are now exported; these APIs can be subject to change in future releases (#562)