Skip to content

Allow run file specs to work with nested apps#38

Open
nathanKramer wants to merge 1 commit intonoku:masterfrom
nathanKramer:patch-1
Open

Allow run file specs to work with nested apps#38
nathanKramer wants to merge 1 commit intonoku:masterfrom
nathanKramer:patch-1

Conversation

@nathanKramer
Copy link
Copy Markdown

@nathanKramer nathanKramer commented Mar 12, 2021

This allows VS Code projects with multiple app directories (e.g rails engines etc), or rails apps that are not at the root of the project, to work.
It introduces the assumption that the rails root is called "app", and that this may not be the first entry in the path.

For example:

core/app/...
core/spec/...
microservice_A/app/...
microservice_A/spec/...

This allows large projects with multiple `app` directories (e.g rails engines etc) to work.
It introduces the assumption that the rails root is called "app", and that this may not be the first entry in the path.
@rpellerin
Copy link
Copy Markdown

Would love to see this merged! It's very useful for Rails engines.

@nialbima
Copy link
Copy Markdown

I'm going to fork and publish this patch, because I use this shortcut constantly and need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants