Skip to content

Enhancements Feature Ideas

hlindberg edited this page Apr 10, 2011 · 4 revisions

This page contains enhancements / feature ideas that have not yet been added as issues.

Target Platform

Add ui to manage target platform, import, export - set current

The current TP functionality uses a single checked in TP, but the PPTP model is constructed to deal with composite TPs (a canned distribution + a directory, etc.)

Validation

Validate that void functions are not used where rvalue is required

Functions that do not produce a value can not be used as expressions where a value is expected.

Quick Fixes

There are many opportunities to provide quick fixes. All errors and warning have an issue code that the quick fix functionality uses in combination with the semantic object for the issue to suggest 'quick fixes'.

Double to single quoted string fix

If a Double quoted string does not need to be double quoted (contains no variables, and only escaped $ chars) it is possible to offer a quick fix to make it single quoted and with all non recognized and unnecessary escape sequences fixed.

Fix unrecognized escapes

Offer to fix unrecognized escapes.

Fix "deprecation" - class/define parameter must start with $

Offer to add $ to all parameters.

Deprecated 'lower case form' when referring to type

Offer to make first character upper case.

Unrecognized type

  • If there is an invisible type in the workspace offer to add the module containing it as a dependency.
  • If there is no invisible type, offer to add a definition (in a separate file), and when doing so, automatically add the parameters that where used
  • As above, but offer to add a ruby type
  • Perform a soundex or similar on available type and offer changing it to 'did you mean...' for the n-most similar

Unrecognized parameter

  • Perform a soundex or similar on available parameters and offer changing it to 'did you mean...' for the n-most similar
  • Offer to add the parameter to the definition if defining type is in a pp file in the workspace

Unrecognized function

  • Perform soundex or similar on available names and offer n-most similar
  • Offer to add definition of ruby function with name of function etc. automatically added (is perhaps not that common)

Clone this wiki locally