Skip to content

Conversation

@leigaol
Copy link
Contributor

@leigaol leigaol commented Aug 11, 2025

Problem

Support of inline completion in JL Notebook is gone since the language server migration.
aws/aws-toolkit-vscode#7086

Solution

Let the IDE provide the file context.

There is a technical limitations of the language server that it cannot find or construct the vscode.NotebookDocument, vscode.NotebookCell. The workspace.getTextDocument does not work with JL Notebook as it gets a URI in the format of "vscode-notebook-cell:/../A1.ipynb#W2sZmlsZQ%3D%3D". The language server does not have the cell number, cell state, cursor position, etc of the current cell.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@leigaol leigaol requested a review from a team as a code owner August 11, 2025 19:43
@leigaol leigaol merged commit f6f0da8 into aws:main Aug 12, 2025
4 checks passed
leigaol pushed a commit that referenced this pull request Aug 12, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>language-server-runtimes: 0.2.125</summary>

##
[0.2.125](language-server-runtimes/v0.2.124...language-server-runtimes/v0.2.125)
(2025-08-12)


### Bug Fixes

* add file context override for inline completion
([#660](#660))
([f6f0da8](f6f0da8))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants