-
Notifications
You must be signed in to change notification settings - Fork 95
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
Support for specifying the configuration file manually #739
Comments
@robag-agrav hi! Could you please elaborate on why the configuration for VSCode doesn't work with the IntelliJ plugin? What are the differences? The intent in the recent updates was to unify the configuration process as much as possible, and now it supports the graphql-config, which is also used by other plugins. |
@vepanimas hi, Sorry for the late response. So we decided no to touch it, potentially making it worse for a hundred people. In general I do think it is a bad idea to define an interface and expect that every project follow it to the letter. Too much complexity, too many usecases. On the webstorm part, About your question, here is the config that somewhat works for vscode:
config for frontend
With this config in Webstorm no syntax highlighting, no go to definition, no autocomplete. But making a new one with the yml format was really easy, and worked first time. And nothing is working in vscode. |
@robag-agrav |
yeah... first I accidentally left the leading To be honest, it just not worth the time to experiment different file names, and small nuances. Thanks for the conversation tho.. |
@robag-agrav I'm sorry to hear that. I can't say I fully grasp the issue here, it's probably related to how the configuration is set up in your project or the project structure itself. I've fixed many issues and implemented features to unify the experience across different IDEs as much as possible, and overall, it works well. The path to a custom config is a tricky feature since the paths in the config file are resolved relative to the config file's location. Usually, it's expected to be in the project root or the root of a sub-project in monorepos. If you have time in the future to create a minimal repo to reproduce the issue, I'd be happy to check it and fix the problem. |
We have a quite large application with quite a lot developers working on it. Majority is using VSCode. The configuration file for VSCode is not working in Websotorm and vica versa.
For us the easy solution would be to provide a way to set the configuration file manually, so we could have separate one for VSCode and for Webstorm.
Something like eslint has:
Thanks in advance for your consideration
The text was updated successfully, but these errors were encountered: