Giter Site home page Giter Site logo

Comments (5)

vladfrangu avatar vladfrangu commented on July 17, 2024 3

Linking seems rather pointless since (from what I know anyways), RPC doesn't have hyperlinks and showing that long URL won't be that good.

As for showing the repository name... Sure? I don't know if it'll be feasible, since you can get the current workspace name, but it is probably doable

from discord-vscode.

EnriqCG avatar EnriqCG commented on July 17, 2024 2

Yep, you can get the repository name through .git files.

In the file .git/config in section [remote "origin"] the repository url is provided.

.git/config image

There is extra information such as what branches are available. (not sure how to get current branch info although that would be nice).

from discord-vscode.

EnriqCG avatar EnriqCG commented on July 17, 2024

Might as well include the link to the corresponding git repository.

from discord-vscode.

angelsenra avatar angelsenra commented on July 17, 2024

I think that some of us have multiple git projects in the same workspace and it would be cool to have the option to show which one are we working in.

from discord-vscode.

vladfrangu avatar vladfrangu commented on July 17, 2024

Back again, bringing some... news? Anyways:

vscode considers workspaces the root folder that hosts your files. (If my project folder is named Creative Name, the workspace name is Creative Name (also current behaviour of {workspace})).

Now... That bases off the root folder name. While your repository might have another name, I really don't know at this point in time if we can get your repository name from any .git/ files. (if you know, let us know!)

But hey, never gonna give up!

from discord-vscode.

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.