reasonml-idea-plugin icon indicating copy to clipboard operation
reasonml-idea-plugin copied to clipboard

Wrong modules resolution

Open Coobaha opened this issue 6 years ago • 2 comments

plugin version: 0.79

Description

If node_modules contains both packages with similar modules, latest is picked. This is very annoying for stdlib of bucklescript.

node_modules
├── bs-platform
├── bsb-native

Maybe it should be more aware of bsb that is used for compilation in such case?

As a workaround i marked bsb-native as excluded

Coobaha avatar Sep 13 '19 11:09 Coobaha

more info ? If you have both bs web and bs native, how the choice can be made ?

giraud avatar Sep 13 '19 11:09 giraud

I have both bs web and bs native. In such case at least from location of bsb file. In more general case it should be done from .merlin for example, or other compilation info

Coobaha avatar Sep 13 '19 11:09 Coobaha