System Info: Ubuntu :20.04
I am trying to get VSCode HLS extension working for plutus based project but seeing below error in output.
Failed to get project GHC version: no cradle
[Info - 3:27:24 p.m.] Connection to server got closed. Server will restart.
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.7.0.0 x86_64 ghc-9.2.2
Current directory: /home/skb/dev/emurgoProject
Operating system: linux
Arguments: ["--lsp"]
Cradle directory: /home/skb/dev/emurgoProject
Cradle type: Stack
Tool versions found on the $PATH
cabal: 3.6.2.0
stack: 2.7.5
ghc: 8.10.7```
I have nix shell evnironment via this repo: https://github.com/input-output-hk/plutus-apps
Below is what am doing:
1. Run **nix-shell** from root folder of plutus-apps repo.
2. cd (change dir) to my plutus project folder which I created based on: https://github.com/input-output-hk/plutus-starter
3. code . to open the vscode
Side note: HLS work for non plutus projects in my machine (when I am not running nix-shell).