Open parkerbjur opened 1 week ago
You should be able to specify a root path using the vscode extension config option smithyLsp.rootPath
. But yea it isn't well documented right now.
Really we need to have the extension look for smithy-build.json files from the working directory, though. That way you wouldn't have to specify the path yourself.
Not sure if this is already available. but there is no way to configure the extension to look for the smithy-build.json file in any other location than the root directory. This leads to the inability to have a smithy folder in a project where you place the models and the smithy-build.json file. This structure is what all of the smithy tutorials and guides recommend so I thought I was doing something wrong when it wasn't working.
I could be wrong about this, please let me know.
If this is the case, I think some documentation should be added that makes this apparent.