Sigasi logo

Table Of Contents

Previous topic

Autocompletion

Next topic

Integration with external tools

Support

Refactoring

The refactoring interface

The basic interface to access a refactoring is to right click on a selected identifier or a line in a view. Depending on the selection and the view, a list of appropriate refactorings is shown.

For example, the Rename refactoring is available for an identifier in the editor view. Other refactorings are available in the outline view and the hierarchy view.

Available refactorings

Add Generic

For background info, see Add Generic in The VHDL Refactoring Book.

Add Port

For background info, see Add Port in The VHDL Refactoring Book.

Change Positional to Named Association

For background info, see Change Positional To Named Association in The VHDL Refactoring Book.

Connect Instance

For background info, see Connect Instance in The VHDL Refactoring Book.

Disconnect Instance

Not implemented yet.

Encapsulate Concurrent Statements

For background info, see Encapsulate Concurrent Statements in The VHDL Refactoring Book.

Tip

The encapsulate refactoring is often used to avoid code duplication. To detect code duplication you can use the internal compare function. To compare two files: select the two files in the project explorer, right-click and select Compare With‣Each Other.

Rename

For background info, see Rename in The VHDL Refactoring Book.

Remove Generic

Not implemented yet.

Remove Port

Not implemented yet.

Copyright © 2008-2011 Sigasi nv - "Sigasi" is a registered trademark of Sigasi nv