(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.
vbs
for example.vba
andjs
would also be appropriate.waf
which mandates using a file namedwscript
with no extension. Please don't assume this is an xy-problem.wscript
file has been opened ...