0

(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.

Jason S
  • 7,944

1 Answers1

1

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.

snowdude
  • 2,928
  • 19
  • 20