ghlink's People
ghlink's Issues
Path must be a string
Hi @dt
I am debugging my extension and I can see this error message in the console.
Activating extension
dt.ghlink failed: Path must be a string. Received undefined.
Can make it work for GitLab as well?
GitLab has very similar structure to GitHub, could you make this work for GitLab remotes as well?
Add context awareness
Right now, the extension hasn't got any context awareness. It matches patterns regardless of where they occur and whether it makes sense.
It would be awesome if there were some settings which could restrict the links to specific contexts and languages. This file could help you if you decided to implement this feature and weren't familiar with contexts in VS Code extensions.
The settings file could look something like this:
{
"ghLink.contexts": "*",
"[javascript]": {
"ghLinks.contexts": "comments"
},
"[ruby]": {
"ghLinks.contexts": ["comments", "strings"]
}
}
Show issues in panel
Idea for a feature request.
Show a panel (treeView) which lists info for the issues linked to in the current document. Or, show info on hover with a popup.
Avoid some false positives
Not linking "#number" despite .git/config
Here is my .git/config
:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:NetdirectFR/vitrine.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
As you can see, the origin
remote is properly configured and set to a valid repository (private, could this be an issue?). However simple "#issueNumber" texts are not linked:
Is it supposed to work? Is there an issue in my config?
Add syntax to link to repositories and issues in Markdown
Hey,
Since I'd imagine that this is often used in Markdown files (like README.md), I think it would be a dandy feature to be able to import the syntax to link to the GitHub repository/issue. i.e. if you write @dt/ghlink
, you could set it to automatically (or manually) change it to [@dt/ghlink](https://github.com/dt/ghlink)
in Markdown files.
Link to repositories
It'd be really cool if you could also use this to link to a repository by using @username/repository
.
/CC @dt
Allow usage with github enterprise
Hi there,
great extension. Github Enterprise support basically would require another hostname instead of github.com
.
Would it be possible to check for github.com
and if configured another hostname or a list of hostnames?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.