(related to How can I tell Notepad++ to always use a particular language with a particular file extension )
I want to have Notepad++ to associate wscript files with the Python language. Is there a way to do this? It has no extension.
(related to How can I tell Notepad++ to always use a particular language with a particular file extension )
I want to have Notepad++ to associate wscript files with the Python language. Is there a way to do this? It has no extension.
Create a symlink to the wscript file but give the link the correct extension, e.g.
mklink /H wscript.py wscript
When you edit the wscript.py file you should find that notepad correctly treats it as a Python file.
vbsfor example.vbaandjswould also be appropriate. – DavidPostill Oct 09 '15 at 16:39wafwhich mandates using a file namedwscriptwith no extension. Please don't assume this is an xy-problem. – Jason S Oct 09 '15 at 16:41wscriptfile has been opened ... – DavidPostill Oct 09 '15 at 16:46wscript, then it fails when I start putting tabs my mistake, then I choose Python as the language and replace tabs with spaces to get it working again. (lather rinse repeat) – Jason S Oct 09 '15 at 21:27