- bug fixes:
- fix build issues making it difficult to reuse/extend the package (#696, thanks @cccs-jc)
- features:
- add support for new
typescript-language-server
replacingjavascript-typescript-langserver
; despite the name both packages provide support for all four: JavaScrip, JSX, TypeScript and TSX; the oldjavascript-typescript-langserver
can still be used, but it is no longer maintained and we will not be supported, and specs may be removed in the next major release (#697).
- add support for new
- features:
- signature help box will now persist while typing the arguments of a function (#671)
- the currently active argument will be highlighted in the signature help box
- if the documentation exceeds a user-configurable number of lines the signature help box will only display the first line of the documentation and the following lines will be collapsed into an expandable details section.
- the signature box is now displayed above the current line
- the signature box takes up less space
- you can now disable specific features in settings (#689)
- bug fixes:
- fix missing translation strings (#675)
- fix kernel completions not showing up for R (#686)
- fix tab completions not showing up in strings due to incomplete trigger kind invalidation (#686)
- fix path completions reconciliation for
pyls
/pylsp
withIPython
(#686) - improve escaping rule for IPython magics overrides (#688)
- fix documentation panel not showing up when typing fast (#692)
- bug fixes:
- bug fixes:
- remove spurious
ValidationError
warnings for non-installed servers (#645, thanks @karlaspuldaro) - reduce number and verbosity of logs on startup
- remove spurious
-
improvements:
-
bug fixes:
-
features:
-
changes:
ShellSpec.is_installed()
signature changed; it now accepts theLanguageServerManagerAPI
rather than the resolved command location (ofstr
type); the specs using onlyis_installed_args
are not affected; as this method was only used by internally by the__call__
implementation (which was adjusted accordingly) this change should not break existing specs unless any of these methods were overridden in sub-classes.SpecBase
was moved totypes.py
; it can still be imported fromutils
, but doing so is discouragedShellSpec.solve()
was added to facilitate discovery of command location
- features:
- add auto-detection of pyright server (#587, thanks @yuntan)
-
features:
- add ability to deactivate Kernel completions or LSP completion through the settings (#586, thanks @Carreau)
- allow to set a priority for LSP server, allowing to choose which server to use when multiple servers are installed (#588)
- add auto-detection of pyright server (#587, thanks @yuntan)
- update from JupyterLab Classic to RetroLab (#602)
- log server messages in user-accessible console (#606)
-
bug fixes:
- workaround url-parse issue causing problems when using JupyterLab 3.0.15 (#599)
-
other changes:
- drop Node 10 (EOL 2 weeks ago) testing on CI, add Node 15 (#587)
- update lsp-ws-connection dependencies (#606)
- old emit-based API of lsp-ws-connection is new deprecated and will be removed in the next major version; please use
serverNotifications
,clientNotifications
,clientRequests
andserverRequests
instead (#606)
-
features:
-
bug fixes:
- fix encoding on Windows for non-conda installs (#580, thanks @stonebig)
-
features:
- added translation support (#557, thanks @JessicaBarh)
-
features:
- added translation support (#557, thanks @JessicaBarh)
-
bug fixes:
-
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)
- adds
-
bug fixes:
- prevents throwing a highlights error when adding new cell with Shift + Enter (#544)
- fixes IPython
pinfo
andpinfo2
(?
and??
) for identifiers containings
(#547) - fixes incorrect behaviour of LSP features in some IPython magics with single line of content (#560)
- fixes name of jupyterlab-lsp package in JupyterLab
-
for extension authors:
- minimal functional extractor and code overrides APIs are now exported; these APIs cab be subject to change in future releases (#562)
-
bug fixes:
-
bug fixes:
- fixed installation of the source version of the extension (causing build error if classic was not installed) (#526)
-
features:
- the priority of the completions from kernel can now be changed by switching new
kernelCompletionsFirst
setting (#520) - completer panel will now always render markdown documentation if available (#520)
- the implementation re-renders the panel as it is the best we can do until jupyterlab#9663 is merged
- the completer now uses
filterText
andsortText
if available to better filter and sort completions (#520, #523) - completer
suppressInvokeIn
setting was removed;suppressContinuousHintingIn
andsuppressTriggerCharacterIn
settings were added (#521) suppressContinuousHintingIn
by default includesdef
to improve the experience when writing function names (#521)- long file paths are now collapsed if composed of more than two segments to avoid status popover and diagnostics panel getting too wide (#524)
- the priority of the completions from kernel can now be changed by switching new
-
bug fixes:
- user-invoked completion in strings works again (#521)
- completer documentation will now consistently show up after filtering the completion items (#520)
- completions containing HTML-like syntax will be displayed properly (an upstream issue) (#520, #523)
- diagnostics panel will no longer break when foreign documents (e.g.
%%R
cell magics) are removed (#522)
-
bug fixes:
- completion and signature suggestions get invalidated when editor changes (#507)
- signature suggestions now invalidate on cursor move to another line or backwards too (#507)
- LaTeX is now rendered in documentation panel of completer (#506)
- completion response returned as plain text use pre tag to retain whitespace formatting (#506)
- pre-formatted code font size was reduced to match font-size of the text in completion panel (#506)
- completer no longer spans the entire screen if it has long entries (#506)
-
features:
- add config for the classic notebook server extension (#504)
-
features:
-
bug fixes:
- delayed completion suggestions will no longer show up if cursor moved to another line (#496)
- changes in notebooks after kernel restart or file rename will now be recorded by the language server again (#496)
- when either of kernel providers: kernel or LSP server fails, the completion from the other will still be shown (#496)
-
bug fixes:
- fixed issues with language server messages being truncated in certain circumstances on Windows
-
features:
-
bug fixes:
-
bug fixes:
PythonModuleSpec
no longer raises exception when the server module does not exist (#485)
-
features
- make the extension work with
jupyterlab-classic
- experimental, not all features are functional yet (#465) - new status "Server extension missing" and a dialog with advice was added to help users with atypical configurations (#476)
- for developers: the verbosity of console logs is now controllable from settings and set to warn by default (#480)
- make the extension work with
-
bug fixes:
- namespace completions in R (after double and triple colon) now work properly (#449)
- improved status icon contrast when status item is active (#465)
- connection manager now properly keeps track of notebooks when multiple notebooks are open (#474)
- new cells added after kernel restart now work properly; kernel changes are handled correctly (#478)
- increase total timeout for language server connection (#479)
- fix status communication during initialization (#479)
-
features
- added experimental detection of Julia and Jedi language servers (#481)
-
bug fixes:
-
features
- highlights can now be auto-removed from the cells/editors on blur (set
removeOnBlur
totrue
in settings) (#446)
- highlights can now be auto-removed from the cells/editors on blur (set
-
bug fixes
- improved performance of completion and highlights by minimising the number of highlight requests and GUI redraws (token checking, debouncing, acting on a single response only) (#433)
- highlights now update after cell focus/blur events even if those do not trigger cursor movement (#433)
- trigger characters auto-invoke now works in continuous hinting mode again (#434)
-
bug fixes
- fix crash "blank screen" caused by Mac command character included in jump-to schema file (#429)
-
features
- the virtual documents' folder can be configured with
JP_LSP_VIRTUAL_DIR
orLanguageServerManager.virtual_documents_dir
, with a potential benefit for JupyterHub installations (the default value remains contents.root_dir /.virtual_documents
) (#416, thanks @fcollonval)
- the virtual documents' folder can be configured with
-
features
- added "click to jump" functionality (by default using Alt modifier) (#423)
- added "jump back" command, by default activated with Alt + o (#423)
.virtual_documents
location can now be customized (#416)- tokens are now exported making them available for import from other extensions (#414, thanks @martinRenou)
-
bug fixes
- context menu commands are now correctly registered where previously specific conditions were leading to race conditions (#399, thanks @mnowacki-b)
- handles characters that need escaping (spaces, non-ASCII characters) more robustly in files and folder names (#403, thanks @bollwyvl and @avaissi)
- moving cells now triggers the document update immediately leading to immediate diagnostics update (#421)
- changing cell type to
raw
ormarkdown
and then back tocode
properly unbinds/binds event handlers and updates document (#421) - pasted cells are added to the LSP document immediately, without the need for the user to enter them (#421)
- improved error message when language server cannot be found (#413, thanks @martinRenou)
- developer documentation got improved (#412, thanks @karlaspuldaro)
- breaking changes
- split away from
@krassowski/jupyterlab_go_to_definition
, renamed to@krassowski/code-jumpers
(#423):- removed unused code
- refactored history operations to track files and always use global location data
- renamed
uri
tocontents_path
to help avoid programmer issues with characters requiring URI encoding (#406)
- split away from
-
bug fixes
- custom cell syntax highlighting is now properly removed when no longer needed (#387)
- the completer in continuous hinting now works well with the pasted text (#389)
- continuous hinting suggestions will no longer show up if the only hint is the same as the current token (#391)
- available options for hover modifier keys are now listed in the setting descriptions (#377)
-
bug fixes
- fix syntax highlighting in hover tooltips and reduce unnecessary padding and margin (#363)
- greatly improve performance of hover action (#363)
- improve support for expanded hovers tooltips using deprecated API (#363)
- do not hide hover tooltips too eagerly (allowing selecting text/easy scrolling of longer tooltips) (#363)
-
bug fixes
- fix syntax highlighting of %%language cells slowing down editing in notebooks (#361)
-
bug fixes
- fix too aggressive overrides of IPython's pinfo (
?
) and pinfo2 (??
) (#352)
- fix too aggressive overrides of IPython's pinfo (
-
bug fixes
-
bug fixes
- fix code overrides not being registered properly (#340)
-
bug fixes
- bump version of lsp-ws-connection dependency to fix the LaTeX server issues (see #337)
- autodetects the
sql
language server for.sql
files (#328)- diagnostics are provided by
sqlint
which requires Node 11+ to work well (in contrast to currently required Node 10+).
- diagnostics are provided by
-
features
- support for JupyterLab 2.2 (#301)
- completer now displays server-provided documentation, and a kernel icon for kernel suggestions without type information (#301)
- add two icons themes for the completer (material and vscode) (#322)
- the documentation by the completer can be turned on or off (#315)
- continuous hinting (Hinterland mode) can be enabled in settings (#315)
- tokens in which the completer should not be triggered can be changed (#315)
- configuration for the following features is now exposed in the settings editor (#318):
- diagnostics (display, filtering)
- hover (modifier key)
- rename operation status reporting got improved (#318)
- replaced the generic status icons with code check icon (coloured differently according to the status) (#318)
- added icons for all the features and their commands (#318)
- refactored the codebase with a new architecture which allows dynamic features, document widget adapter, and code editor registration (#318)
- the document in the connections list in the statusbar popover are now represented by easy-to-understand DocumentLocator (breadcrumbs) widget rather than an internal id (bacc006)
- syntax highlighting mode is adjusted to the language with the majority of the code in an editor (#319)
- copy diagnostics message and filter diagnostics from context menu of Diagnostic Panel (#330)
-
bug fixes
- path-autocompletion issues were resolved upstream and this release adopts these changes
- the missing caret and document connection icons were restored in the statusbar popover (#318)
- pressing "Cancel" rename during rename now correctly aborts the rename operation (#318)
- when a language server for a foreign document is not available an explanation is displayed (rather than the "Connecting..." status as before) (4e5b2ad)
- when jump target is not found a message is now shown instead of raising an exception (00448d0)
- fixed status message expiration and replacement (8798f2d), (#329)
- fixed some context command rank issues introduced after an attempt of migration to nulls (#318)
-
bug fixes
- autodetects the
texlab
language server for.tex
files (#288)- diagnostics should be provided by
chktex
on save, but don't yet appear, but can be configured through the Advanced Settings Editor to appear on save or change
- diagnostics should be provided by
-
features
- language servers can now be configured from the Advanced Settings Editor (#245)
-
bug fixes
- fixes currently-highlighted token in dark editor themes against light lab theme (and vice versa) (#195)
- restores sorting order-indicating caret icons in diagnostics panel table (#261)
- handles document open and change operation ordering more predictably (#284)
- fixes some pyflakes issues caused by line magics substitution (#293)
- updated the link to the documentation of language servers (#294)
-
features
- language servers can now be configured from the Advanced Settings Editor (#245)
-
bug fixes
- handles document open and change operation ordering more predictably (#284)
-
features
- language servers can now be configured from the Advanced Settings Editor (#245)
-
bug fixes
- handles document open and change operation ordering more predictably (#284)
-
features
- supports JupyterLab 2.0
-
features
- supports JupyterLab 2.0
-
features
- opens a maximum of one WebSocket per language server (#165, #199)
- lazy-loads language server protocol machinery (#165)
- waits much longer for slow-starting language servers (#165)
- cleans up documents, handlers, events, and signals more aggressively (#165)
- ignores malformed diagnostic ranges, enabling markdown support (#165)
- passes tests on Python 3.8 on Windows (#165)
- improves support for rpy2 magic cells with parameters ( #206 )
-
bug fixes
- reports files are open only after installing all handlers to avoid missing messages (#201)
-
breaking changes
-
breaking changes
-
bugfixes:
- handles language server reading/writing and shadow file operations in threads (#199)
- bugfixes
- didSave no longer causes unwanted messages in logs ( #187 )
-
features
-
bugfixes
- added
sendSaved()
method (textDocument/didSave) ( #147 ) - fixed
getSignatureHelp()
off-by-one error ( #140 )
-
features
- reduced space taken up by the statusbar indicator ( #106 )
- implemented statusbar popover with connections statuses ( #106 )
- generates types for server data responses from JSON schema ( #110 )
- added 'rename' function for notebooks, using shadow filesystem ( #115 )
- added a UX workaround for rope rename issues when there is a SyntaxError in the Python code ( #127 )
- added a widget panel with diagnostics (inspections), allowing to sort and explore diagnostics, and to go to the respective location in code (with a click); accessible from the context menu ( #129 )
- all commands are now accessible from the command palette ( #142 )
- bash LSP now also covers
%%bash
magic cell in addition to%%sh
( #144 ) - rpy2 magics received enhanced support for argument parsing in both parent Python document (re-written overrides) and exctracted R documents (improved foreign code extractor) ( #148, #153 )
- console logs can now easily be redirected to a floating console windows for debugging of the browser tests (see CONTRIBUTING.md)
-
bugfixes
- diagnostics in foreign documents are now correctly updated ( 133fd3d )
- diagnostics are now always correctly displayed in the document they were intended for
- the workaround for relative root path is now also applied on Mac ( #139 )
- fixed LSP of R in Python (
%%R
magic cell from rpy2) ( #144 ) - completion now work properly when the kernel is shut down ( #146 )
- a lowercase completion option selected from an uppercase token will now correctly substitute the incomplete token ( #143 )
didSave()
is emitted on file save, enabling the workaround used by R language server to lazily loadlibrary(tidyverse)
( #95, #147, )- signature feature is now correctly working in notebooks ( #140 )
- infrastructure
- brought into monorepo #107
- dev
- allows
initializeParams
to be overloaded by subclasses - adopts
- typescript 3.7
- prettier
- tslint
- added initialization checks before executing sendChange to comply with LSP specs #115
- allows
- features
- features
- adds an indicator to the statusbar
- and many other improvements, see the release notes
- dependencies
- removes unused npm dependencies
- features
- allows "rename" action in file editor
- bugfixes
- handles some non-standard diagnostic responses
- testing
- adds browser-based testing for file editor
- dependencies
- requires
jupyter-lsp
- requires
- features
- starts language servers on demand
- accepts configuration via Jupyter config system (traitlets) and python
entry_point
s - autodetects language servers for bash, CSS, LESS, SASS, Dockerfile, YAML, JS, TypeScript, JSX, TSX, JSON, YAML