Forum Discussion

sllewji's avatar
sllewji
Regular Visitor
1 year ago
Solved

Using the Fabric API in a Fabric Notebook with the synapse Visual Studio Code Extension

Hi, I have some PySpark code in a Fabric Notebook which uses the Fabric API to manage shortcuts in a Lakehouse. I would like to be able to debug this code using the Synapse Visual Studio Code Exten...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi sllewji 

     

    Aside from the old thread below, I couldn't find any other documents or materials mentioning this limitation.

    Solved: "import notebookutils" via VSCode on remote Spark ... - Microsoft Fabric Community

     

    According to the above thread and the testing results, the notebookutils module is still not supported in VS Code for the Synapse extension currently. This feature is probably on the roadmap and will be available in future versions, but there is no ETA for its release yet. 

     

    However if you still want to experience with the notebookutils module in VS Code, you might try the VS Code (Web). This is a preview feature now. In my testing, it supports the notebookutils module. 

     

    To learn more about this preview feature, please read Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn

     

    Best Regards,
    Jing
    If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!