-
Notifications
You must be signed in to change notification settings - Fork 278
VSCode Server, EditorServices.Host process does not stop on closing VSCode #8224
Description
Please include the following with each issue:
1. Describe the bug
When connecting to a visual studio code server and opening a repository on the remote, the AL Language Extension spins up the process
.vscode-server/extensions/ms-dynamics-smb.al-18.0.2242655/bin/linux/Microsoft.Dynamics.Nav.EditorServices.Host /telemetryLevel:all /browser:SystemDefault /logLevel:Normal /semanticFolding:true /extendGoToSymbolInWorkspace:true /extendGoToSymbolInWorkspaceResultLimit:100 /extendGoToSymbolInWorkspaceIncludeSymbolFiles:true /testCoverageCachePath:./.coverage /sessionId:1439b301-0217-47e0-be97-595a4de5952c
If the local VS Code closes and reconnects to the VSCode Server again, the old process still runs and the extension creates a new process.
2. To Reproduce
-
Set up a VSCode server
-
Connect a local VSCode to the server
-
Install and enable the AL Language extension on the server
-
Open an AL Repository and let the extension load the workspace
Note: at this point there should be 1EditorServices.Hostprocess running -
Close and reopen VSCode and connect to the remote again
-
Go to '...'
AL code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally.No AL code required to reproduce this issue.
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior
A clear and concise description of what you expected to happen.
The process is terminated when the connection to the host is interrupted.
4. Actual behavior
A clear and concise description of what happened accompanied by images, animations, or a link to a video showing the issue occurring
The process runs indefinitely.
5. Versions:
- AL Language: 18.0.2242655
- Visual Studio Code: 1.113.0
- Business Central: N/A
- List of Visual Studio Code extensions that you have installed:
- Operating System:
- Windows
- [ x ] Linux - Debian 13.4
- MacOS
Final Checklist
Please remember to do the following:
-
[ x ] Search the issue repository to ensure you are reporting a new issue
-
[ x ] Reproduce the issue after disabling all extensions except the AL Language extension
-
[ x ] Simplify your code around the issue to better isolate the problem