Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

VS Code:Remote SSH – How to open files from a clearcase dynamic view

I connect to my Oracle Linux build server using SSH from Windows Terminal, set the Clearcase view and then view/edit code using Vi.

Now, I am trying to use Visual Studio Code – Remote SSH to connect to the server and edit code directly from Windows PC.

I am able to connect to the server from VS Code and able to set clearcase view from VS Code Terminal. But if I try to open the folder in VS File Explorer attached to my view I am not seeing any files. I can see the files from VS Code Terminal though.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Kindly provide suggestions to see the files in VS Explorer.

>Solution :

Using cleartool setview (to mount a dynamic view onto /vobs) is not the recommended best practice, as it spawns a new process which might not be correctly interpreted within the VSCode Remote SSH session.

To validate that, try and access the same folder using the full view path /view/AViewName/vobs/aVob/.../yourFolder, without setting any view (and assuming the Vob is already mounted).
See if your files are visible then.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading