microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.66k stars 29.44k forks source link

APL language extensions do not work in APL notebook cells. #190985

Closed coolbluewater closed 1 year ago

coolbluewater commented 1 year ago

Does this issue occur when all extensions are disabled?: This issue is regarding extensions.

Steps to Reproduce:

  1. Install Dyalog APL for macOS
  2. Instal the Dyalog APL Jupyter kernel
  3. Install extensiona a) APL Language b) APL Language Server Client and c) APL Backtick Symbols
  4. Create a new notebook with an .ipynb extension and set the kernel to APL
  5. Create a code cell of type APL.
  6. Type a backtick followed by a. In regular .apl files this invokes the APL Backtick Symbols extension which replaces the backtick and the a with an (alpha) symbol. In the APL notebook cell, however, it does nothing.
  7. Clear the cell and type capital I followed by Ctrl+Space. In an .apl file this invokes the APL Language Server Client extension which displays the syntax completion menu which in this case displays three items, the first being If. In the APL notebook cell, however, only a Loading... message is displayed and no menu is shown.
vscodenpa commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.81.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

coolbluewater commented 1 year ago

That was a typo, I fixed the version which is in fact the latest.

rebornix commented 1 year ago

Please file this issue against the APL extension which offers the language support. It's likely that the APL language extension doesn't handle the notebook scenario.

coolbluewater commented 1 year ago

What does it need to do to "handle the notebook scenario"? Why doesn't vscode do this transparently?

coolbluewater commented 1 year ago

This is very poor handoff. Are you actually interested in your user succeeding here? If so you might at least provide clear understanding of the basic steps involved. Also, to reiterate,