Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

open files with atom:// handler #2037

Closed

Description

@matreyes

It should open an html handler like:
The handler opens atom, but doesn't works with params.
atom://open?url=file://Users/myuser/myapp/myfile.rb&line=32&column=12

it would be very useful for rails_panel !

Activity

  1. thedaniel commented on May 7, 2014

    @thedaniel
    Contributor

    #1189 is related as well.

  2. probablycorey commented on May 9, 2014

    @probablycorey

    This doesn't work, but it is supposed to work with this url atom:///Users/corey/github/atom/README.md:3:5 so the line and column params aren't needed.

    This is the line where the magic is supposed to happen.

  3. matreyes commented on May 9, 2014

    @matreyes
    Author

    Well if it's that line, it should call openPath instead openUrl.
    Maybe it should parse the url to check if it is http:// or atom:// ?

  4. jaredmoody commented on Jan 3, 2015

    @jaredmoody

    +1

  5. changed the title [-]atom:// handler[/-] [+]open files with atom:// handler[/+] on Jan 26, 2015
  6. jmuheim commented on Jan 30, 2015

    @jmuheim

    👍 This is the only thing keeping me from abandoning TextMate2 in favour of Atom at the moment.

  7. martinratinaud commented on Apr 15, 2015

    @martinratinaud

    agreed

  8. lifeiscontent commented on Aug 10, 2015

    @lifeiscontent

    @izuzak any updates on this?

  9. izuzak commented on Aug 11, 2015

    @izuzak
    Contributor

    @izuzak any updates on this?

    @lifeiscontent I think @thedaniel has been making some progress in this area, see for example atom/welcome#38 and atom/settings-view#614.

  10. lifeiscontent commented on Aug 11, 2015

    @lifeiscontent

    @izuzak thanks! 👍

  11. EloB commented on Feb 3, 2016

    @EloB

    +1

  12. shanept commented on Mar 17, 2017

    @shanept

    +1

  13. WizardOfOgz commented on Mar 22, 2017

    @WizardOfOgz

    I would also like to see this feature built into Atom directly. Until that happens, and if you are on OSX, you can use this project I started which will open links with the atm:// protocol in Atom. https://github.com/WizardOfOgz/atom-handler

  14. shanept commented on Mar 23, 2017

    @shanept

    Interesting, WizardOfOzg - I'm working on a plugin to give us an atm:// handler too

  15. jmatsushita commented on Sep 19, 2017

    @jmatsushita

    Apart from @WizardOfOgz OSX handler there is also a Linux based handler (which I haven't tested) https://github.com/eclemens/atom-url-handler

  16. UziTech commented on Oct 18, 2017

    @UziTech
    Contributor

    Looks like they just merged the pull request for this 🎉 #11399

    Hopefully out soon!!

  17. pabloab commented on Apr 8, 2018

    @pabloab

    Going to Atom home page and clic on atom://settings-view/show-package?package=teletype don't do anything on my Ubuntu 16.04 LTS. So I do this:

    • Edit /usr/share/applications/atom.desktop
    • Append x-scheme-handler/atom; to line starting MimeType=text/plain;
    • Register the protocol: xdg-mime default atom.desktop x-scheme-handler/atom

    Now browser runs atom but just open a new file. With xdg-open on CLI: Client failed to connect to the D-BUS daemon: and Failed to connect to socket /tmp/dbus-2i6A77jamf: Connection refused. I'm missing something or should file a new bug...?

    Atom : 1.23.3
    Electron: 1.6.15
    Chrome : 56.0.2924.87
    Node : 7.4.0

  18. Arcanemagus commented on Apr 8, 2018

    @Arcanemagus
    Contributor

    Please update to a current version of Atom @pabloab, if you are still having issues after doing that please file a new issue, thanks!

  19. pabloab commented on Apr 8, 2018

    @pabloab

    Just installed last version from .deb package, now:
    Atom : 1.25.1
    Electron: 1.7.11
    Chrome : 58.0.3029.110
    Node : 7.9.0
    Same things happen, but atom "atom://settings-view/show-package?package=teletype" works (of course almost nobody visiting atom.io would do this). Maybe I did something wrong registering MIME type / URL scheme atom: on my system.

  20. shanept commented on May 29, 2018

    @shanept

    @pabloab Last I saw, they don't register the mime time with the OS - absurd as it is very simple to do.

  21. UziTech commented on May 29, 2018

    @UziTech
    Contributor

    @shanept A PR would be much appreciated

  22. lock commented on Nov 25, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  23. locked as resolved and limited conversation to collaborators on Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions