Giter Club home page Giter Club logo

Comments (5)

leantk avatar leantk commented on May 18, 2024

Hi Erik,

Thanks for reaching out to us. When currently create your workspace, we name it after the directory name you chose which in this case is CC. TFVC does not allow you to create workspaces with the same name even if they are on different machines. Our error message is incorrect in stating that the existing workspace is on the current machine. To accommodate for the naming issue, we should allow you to customize the workspace name at creation instead of enforcing you use the directory name. I will add this to our backlog as an action item. I also will fix the incorrect error message text.

What you can do if you want to create that workspace again your primary machine is go Android Studio on your secondary machine and in the menu bar go to VCS -> TFVC (Preview) -> Edit Workspace. In that dialog you can change the workspace name to whatever you would like (i.e. CC-PC240W7). That will allow you to recreate the workspace on your primary machine using CC as the workspace name.

Let me know if you have any further questions and/or suggestions for us,
-Leah

from azure-devops-intellij.

erikhubers avatar erikhubers commented on May 18, 2024

Hey leantk,

Thanks for your quick response and clear explanation of the origin of this limitation. Your workaround worked perfectly. It's a pretty good workaround for now.

Since we're on the topic of creating workspaces using Android Studio I would like to suggest another small feature. When creating a workspace in Visual Studio and adding the first mapping you get the following dialog when confirming the changes.

image

This is a pretty convenient dialog when you're creating a mapping of a very big team project with lots of branches. By pressing no, this allows you browse through the branches in the mapped team project using the source explorer and just to a 'Get-Latest' of the branch you're interested in. Maybe something like this can be implemented when creating a workspace with Android Studio as well? The workaround I'm using now to circumvent retrieving all branches when creating the workspace with Android Studio is the following:

  • Checking the "Edit the workspace before getting sources" box
  • Append the mapping with "/*" so it doesn't do a recursive mapping.
  • Let Android Studio create the workspace.
  • Go to Visual Studio, edit the workspace, remove the */ from the mapping (pressing no when the above dialog shows up).
  • Get-Latest of the branch I'm interested in
  • And Bob's your uncle :)

This is a pretty big workaround, but it works. Another great option could be the ability to use an existing local workspace created by Visual Studio.

I hope I don't come across as demanding by creating several "issues". I'm just trying to supply you with some feedback :)

from azure-devops-intellij.

leantk avatar leantk commented on May 18, 2024

Hi Erik,

Thanks for that feedback! You aren't being demanding at all. We want to hear what the users want so we can make a better plugin for you so please keep the suggestions/comments/bugs coming. I was unaware of that feature in Visual Studio so I will take a closer look at it and add it as a feature request on our backlog. I'll keep this issue open as an enhancement so you can track it on your end.

Thanks again,
-Leah

from azure-devops-intellij.

dmytro-i avatar dmytro-i commented on May 18, 2024

Hi Leah,

I'd like to upvote this one. If would be great to have workspace creation experience similar to what we have in Visual Studio where you can edit the name of the workspace before you create it. Or at least append machine name or random number when generating the name.

from azure-devops-intellij.

leantk avatar leantk commented on May 18, 2024

Thanks @dmytro-ielkin for letting us know! It's still on the backlog but with votes like yours it moves up in priority.

from azure-devops-intellij.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.