Steve Edgar
Steve Edgar

Reputation: 41

Configure SVN repo url in Visual Studio Code

Using Visual Studio Code, how do you set the URL for an SVN repository? I installed Chris Johnston's SVN extension and the Collabnet SVN client executable. Is there no config item in settings.json where the repo url can be provided...?

Upvotes: 3

Views: 18108

Answers (2)

user1250264
user1250264

Reputation: 905

  1. I installed the Johnston SVN to my Visual Studio Code.
  2. In the extension, I clicked on the gear icon which shows me the UI setting changes.
  3. I enter the project folder path from my PC.
  4. I clicked close editor and restart my Visual Studio.
  5. When VS is loaded, you will see the "S" on the left pane. Click on it and you will see the Repository to add your SVN URL.

Hope this helps someone. I know this extension does not have the greatest documentation.

Upvotes: 2

Neskazhui
Neskazhui

Reputation: 21

here are the steps to solve

  • Press Ctrl+Shift+P
  • Type and chose SVN: Checkout. Press Enter
  • Input existing URL of your repository e.g. file:///C:/Users/user1/Repo/my_scripts. Press Enter
  • Input parent directory for your Work copy e.g. C:\Users\user1\Documents. Press Enter
  • Input name of directory your Work copy e.g. "my_scripts". Press Enter

Enjoy!

Upvotes: 2

Related Questions