Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seperate index root from project root #459

Closed
TitanNano opened this issue Dec 17, 2018 · 3 comments
Closed

seperate index root from project root #459

TitanNano opened this issue Dec 17, 2018 · 3 comments

Comments

@TitanNano
Copy link

TitanNano commented Dec 17, 2018

I have a couple of projects which are extensions to existing applications, e.g. Shopware, WordPress etc. In order for these to work properly I currently have to set the project root to the root of the parent application so all the relevant files get indexed. Unfortunately this breaks other atom extensions which require the project root to be the actual root directory of the project, so they pick up the right config file. These extensions are eslint, sasslint, atom-tern and more.

Would it be possible to create an "index root" setting for projects so Serenata knows about all the files, but we can set the right project folder in atom?

@Gert-dev
Copy link
Owner

It should be possible and only require adding a configuration option to the new config file (in 5.0), which will then be indexed instead of the project root.

I've created a ticket for this on the server here. I'll still leave this open here, since this package will generate a default configuration file for you that should also include this new directive.

@Gert-dev
Copy link
Owner

Just wanted to note that this is going to be supported in the next major version that uses Serenata 5.0 (see also #460). The project path will only be used as a fallback if no explicit project configuration is provided.

One or more URIs can be configured in the project settings as documented here in Serenata 5.

@Gert-dev
Copy link
Owner

I've released v5.0, closing this. Feel free to create new tickets for bugs.

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

No branches or pull requests

2 participants