hi,
If you work locally, VSCode manage source files and detect changes to the source file being edited before overwriting.
rocket-mvbasic is in concern about concurrent access only in the online mode (remote server connection/editing). As christian explain, there's an enhancement request....
IMHO, online mode of Rocket-mvbasic seems good but when you work like this, you loose a lot of vscode's capabilities. I recommend local mode with automatic synchronization via SFTP.
------------------------------
Manu Fernandes
------------------------------
Original Message:
Sent: 03-06-2024 04:41
From: Christian Bristow
Subject: Source Code integrity in a Mixed-mode adoption of MVVS
It's a bigger subject but default MVVS and BDT do not manage concurrent access but AE/ED locks records. BDT has some options around XTOOLSUB. If there's an AE/ED record lock on a BASIC source file you will be notified in VS Code online mode. There's an enhancement request for MVVS to set record lock for source being edited with reference "MVVS-1310 set exclusive lock on BASIC file when open" and that's targeted for the online mode (remote server connection/editing).
------------------------------
Christian Bristow
TSE
Rocket Software Inc
Waltham MA US
Original Message:
Sent: 03-06-2024 00:29
From: Gregor Scott
Subject: Source Code integrity in a Mixed-mode adoption of MVVS
Some existing UniVerse IDE tools still maintain item locks within the database to provide concurrent access controls to source code.
How does MVVS manage concurrent access to the same source code file?
How well does it work with tools that obtain record locks before code editing begins?
Does MVVS detect changes to the source file being edited and either adopt them when there are no changes in the current edit window or provide the option to merge the changes into the edit window so the source code can reflect the recently saved changes as well as the current editor's adjustments?
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------