Coder Social home page Coder Social logo

Comments (3)

Sertion avatar Sertion commented on June 25, 2024 1

Hello Aurélien!

Thank you for the very detailed feature request.

Right now the "guess" options is perhaps a bit of a misnomer as it only does some static replacements on the git origin URI and hopes that it is the right URL.

A while back we added an option that will change "commit" to "commits" in the guessed URL if it finds any of the configured sub-strings in the origin.

If it is possible to make a change of similar size I would love to add it. For example I could add a token for getting the nth URL component from the git origin (e.g. ${domain-part,2} when the domain is [email protected] would be com). Would an addition like that be a solution?

from vscode-gitblame.

Sertion avatar Sertion commented on June 25, 2024 1

Thank you for the input nitzel!

The relative path for the file is not readily available already and is therefore a lot more work to add. I will however add ${gitorigin.hostname,n} in an upcoming release.

from vscode-gitblame.

nitzel avatar nitzel commented on June 25, 2024

I'd love to see such a feature for ${project.remote, nth} so that one could use your plugin with the folder/project structure of bitbucket. Also, the relative file path of the change could be used to directly open the corresponding file:
https://server/projects/${project.remote, 1}/repos/${project.name}/commits/${hash}#${relativefilepath}

from vscode-gitblame.

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.