Disclosed is a method for coding assistance using variable name and its number of use. It is achieved by extracting automatically the kind of the variable name which is used for a certain class type and the number of use of each found variable name from the source cord, and displaying the list in a sub window with a scroll bar.
Coding assistance method using variable name and its number of use .
The composition of this system is as in Fig. 1. Explanation of each screen/process of Fig. 1 is as follows.
(1) Total rule edit UI (Fig. 1: U001)
This UI is for editing the variable name total rule (Fig. 1: D001) used by variable name statistics process (Fig. 1: S001). In this UI, the type of a class to make into the object of variable name statistics process (Fig. 1: S001) can be set up.
(2) Variable name statistics process (Fig. 1: S001)
- This process is automatically performed as a background process for every fixed time.
- If this process is performed, the inside of a source code (Fig. 1: D002) will be searched about the model of th
e
class which specified with the variable name total rule (Fig. 1: D001). Then a variable name and its number of use are extracted, and it outputs to variable name statistics information (Fig. 1: D003).
- When the variable name total rule (Fig. 1: D001) is not created, the model of all classes is set as the object of extraction as a default.
(3) Variable name statistics information display proces
(Fig. 1: S002)
If the input of a variable name is started or Ctrl + Space is inputted in the input part of a variable name, variable name statistics information display process (Fig. 1: S002) is performed. The detail of variable name statistics info...