IntelliSense ignores .csx
Emik03 opened this issue · comments
This worked in v0.3.5, but broke in v0.4, and was apparently not covered by tests.
It was broken as part of the fix to #140.
Possibly a fix is to pass #load myFile.csx
to the script runner (which executes the script), but actually read the file and pass the contents to the roslyn workspace (which controls intellisense). This wouldn't handle a CSX file that then contained a #load
statement, but that might be OK.
Hey @Emik03, sorry, my comment was referring to a technical fix. You're right that this is broken in 0.5.1 and will require a bugfix. Thanks for reporting it!
Ah alright, my bad. No problem!
This is now available in v0.6 -- run dotnet tool update --global csharprepl
to update to the newest version. Thanks again!