Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next steps for initial release #14

Open
CodesAway opened this issue Jan 25, 2021 · 1 comment
Open

Next steps for initial release #14

CodesAway opened this issue Jan 25, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@CodesAway
Copy link
Owner

Changed to focus on action / method call for initial dictation

Need to still add

  • Auto import necessary classes (such as as part of assignment)
  • Handle "assign" to check if variable already exists
    • For "declare" and "assign" if variable name is "class" then use the class name to determine the variable name
  • Initial handling of parameters
    • Allow dictating single parameter without requiring special grammar
    • Plan is to specify parentheses and commas for multiple parameters (later iteration)
    • For initial release, for multiple parameters, give suggested based on available variables and first level public fields / methods
  • Allow public static imports when specify class (or ones in current class)
  • Allow private / default / protected instance methods in current class (long term will factor in scope to method call, but scaling back for initial release)
  • Recognize "this" as variable name indicating the current instance
  • Recognize "super" as variable name indicating the super instance (if extends another class)
    • How does super behave for interfaces now that they can have methods in Java 8?
@CodesAway CodesAway added the enhancement New feature or request label Jan 25, 2021
@CodesAway CodesAway added this to the v0.1.0 milestone Jan 25, 2021
@CodesAway
Copy link
Owner Author

Add back combo drop-down (like castle has)

  • Options for what type of search to perform
  • Code (used by dictation)
  • Method
  • Custom (allow hitting index directly)

For code

  • Do current search for changing text to code
  • Show Top 5 (or 10) similar results
  • Add option to show current line of code changed from code to text (only if that would then convert back to the code if entered into the text box)

For method

  • Would search all available methods
  • Priority given to ones that can be called from the current scope (factor in one level of method call - like existing variable calling method)
  • Over time, will support adding code to create variable of necessary class (customize using property file)
  • For example, can use to write template variable initialization

Add hotkeys to select code option (like Ctrl + Alt + 1 or something). Will use while doing voice dictation.

This will allow inserting text based on code / method results

Add hotkey to switch between modes (CTRL + 0 for custom)

This will allow, over time, creating various ways to create code and variable initialization. The goal is to minimize actual code needed to write. Also, goal is to easily find what what to do (such as what method to call).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant