You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[HLS project configuration guidelines](../configuration.md#configuring-your-project-build) also apply to the HLS project itself.
116
+
Project source code should load without `hie.yaml` setup.
117
+
118
+
In other cases:
119
+
120
+
1. Check if `hie.yaml` (& `hie.yml`) files left from previous configurations.
121
+
122
+
2. If the main project needs special configuration, note that other internal subprojects probably also would need configuration.
123
+
124
+
To create an explicit configuration for all projects - use [implicit-hie](https://github.com/Avi-D-coder/implicit-hie) generator directly:
125
+
126
+
```shell
127
+
gen-hie > hie.yaml # into the main HLS directory
128
+
```
129
+
130
+
that configuration should help.
131
+
132
+
3. Inspect & tune configuration explicitly.
133
+
134
+
[Configuring project build](../configuration.md#configuring-your-project-build) applies to HLS project source code loading just as to any other.
135
+
136
+
Note: HLS may implicitly detect codebase as a Stack project (see [hie-bios implicit configuration documentation](https://github.com/haskell/hie-bios/blob/master/README.md#implicit-configuration)). To use Cabal, try creating an `hie.yaml` file:
117
137
118
-
Note: HLS implicitly detects HLS codebase as a Stack project (see [hie-bios implicit configuration documentation](https://github.com/haskell/hie-bios/blob/master/README.md#implicit-configuration)).
119
-
If you want HLS to use Cabal, you need to create an `hie.yaml` file:
120
138
```yaml
121
139
cradle:
122
140
cabal:
123
141
```
124
142
125
-
Also note that the `install/` subdirectory is a different project, so if you want to work on this part of the code, you may also have to create an `install/hie.yaml` file.
126
-
127
143
### Manually testing your hacked HLS
128
144
If you want to test HLS while hacking on it, follow the steps below.
0 commit comments