Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
evrise
Helper I
Helper I

How to develop Notebooks from VS Code using Workspace Git integration.

Hi,

 

do not understand one thing around DevOps with MSFT Fabric.

 

I created multiple workspaces. each for an environment.

Connected dev one to Azure DevOps Repo. and main branch.

Prepared Deployment pipeline.

 

But..

 

Right now there is only one branch in Development WS. If I want to work in a feature branch. I have to create another workspace, or work locally from VS Code. I prefer VS Code...

 

And thats an issue. If working with VS Code Synapse extension. I can work with notebooks locally, but its totally different structure as connected Repo has. I work in some local folder where all my workspaces are sync.

How did you design this? Should I then copy paste all my changes to Repo py files ? I hope no. so whats the workflow here when using Git source control? 

 

Thanks.

5 REPLIES 5
evrise
Helper I
Helper I

Nobody ? why all files are so different ? 
py file exported from workspace notebook has different structure as py file commited to git directly from workspace source control. 
Files used by VS Code extension are nnotebooks. 

So there is no chance to sync your work at git. 

It seems, the only option is to create separated workspace for each developer and project and connnect and disconnect and again connect from Source control if you want to work in new branch (you can create a new branch via UI only from current branch when git is connected).
Imagine you have your work done, you merge your feature branch to main and then workspace is connected to deleted branch. so you have to go to onfiguration and reconnect to main. 

Who designed this pls? how to get out from that ? Is Databricks only way ? 




Hi @evrise 

 

Thanks for using Microsoft Fabric Community.

Apologies for the issue you are facing here.

Could you please raise a support ticket, as this might require a deeper investigation from our engineering team and they can guide you better.

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support
Please provide the ticket number here as we can keep an eye on it.

Hope this is helpful. Please let me know incase of further queries.

Sorry for stupid question. but how support can help here? 
The issue is files imported from Fabric are notebooks with Synpase extension directory structure. 
Notebooks versioned to Git are python files with different dir. structure. 
Its not a bug. Its design failure. 
Thanks

SergioTorrinha
Resolver II
Resolver II

Hi @evrise !

I am also currently struggling with those type of questions.
Perhaps you would like to have a look in here if you didn't already: Work with notebook resources in Visual Studio Code - Microsoft Fabric | Microsoft Learn



You are sharing the link to the scenario I described and does not work. Thats why am asking here. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.