Git Product home page Git Product logo

chdsbd / vscode-githubinator Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 7.0 1.09 MB

:honeybee: VSCode plugin to quickly open files on Github and other providers. View Git blame information, copy permalinks and more.

Home Page: https://marketplace.visualstudio.com/items?itemName=chdsbd.githubinator#overview

License: GNU General Public License v3.0

TypeScript 99.26% Makefile 0.74%
vscode vscode-extension

vscode-githubinator's People

Contributors

cdignam-segment avatar chdsbd avatar cvx avatar far0n avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-githubinator's Issues

properly escape urls

https://github.com/sublimehq/Packages/blob/master/C#/C#.sublime-syntax should be https://github.com/sublimehq/Packages/blob/master/C%23/C%23.sublime-syntax

test#? .,<>@!#$%^^&*()_+=":;?.,~`"'[{]}\|
=> 
test%23%3F%20.%2C%3C%3E%40!%23%24%25%5E%5E%26*()_%2B%3D%22:%3B%3F.%2C%7E%60%22'%5B%7B%5D%7D%5C%7C

related: ehamiter/GitHubinator#53

EDIT: I wanted to use vscode.Uri everywhere to fix this, but it seems that calling with({query: ...}) incorrectly applies encodeURIComponent on the string, which breaks the Gitlab provider for opening a URI. This issue could be fixed, but it's kind of a pain I don't think I'll touch it until I personally run into this issue.

Feature request: inverse operation, start with a GitHub URL which contains hash line number(s), and open the file in VSCode at the designated line / code selection

Hello, great extension, thank you!
Very useful for code peer reviews over Slack / instant messaging, to exchange URLs whilst working locally from VSCode.
However the inverse functionality would be very useful too.

For example I would like to be able to copy such URL: https://github.com/chdsbd/vscode-githubinator/blob/57cbb22276fddb62f83e2926199a42bedacdaf8d/src/test/index.ts#L13-L15

import * as testRunner from "vscode/lib/testrunner"
// You can directly control Mocha options by configuring the test runner below

...and to show src/test/index.ts in VSCode with the code selection line 13-15 (extracted from the URL #L13-L15).

Any thoughts?

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.