Is it possible to edit my code from Visual Studio Online (VS Team Services)?

前端 未结 8 1467
说谎
说谎 2021-02-12 03:39

I have Visual Studio Online (now VS Team Services) account as a part of my MSDN subscription. I managed to create a project there, set a workspace in my local Visual Studio 2013

相关标签:
8条回答
  • 2021-02-12 04:09

    The other answers are old but I found this through Google so I think an update is needed.

    Yes, you can edit a text file in Visual Studio Team Services (formerly Visual Studio Online).

    Go to Code->Files. Select the file. Click Edit. Edit the file. Click Save.

    If that file is being monitored by a build definition then a build will be kicked off.

    This editing is not limited to Azure Website projects. What those other posters are referring to is you can edit code that is already deployed to a website. This is different becasue it is editing code in the repo.

    Screenshot of edit button

    0 讨论(0)
  • 2021-02-12 04:17

    It is now possible to edit code directly in your repo on VisualStudio.com. I don't know how long it's been enabled, but I have recently gone in to "correct" small typos, such as when a developer changes a connection string in web.config locally and accidentally commits it. What's really cool is that when you save the file, if it's a git repo, you can automatically create a new branch and pull request with your change at the same time. I find it to be very convenient for very small changes.

    0 讨论(0)
提交回复
热议问题