Skip to content

Rename prompt #54

@retailcoder

Description

@retailcoder

Implement a prompt based on the MessageBox component, that receives an identifier name from user input in a textbox - mock-up:

mock-up of the prompt with an empty input field, a validation error message saying "field is required", a prompt to rename "class module Class1" with the "object-class" icon next to the "Rename" heading. Cancel buttons is available, Ok button is disabled.

  • New name is required (cannot be null, empty, or whitespace)
  • New name cannot match old name
  • New name defaults to old name, textbox content selected and focused
  • Validation error message is clearly visible (when applicable)
  • Icon (title) represents the DeclarationType of the symbol
  • Confirm (OK) command/button is disabled unless the name is valid

Maximum length - module: 31 characters. Anything else: 255 characters (TODO verify in MSVBAL).

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: Rubbeduck.UIIssue involves UI componentsfeature: code actionsIssues relating to code actions ("ducky menu")feature: editor shellIssues that relate to the editor shellskill:xamlIssues that involve XAML markup and WPF

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions