JADE Environment Development Ideas

What's new in the JADE 2025 release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED INTEGRATIONS. NEW WEB DEVELOPMENT FRAMEWORK

The Jade 2025 release focuses on modernising the developer experience and helping you build faster, smarter, and more scalable applications.


Start your update to JADE's latest release

Refactor - Declare Local Variable to use more context hints

If you've written code first and are then going back to create the variables, there are probably inferences JADE could make about its type from the context the variable was used in, rather than just asking the developer.

For example if the code is

foreach x in coll do

where coll is a WidgetArray then JADE could infer that the type of x could be Widget. JADE already makes inferences when the code is

x := "a string";

so this would just expand it some more.
  • John Munro
  • May 1 2019
  • Shipped
HistoricalComments
James Burnby 26/03/2018 4:27:14 PM
I think the same could apply to type constants? I just tried to refactor some method constants to class constants. It didn't let me refactor these until I explicitly type converted the constants to Integer. Once I did this it assumed the type of Real; except -1 which Jade couldn't figure out how to refactor.
  • Attach files
  • +8