Open Rails Partial VS Code Extension
This 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
If 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.
Why is this extension necessary?
As 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
Additionally, projects in remote workspaces such as Codespaces are not supported by the built-in