This has probably been discussed before but I can't find any information about it.
When you compile a method in Jade it will tell you if there are any errors in the Syntax.
What would be good is if Jade could warn you about any areas of the method that could be improved. Maybe it would tell you:
- If there are any unused local variables.
- If there are any transients being created but not deleted
- If you are putting in app. within an application class
- If you have a local variable named the same as a class variable
I'm sure there are many others that could be implemented but I can't think at the moment.
None of these would cause compile errors but would improve performance and any potential problems if they are sorted out. I was talking to a colleague who has developed in a lot of other languages and he mentioned that would be 1 thing that Jade does not do where the others have a compiler that will give you warnings.
Maybe you can continue using F8 as per normal but maybe use F9 for a smart compile that may take a wee bit longer.