Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aptana .js files won't save without java dialogue

When I hit save in Aptana3 with a .js file I get a really annoying dialogue that says

 Save Failed
 Compilation unit name must end with .java, or one of the registered Java-like extensions

I can't seem to find any info about how to fix this.

Can anyone help?

Thanks.

like image 445
dibs Avatar asked Oct 10 '11 02:10

dibs


3 Answers

This occurs when you have a breakpoint in your file, remove the breakpoint(s) and try to save again.

like image 143
bryce Avatar answered Nov 18 '22 01:11

bryce


Select All. Cut (Ctrl-x) entire document, save, Paste (Ctrl-v) it back in, save.

like image 32
Alexander Zanfir Avatar answered Nov 18 '22 00:11

Alexander Zanfir


Remove all breakpoints in "breakpoints view" window

like image 2
Ariloum Avatar answered Nov 18 '22 01:11

Ariloum