Code Monkey home page Code Monkey logo

kishikawakatsumi / sourcekitforsafari Goto Github PK

View Code? Open in Web Editor NEW
690.0 11.0 23.0 1.67 MB

SourceKit for Safari is a Safari extension for GitHub, that enables Xcode features like go to definition, find references, or documentation on hover.

Home Page: https://chrome.google.com/webstore/detail/sourcekit-for-chrome/ndfileljkldjnflefdckeiaedelndafe

License: MIT License

Objective-C 0.20% Swift 2.32% CSS 0.65% JavaScript 95.42% HTML 1.15% TypeScript 0.27%
sourcekit-lsp safari-extension chrome-extension

sourcekitforsafari's Issues

macOS 10.14.6 can not open it

My System Operation version is 10.14.6 on iMac. so i can not open it.
Although I can update MacOS, I think you should Compatible with lower versions

[Feature] Add an option to opt-in to avoid useless cloning

Haven't tried to project yet (still waiting to download Xcode 11.4) but looks promising!

Reading the README I saw that the plugin would clone every GH repo you visit.

I think it would be nice to instead provide an opt-in option, so that it avoids cloning every single repo you visit – including the ones that you don't intend to navigate into (like if you quickly opened a link you saw on Twitter to a repo, to see what it's for but realise the project is not for you; of if you just went to a repo to read the README of a lib that you intend to use but never intend to work on and won't need GH navigation for it)

Can't get Chrome extension to work?

I've followed the instructions to the letter, but haven't been able to get it to work with Chrome, works fine for public repos on Safari. So the LSP server is running, and I have the helper application running, with the window visible and with the window closed. Would be great if the helper application was a menu bar app that could run in background and lunch on startup too.

Submit to Chrome Web Store

Loading an unpacked extension is a less-than-ideal way to install them, because it breaks if you move the extension on-disk. Currently, you cannot even install manually packed extensions.

Please submit this to the Chrome Web Store so we can use it on Chrome :)

Doesn't seem to work for private repos?

Haven't been able to get it to work with private repos, checked the ~/Library/Group Containers/27AEDK3C9F.com.kishikawakatsumi.SourceKitForSafari/ path and there is no cloned copy of the private repo. Can't see any logs either, so not sure where to look.

I'm using SSH authentication and [email protected]/repo URLs when cloning manually.

Doesn't seem to work with codes that have an available attribute?

I use version 0.6.2, the Symbol Navigator feature works, but Definition and Documentation are not displayed with the mouse hover.

I was randomly browsing Swift projects displayed in GitHub Explore, I found that the available attribute in the code doesn't work features except for Symbol Navigator.

Is this one of the possible causes?

Environment:

  • Version 0.6.2
  • Safari 13.1 (15609.1.20.111.8)
  • Xcode 11.4.1 (11E503a)
  • macOS Catalina 10.15.4 (19E287)

バージョン 0.6.2 を使っていて Symbol Navigator は動作するものの、Definition や Documentation がマウスホバーで表示されない問題がありました。

その後、GitHub Explore に表示された Swift のプロジェクトをランダムに閲覧していたところ、コード内に available アトリビュートが存在するもので Symbol Navigator 以外が動作しないということを発見しました。

これは原因の一つとして考えられるでしょうか?

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.