Dafny-VSCode icon indicating copy to clipboard operation
Dafny-VSCode copied to clipboard

More informative warning in case a file, and not a workspace is opened.

Open fmehta opened this issue 7 years ago • 1 comments

Hello,

Currently, a user who opens a single file, and not a workspace gets the following warning:

"Warn: Please use a workspace (File - Open Folder). Otherwise some features aren't working properly"

Please modify this warning to be more informative. E.g.:

"Warn: Open a workspace (File - Open Folder) instead of single files in order to XXX. More details can be found in XXX"

Thanks, Farhad

fmehta avatar Aug 08 '17 14:08 fmehta

It would also be nice if, instead of the error message, a graceful feature reduction could happen.

Important Lines: https://github.com/DafnyVSCode/Dafny-VSCode/blob/b8b75aff327cad0884d2a19fa844b7702e1a5f4f/server/src/server.ts#L34

fabianhauser avatar Jan 10 '19 10:01 fabianhauser