27
votes

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 and check-in some test code. I was wondering if it is also possible to edit code using the web interface instead of local VS?

Here's a screenshot for you who have not discovered this tool yet.

enter image description here

8
Is this free of charge but not a trial one?tech_me
@tech_me Find out on the Microsoft websites. Mine is a part of the MSDN subscription.Ondrej Janacek
Can you do this on chromebook ?Nick
@GutterStink It's a browser thing, so you should be able to do it.Ondrej Janacek
It is solved, there is Edit button nowToolkit

8 Answers

11
votes

The Visual Studio Monaco editing experience is currently available on a number of Azure Websites. A quick introduction and getting started can be found on Channel9:

http://channel9.msdn.com/Series/Visual-Studio-Online-Monaco

Especially the "First Steps" video walks you through the steps of setting this up:

http://channel9.msdn.com/Series/Visual-Studio-Online-Monaco/First-Steps

This is (not yet) available for non-azure website projects, but this is where things are heading without a doubt. I can't wait to get my hands on it.

4
votes

I don't think you can currently, however it used Monaco editor, which is the same editor as sky drive uses for code files. So it may be that Microsoft are planning to add this in at some point.

Edit: Turns out they are planning on adding it, at lease for azure web sites, I found this article on tech cruch: http://techcrunch.com/2013/11/13/microsofts-visual-studio-2013-launches-with-new-online-tools-for-team-and-build-management-preview-of-browser-based-code-editor/

4
votes

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.

4
votes

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

2
votes

No, visual studio online hosts your code repository in the cloud (similar to github) and provides you with a code browsing experience.

If you are referring to editing code in the cloud, see Visual studio online "Monaco", which only works on azure websites for now.

1
votes

It seems to be "POSSIBLE".

Could you check this article which I have just found, which would be something you want?
http://dotnet.dzone.com/articles/first-look-visual-studio
at its first section "Getting started".

1
votes

Here you go. Try this in MSDN Offical Site for basic programs

Microsoft Online IDE

-3
votes

One solution that I use is to create a small V/M either on Amazon AWS, Azure (or any other cloud service) and install Visual Studio on there, then RDC into the V/M. You can spin up the V/M whenever you need to or if it's on a high-availability instance, you can connect any time.

Using TFS online with this is great, as I can either work locally, in a disconnected state (traveling, etc.), check-in, then work on the cloud, and really never have to carry my laptop around.