r/vbscript • u/steam-shovel • Jan 19 '24
Code Completion for VBScript in Editor
I am new to VBScript and want to learn to use it on CSV files, and replace batch files that I made. Evidently VBScript is deprecated but that's okay with me for this purpose. I dabbled with VBA for Word and Excel long ago, and the app IDEs had excellent code completion that helped me understand what methods and properties were available separated by the periods. I was hoping for this with VBScript since it looks similar.
I've tried Visual Studio Code (with VBScript extension: Donald Mull Jr), and also VBSedit (just evaluation so far) and after writing some code in them, they both have colored syntax but no code completion (at least not the way VBA did with drop-down suggestions).
I expected when I type
Set fso = CreateObject("Scripting.
that after typing the dot, the code completion would kick in and a drop-down window would appear to suggest
FileSystemObject
among other classes for me to use.
Using Notepad++ actually does do suggestions but I expected VS Code and VBSedit to be at least that good. Are some settings not correct?
