dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.08k stars 4.04k forks source link

Handle SourceCodeKind.Interactive in VB #6554

Open amcasey opened 9 years ago

amcasey commented 9 years ago

vbi.exe issues

  1. [x] Shebang
  2. [ ] Top-level return statements
  3. [ ] Forbid top-level yields
  4. [ ] Allow top-level awaits
  5. [ ] Import semantics
  6. [x] #r
  7. [ ] #load
  8. [x] Allow expressions spanning multiple lines (function definitions)
  9. [ ] Handle return types of submissions in scripting API #4763 #4766
    • [x] Handle simple cases like Int32 (enough to run scripts in vbi)
    • [ ] Handle the general case
  10. [x] Make vbi start with correct pwd
  11. [ ] Discuss how top level expressions should be handled

corerun issues

  1. [ ] Make vbi require relevant dlls
  2. [ ] Unable to resolve System.IO.Path if loaded with dlls found in the vbicore/ directory
    • Probably fixed by implementing extern aliases in vb

VS issues

  1. [x] Implement top level scope Intellisense suggestions
  2. [x] Implement command, #load, #r providers
    • [x] commands intellisense
    • [x] #r intellisense
    • [x] #load intellisense
amcasey commented 9 years ago

@dotnet/roslyn-interactive Please let me know if there's other work that needs to be ported to VB.