smithy-lang / smithy-vscode

A Visual Studio Code extension to provide syntax highlighting for the Smithy IDL.
https://marketplace.visualstudio.com/items?itemName=smithy.smithy-vscode-extension
Apache License 2.0
37 stars 14 forks source link

Generates useless .smithy.lsp.log files in all folders in the workspace #80

Closed mcmasn-amzn closed 1 year ago

mcmasn-amzn commented 1 year ago

I have found that in projects where I have many folders, if a single .smithy file exists, all workspace folders end up with a .smithy.lsp.log file in the root.

It's not a major problem to include .smithy.lsp.log in my .gitignore, but it seems like this file is mostly useless. Could this file be generated somewhere else like a temp folder, or suppressed unless users are trying to debug the Smithy extension?

srchase commented 1 year ago

I agree. I've cut an issue to the Smithy Language Server to make this opt-in: https://github.com/smithy-lang/smithy-language-server/issues/123.

I'll leave this issue open here to make sure the extension gets updated with support setting the appropriate configuration when starting the Language Server.

mcmasn-amzn commented 1 year ago

Thanks!