cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Issue with Visual Studio Code Databricks extension

Mihai_Cog
Contributor

Hello,

I successfully installed the extension and connected it to my databricks account. But when I try to select the repo (which already exists under repos in my databricks repo account) for syncing , I don't see it.

I use Azure Devops (Git repo) as source control and I successfully connected databricks to the git repo.

 

Thank you.

5 REPLIES 5

Hello @Retired_mod and thank you for the answer.

From the 4. step I cannot follow what you said.

When I am doing point 4., I am writing "Databricks: Sync Workspace", but seems hat doesn't exist this.

So, after I am opening Command Palette, I use "Preferences: Open User Settings" and there I find Extensions and inside I see Databricks.

After that I am looking for Destination Type:

Screenshot 2023-09-15 at 18.14.41.pngScreenshot 2023-09-15 at 18.14.56.png

As you can see there, I modified from Workspace to Repo, I see nothing. I am going in the left side after I have added repo in the settings and still not seeing the Repo I already have created on Azure DevOps and cloned in Databricks Repo.

When I have in Settings changed from Workspace to Repo, and I am going in the left side of VSCode and preaa Databricks Icon, choose Sync Destination, I press Config Sync Destination and I see only:

Create new sync destination under /Repos/User/, but not displaying my Repo that is already in Databricks Repo.

And if I try to create the repo with the same name(RepoName my Repo that is already created in Databricks Repo) from "Create new sync destination", is creating a folder in Databricks repo with "RepoName.ide" in the end. 

Ok, I agree that can be a conflict because I have already the same RepoName created, but how I can get the already created RepoName, the one that exists and was cloned from Azure DevOps.

What I need is to have is the repo name from Azure DevOps.

Thank you.

matt7salomon
New Contributor II

Hello, I cant get the vs code connection to run interactive cells with my databricks cluster. Eevrytime I have to push the whole notebook to the cluster as a job. I cant see the databricks kernels in vs code to select from them. Tried updating but didnt help

saadansari-db
Databricks Employee
Databricks Employee

Hi Matt, do you have Databricks Connect enabled? that should let you run cell by cell interactively on VS Code

saadansaridb_0-1726734622713.png

 

yes. I do. I clicked on the red line and now it says enabled. However, sometimes vscode says building after i reinstall databricks connect and doesnt stop building.

saadansari-db
Databricks Employee
Databricks Employee

I think the building spinner can be confusing - we are looking at improving that experience. 

Did the cell-by-cell execution work for you now?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group