{"id":16805444,"url":"https://github.com/dewski/open-rails-partial-vscode-extension","last_synced_at":"2025-12-11T22:04:38.867Z","repository":{"id":171724539,"uuid":"648323529","full_name":"dewski/open-rails-partial-vscode-extension","owner":"dewski","description":"VS Code extension that supports opening Rails partials found in development from the browser.","archived":false,"fork":false,"pushed_at":"2023-06-06T00:05:51.000Z","size":97,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T16:53:50.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dewski.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T17:51:46.000Z","updated_at":"2023-06-06T00:12:35.000Z","dependencies_parsed_at":"2023-07-12T03:01:28.722Z","dependency_job_id":null,"html_url":"https://github.com/dewski/open-rails-partial-vscode-extension","commit_stats":null,"previous_names":["dewski/rails-open-partial-vscode-extension"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewski%2Fopen-rails-partial-vscode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewski%2Fopen-rails-partial-vscode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewski%2Fopen-rails-partial-vscode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewski%2Fopen-rails-partial-vscode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dewski","download_url":"https://codeload.github.com/dewski/open-rails-partial-vscode-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243996900,"owners_count":20380978,"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":[],"created_at":"2024-10-13T09:48:14.769Z","updated_at":"2025-12-11T22:04:33.579Z","avatar_url":"https://github.com/dewski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Rails Partial VS Code Extension\n\n`dewski.open-rails-partial` allows you to open Rails partials directly from your browser using the [Open Rails Partial](https://github.com/dewski/open-rails-partial-chrome-extension) Chrome Extension.\n\n## Known Issues\n\nThis extension works by checking to see if a filepath exists in any of the workspaces you have open in the current window. When the Chrome extension activates this VS Code extension using the `vscode://dewski.open-rails-partial/partial` URL, it will open the file in the first workspace that matches the filepath.\n\nIf the file is not found in any of the workspaces of the last open window, it will return an error requiring you to bring focus to the window that has the workspace for the Rails project you are opening a partial for.\n\n## Why is this extension necessary?\n\nAs Rails only includes the partial path relative to the root of the Rails project, we do not have access to the absolute path of the file. The built-in `vscode://file/path/to/file` URL scheme requires the absolute path of the file to open it in VS Code.\n\nAdditionally, projects in remote workspaces such as Codespaces are not supported by the built-in `vscode://file/path/to/file` URL scheme.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewski%2Fopen-rails-partial-vscode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdewski%2Fopen-rails-partial-vscode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewski%2Fopen-rails-partial-vscode-extension/lists"}