<type>documentation</type>
<domain>versioncontrol</domain>
<id>versioncontrol</id>
<title>Delete Symbol</title>
<date>$Date: 2006-05-24 22:53:07 -0400 (Wed, 24 May 2006) $</date>
<version>$Revision: 13098 $</version>
<product>pro+</product>

The ``Delete Symbol`` operation deletes a variable, attribute, argument, 
function, method or class after checking if it is used anywhere in your 
project. To start a delete operation, click on the symbol to be deleted where 
it is defined, typically to the left of `=` in an assignment statement or in
a `class` or `def` statement.

After the symbol is chosen, select ``Delete symbol-type`` (symbol-type can be
Variable, Attribute, Class, Function, etc) from the ``Refactor`` menu or from
the ``Refactor`` sub-menu of the editor's right-click context menu. Wing will
search for all of the locations where the symbol is used and list them in the
`Refactoring <script:show-panel-refactoring>`__ tool. After the search
completes, the ``Delete Unused Symbol`` button can be used if the only use is
on the line that defines the symbol or the ``Ignore Points of Use and Delete
Symbol`` button can be used to delete even though other uses where found.

After it completes, the delete symbol operation can be undone with the ``Revert``
button in the ``Refactoring`` tool.
