How do I restore "compile" when double clicking my hxml files?

63 views Asked by At

I have opened an hxml file with notepad, keeping "always use this app..." checked by accident. Cannot run hxml files anymore.

I have tried reinstalling haxe and opening the file with haxe.exe and haxelib.exe as found in the haxe folder in HaxeToolkit. As google held no answer, I'm asking here.

I'm using Windows 10.

1

There are 1 answers

2
user3928139 On BEST ANSWER

Right-click on hxml-file, select "Open With" submenu -> and select "Choose another app" there: https://winaero.com/blog/wp-content/uploads/2017/11/open-with-menu-windows-10.png Choose "haxe.exe" in opened list and select "Always use this app..." and then click "OK". If there is no "haxe.exe" then click on "Look for another app": https://www.howtogeek.com/wp-content/uploads/2015/12/Windows-10-My-Capture-0003.png and find "haxe.exe" on you PC (in my case it was in "C:\HaxeToolkit\haxe" folder)