Nancy.ReSharper icon indicating copy to clipboard operation
Nancy.ReSharper copied to clipboard

Add ReSharper JavaScript support for non-web projects

Open devuxer opened this issue 11 years ago • 2 comments

Enhancement request: please add ReSharper JavaScript support non-web projects, such as "Nancy Application with Self-Hosting" projects.

While editing a JavaScript file in a Nancy Application with Self-Hosting (essentially a console application with the appropriate Nancy NuGet packages applied), I noticed that the intellisense was missing several items and ReSharper was producing inspection warnings that it normally wouldn't.

I asked about this on StackOverflow, and @citizenmatt explained that ReSharper adds several JavaScript files (such as DHtml.js) to its cache for web projects only but that a ReSharper plug-in such as this one could be used to add the necessary files.

devuxer avatar Jan 13 '14 23:01 devuxer

Thanks for the report! This certainly is interesting... Are there scenarios besides Nancy where this could be useful? Perhaps this could be its own, standalone plugin for any web self-hosted project. Either way, thanks again, I'll look into it!

hmemcpy avatar Jan 14 '14 00:01 hmemcpy

@hmemcpy I'm actually having second thoughts about this...The truth is, ReSharper not quite working properly is only one source of friction when trying to do web development in a console app. I'm now trying out a new strategy where I have both a web app project and a console app project. I develop and debug using the web app project, then when I'm ready to publish, I copy the files to the console app project. So far, this looks like it's going to work.

devuxer avatar Jan 14 '14 00:01 devuxer