{"id":25161222,"url":"https://github.com/nerdslabs/launcheditor","last_synced_at":"2025-04-03T13:21:23.740Z","repository":{"id":57515289,"uuid":"156533705","full_name":"nerdslabs/launcheditor","owner":"nerdslabs","description":"Open file in editor from Elixir","archived":false,"fork":false,"pushed_at":"2018-12-02T07:10:43.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T09:47:57.906Z","etag":null,"topics":["editor","elixir","launch"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdslabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-07T11:04:16.000Z","updated_at":"2024-08-10T05:11:27.000Z","dependencies_parsed_at":"2022-08-30T01:42:04.791Z","dependency_job_id":null,"html_url":"https://github.com/nerdslabs/launcheditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdslabs%2Flauncheditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdslabs%2Flauncheditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdslabs%2Flauncheditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdslabs%2Flauncheditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdslabs","download_url":"https://codeload.github.com/nerdslabs/launcheditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247006667,"owners_count":20868033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","elixir","launch"],"created_at":"2025-02-09T02:18:48.572Z","updated_at":"2025-04-03T13:21:23.723Z","avatar_url":"https://github.com/nerdslabs.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaunchEditor\n\n[![Travis](https://img.shields.io/travis/nerdslabs/launcheditor.svg)](https://travis-ci.org/nerdslabs/launcheditor) [![Hex](https://img.shields.io/hexpm/v/launcheditor.svg)](https://hex.pm/packages/launcheditor) [![Downloads](https://img.shields.io/hexpm/dt/launcheditor.svg)](https://hex.pm/packages/launcheditor)\n\n**Open file in current working editor from Elixir.**\n\n### Installation:\n\n```elixir\ndef deps do\n  [{:launcheditor, \"~\u003e 0.1.0\"}]\nend\n```\n\n### Basic usage\n\n```elixir\nLaunchEditor.run(\"lib/some_file.ex\", 10)\n```\n\n### Plug supported\n\nAdd `LaunchEditor.Plug` to your application. If assets path is other than root `/` like in Phoenix Framework you can change it by passing option `assets_root`.\n\n```elixir\nplug LaunchEditor.Plug, assets_root: \"assets/\"\n```\n\nTo open file from browser you can send request:\n\n```\n/__open-in-editor?file=src/main.js\n```\n\nYou can use it with `Plug.Debugger`:\n\n```\nPLUG_EDITOR=/__open-in-editor?file=__FILE__\u0026line=__LINE__ iex -S mix phx.server\n```\n\n### Supported editors\n\n✓ - tested | • - supported\n\n| Value           | Editor                                                                 | Linux | Windows | OSX |\n| --------------- | ---------------------------------------------------------------------- | :---: | :-----: | :-: |\n| `appcode`       | [AppCode](https://www.jetbrains.com/objc/)                             |       |         |  •  |\n| `atom`          | [Atom](https://atom.io/)                                               |   •   |    ✓    |  •  |\n| `atom-beta`     | [Atom Beta](https://atom.io/beta)                                      |       |         |  •  |\n| `brackets`      | [Brackets](http://brackets.io/)                                        |   •   |    ✓    |  •  |\n| `clion`         | [Clion](https://www.jetbrains.com/clion/)                              |       |    •    |  •  |\n| `code`          | [Visual Studio Code](https://code.visualstudio.com/)                   |   •   |    •    |  ✓  |\n| `code-insiders` | [Visual Studio Code Insiders](https://code.visualstudio.com/insiders/) |   •   |    •    |  •  |\n| `idea`          | [IDEA](https://www.jetbrains.com/idea/)                                |   •   |    •    |  •  |\n| `notepad++`     | [Notepad++](https://notepad-plus-plus.org/download/v7.5.4.html)        |       |    ✓    |     |\n| `pycharm`       | [PyCharm](https://www.jetbrains.com/pycharm/)                          |   •   |    •    |  •  |\n| `phpstorm`      | [PhpStorm](https://www.jetbrains.com/phpstorm/)                        |   •   |    •    |  •  |\n| `rubymine`      | [RubyMine](https://www.jetbrains.com/ruby/)                            |   •   |    •    |  •  |\n| `sublime`       | [Sublime Text](https://www.sublimetext.com/)                           |   •   |    ✓    |  •  |\n| `visualstudio`  | [Visual Studio](https://www.visualstudio.com/vs/)                      |       |         |  •  |\n| `webstorm`      | [WebStorm](https://www.jetbrains.com/webstorm/)                        |   •   |    •    |  •  |\n\n**Please [create issue](https://github.com/nerdslabs/launcheditor/issues/new?template=editor-report.md) with results of using supported but not tested editor.**\n\n### TODO:\n\n- Support of open file with specific line\n- Support of terminal editors\n- Test all editors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdslabs%2Flauncheditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdslabs%2Flauncheditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdslabs%2Flauncheditor/lists"}