MVVS: MV Basic for Visual Studio

 View Only

 MV Basic with remote-SHH

ivar snijder's profile image
ivar snijder posted 12-12-2023 07:39

Hi,

In Visual Studio Code we have option to work on remote server with SSH, docker, WSL or Tunnel. For my purposes, the way to work via SSH is ideal.

This functionality allows to work with the remote server as with a local computer (ref. https://code.visualstudio.com/docs/remote/ssh).

I encountered an problem when I try to use the "Go to Definition" option. The extension tries to open the file by appending the project path to the absolute file path to the file:

PROJECT_ROOT = '/myBigDisc/UV/REMACC'
FILE_PATH = '/myBigDisc/UV/REMACC/helloWorld.B'

The path that the extension tries to open when I navigate to the definition of this variable: /myBigDisc/UV/REMACC/myBigDisc/UV/REMACC/helloWorld.B

PROGRAM helloWorld.B
   myFirstVariable = ''
   return
end

I also noticed some problems with "Map cataloged programs" and "includeMapping"
Functionality of debugging, compilation and connections to the U2 server work properly

Could you please advise how I can get this to work with remote-ssh?

Thank you in advance!

Christian Bristow's profile image
ROCKETEER Christian Bristow

Hello Ivar,

In principal we don't support our BASIC extension with the ssh extension made by Microsoft as it's beyond our control and  has limitations eg doesn't support AIX (I reported that to MS a while back). However the problem you reported reproduces outside the realm of ssh and can be seen in VS Code installed directly in Linux which we do support. I have logged a bug with reference MVVS-1307 on the nested path creation. If you could log a support ticket on the remaining issues I would be happy to test these as well.