Coder Social home page Coder Social logo

open-in-vscode's Introduction

Hi there, great to see you!

I'm Dom. Check out my resume to find out more about me.

open-in-vscode's People

Contributors

aberonni avatar chapmanc avatar leozzx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

open-in-vscode's Issues

Upgrade to manifest V3

In January 2023 Manifest v2 will stop working. This extension needs to be migrated before then to continue working.

There is an attempt in a branch (manifest-v3) but it doesn't work as well as the v2 version. Namely, chrome.windows.create doesn't seem to work as well as window.open because it adds an extra prompt before opening VSCode. It seems that this happens because Chrome does not ask "always allow extension to open these kinds of links?" without window.open.

Open in VSCode from current tab's URL?

As I understand it, currently, in order to use this extension there has to be an anchor tag on the current page pointing to a Github URL.

I wish that I could open the current page's URL as a file in VSCode by simply clicking the extension!

This could use the activeTab permissions -- which appears to have been designed for this exact use case!

https://developer.chrome.com/docs/extensions/mv3/manifest/activeTab/#motivation

The activeTab permission gives an extension temporary access to the currently active tab when the user invokes the extension - for example by clicking its action. Access to the tab lasts while the user is on that page, and is revoked when the user navigates away or closes the tab.

...

Motivation

Consider a web clipping extension that has a action and context menu item. This extension may only really need to access tabs when its browser action is clicked, or when its context menu item is executed.

Without activeTab, this extension would need to request full, persistent access to every web site, just so that it could do its work if it happened to be called upon by the user. This is a lot of power to entrust to such a simple extension. And if the extension is ever compromised, the attacker gets access to everything the extension had.

In contrast, an extension with the activeTab permission only obtains access to a tab in response to an explicit user gesture. If the extension is compromised the attacker would need to wait for the user to invoke the extension before obtaining access. And that access only lasts until the tab is navigated or is closed.

Can’t open links from GitLab if they contain a dash

Heya, thanks for this extension!

I’m trying to open some files on GitLab and it doesn’t fully work. Here’s an example:

If I try to open that file with the extension, I’m getting this error in VS Code:

Path does not exist
The path '~/dev/-/README.md:0:1' does not exist on this computer.

My base path is defined as '/Users/sebastian/dev' (I also tried with a trailing slash: '/Users/sebastian/dev/'). The problem seems to be that the repo name isn’t picked up and a dash is used instead (~/dev/- instead of ~/dev/SwiftWebVC).

Not working with linux[Ubuntu]

I tried to open a .md file from github. But it fails to create a directory and store that file locally. So, I get an error that "Path does not exist".

Support ssh remote file

When the dev setup is in remote through SSH, open in vscode doesn't work, it shows file path not exists.

Cannot open projects on windows

Cannot open projects on Windows when I setted a directory. It does not appear to have been downloaded locally. Is the path format wrong?
image
image

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.