3

First StackOverflow question ever.

Just installed OmniPascal extension into VSCode. Now ".dproj" and ".dpr" files are no longer associated with Embarcadero Delphi.

This seems non-trivial to fix. Can anyone suggest a fix short of reinstalling Embarcadero?

Thanks in advance.

Gama11
  • 31,714
  • 9
  • 78
  • 100
burque505
  • 318
  • 3
  • 7

1 Answers1

5
  1. Right click on any .dproj or .dpr files
  2. Select Open with... and then click Choose default program
  3. Find and choose bds.exe(Embarcadero Rad Studio)
  4. Selec the Always use the selected program to open this kind of file check box, and then click OK.

See Change the program that opens a type of file

Roman Marusyk
  • 23,328
  • 24
  • 73
  • 116
  • 2
    FWIW: Delphi installs a launcher program: On my system *.dpr is associated with `"C:\Program Files (x86)\Embarcadero\Studio\14.0\Bin\bdsLauncher.exe" "C:\Program Files (x86)\Embarcadero\Studio\14.0\Bin\bds.exe" /np`. – Uli Gerhardt Jun 13 '16 at 06:29
  • @MegaTron: My bad. I had done what you suggest before posting, which I should of course have mentioned (along with mentioning I was using 10.1 Berlin) to avoid sarcasm. I will try a repair or reinstall - the two-hour process is what I was hoping to avoid. – burque505 Jun 13 '16 at 13:35