lmichelin / open-github-links-in-ide Goto Github PK
View Code? Open in Web Editor NEWBrowser extension allowing to open files in your IDE directly from GitHub, available for Chrome and Firefox.
Browser extension allowing to open files in your IDE directly from GitHub, available for Chrome and Firefox.
To repro:
Reloading is required whenever a page is navigated to that should show the icon.
I've already added a personal github token as well.
Mac OS X v 12.4
Chrome Version 103.0.5060.114 (Official Build) (x86_64)
I was trying to figure out how do you find those application schema like "idea://open?file="
And I tried to find the corresponding one for android studio, how could I do that?
Seems like the icons no longer show on the discussion page for review comments/suggestions. Seems the title
attribute is no longer on the <a>
element. There also doesn't seem to be any way to know the full path of the file without this. GitHub will sometimes truncate the innerText
by applying an ellipsis (...) at the start of the file name if it's too long.
I am often viewing my local repositories created in a different location than the one I use to clone github repositories, would it be possible to create some way of defining a second local path for that repository or defining specific paths for a particular repository?
Hey @lmichelin, THANK you for an addition like this because the "open" in Visual Studio button has given me issues for such a long time.
However, with every attempt to open a file / folder in VSCode was met with the same error. As an example, I cloned, unzipped your directory, and then moved it all around including taking it to the "home" part of my C: drive - ~\users<user> - while still trying to open it with your open-in-ide function...is there something I am missing?
Regardless, merry Christmas and thanks again!
When viewing a file instead of in a PR show the icons for both the file and lines.
i.e. https://github.com/lmichelin/open-github-links-in-ide/blob/master/src/inject.ts
Don't recall if this was working before Github's somewhat recent UI updates or not. This would be very useful when people share links to code in Github code that you can then open it locally just like you would in a PR.
Github Enterprise servers generally use the format github.*.com . If this can be added to the site access list in the plugin then it should work the same as in public Github. This would be very helpful if it could be added.
Currently, opening files using JetBrains built-in web server does not work on Firefox.
As suggested in #20, I tried to add a permission for *://localhost/*
in manifest.json, but although the request is sent to the editor, it's still not working.
JetBrains shows this warning message and nothing happens after clicking on 'Yes':
With Chrome, the message is slightly different (host is recognized as github.com) and it works after clicking on 'Yes':
OS: macOS Big Sur11.2.3
Navigator: Chrome 89.0.4389.90
IDE: WebStorm 2020.3.3
The syntax webstorm://open?file=/absolute/path/to_file.html:10
doesn't work.
On the other hand the syntax webstorm://open?file=/absolute/path/to_file&line=10
works fine ๐
Hi,
I love this Chrome extension with so many of my favorite IDEs!
A quick question to Clion support in Chrome. When I select "IntelliJ IDEA", it works well to open the local file in my IntelliJ. But when switching to "Clion", the Chrome debug console reported the following error messages, any ideas?
Failed to launch 'clion://open?file=...' because the scheme does not have a registered handler.
I'm pretty sure the Local path where GitHub repositories is well set, and the local file to open exists.
OS: MacOS 12.6.1
Chip: Apple M1 Max
Chrome version: 108.0.5359.98
IDE version (Clion/IntelliJ): 2022.3
Would it be possible to support GitHub Enterprise installations?
Thanks!
It would be great if there's an option to clone and open repos. This project does that, but this one is a lot better, well maintained and has more features already. I've filed some feature request there, but it's difficult to get things moving.
I can try to implement this, but this is a significant change, so it requires your input first (PS: it'd be great if you can do this)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.