Skip to main content
Question

How do I fix Rocket MVBasic undefined variable in VSCode

  • October 27, 2025
  • 1 reply
  • 44 views

db777

I have two bp file that both exist in Github: IO.BP and WEBAPPS.BP.  I have a subroutine in WEBAPPS.BP that I am updating in vscode.  It has this include statement “$INCLUDE IO.BP IO.INS”  vscode still shows all the variables using that file as undefined variables.  I have tried adding them to the includeMapping, but it still doesn’t fix it.  Both folders exist in c:\git-workspace\IO.BP and c:\git-workspace\WEBAPPS.BP.  This is for Universe. I also tried adding the folder to the workspace. How can I fix this in vscode?  

1 reply

Christian Bristow
Forum|alt.badge.img+1

Hello db777,

When using the MVVS “local” mode, you would open the folder account name that contains the BP files. The reason is that the account folder is where the .rmv configuration file will be created and the account environment is defined.

You could open an account to the current workspace: e.g., open one folder called HS.SALES containing a BP file, and then add a folder XDEMO to the workspace, another folder containing other BP files. However, you can only connect to one folder account to the real UniVerse account at a time, eg HS.SALES or XDEMO when wanting to compile/catalog/debug.  

In your case, it sounds like you would want to open “git-workspace” as an account folder, except it’s not an account in UniVerse, is it? So not like-for-like structure. 

Perhaps you are better off using our online mode and connecting directly to the UniVerse server.

 

Feel free to open a support case with Rocket support if you want some deeper guidance on this.