Changes between Version 5 and Version 6 of EclipseInterface
- Timestamp:
- Jan 28, 2015, 12:51:15 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EclipseInterface
v5 v6 86 86 87 87 Open Eclipse and click on the **Help > Install new software** buttons in the Eclipse menu. 88 {{{ 89 #!comment 90 KÉP 91 }}} 88 89 [[Image(install-menu.png, align=center)]] 92 90 93 91 Click **Add...** in the appearing window, and paste the link we just copied to the clipboard in the **Location** text field of the window named **Add Repository**. Click OK. 94 {{{ 95 #!comment 96 KÉP 97 }}} 92 93 [[Image(install.png, align=center)]] 98 94 99 95 In the original **Install** window select the !RefactorErl group and a list should appear, containing the plugins available from the update site we specified in the last step. 100 {{{101 #!comment102 KÉP103 }}}104 96 105 97 To install the !RefactorErl plugin, select the **!RefactorErl Eclipse UI** entry. … … 130 122 131 123 Navigate to the preference pages by clicking **Window > Preferences > !RefactorErl**. 132 {{{ 133 #!comment 134 KÉP 135 }}} 124 125 [[Image(prefs.png, align=center)]] 136 126 137 127 In case you would like to connect to a local !RefactorErl application, fill in the **!RefactorErl Base Directory** field with the path to the base directory of a locally installed !RefactorErl application. … … 140 130 141 131 Click **OK**. Click **Yes** on the dialog inquiring wheter you want to reconnect to !RefactorErl. If the connection was successful, a `Connected to RefactorErl` message will appear in the left side of the status bar at the bottom of the Eclipse window. 142 {{{143 #!comment144 KÉP145 }}}146 132 147 133 Congratulations, now you can start using !RefactorErl with the Eclipse interface! … … 173 159 You can open a view containing the list of files, called the //Database// view, by clicking **!RefactorErl > Database > Show Database** in the top menu. 174 160 175 {{{ 176 #!comment 177 KÉP 178 }}} 161 [[Image(filelist.png, width=800, align=center)]] 179 162 180 163 When you click in the //Database// view with the right mouse button, a context menu will appear, containing all database management features. Some of them, like the //drop// and //show// features, are dependent on the files or directories selected in the view. … … 197 180 You can execute a global query by writing your query in the textfield initially with the text `Semantic query` in the Eclipse toolbar and pressing the return key. 198 181 You can also execute global queries by clicking on **!RefactorErl > Queries > Start query**. A dialog will appear, where you can type the global query. 199 {{{ 200 #!comment 201 KÉP 202 }}} 182 183 [[Image(autocomplete.png, align=center)]] 203 184 204 185 To execute a position based query, open the source file where you want to start the query from, and click on the desired position in the text of the file with the right mouse button. In the appearing context menu, select **Run query from position**. A dialog will appear, where you can type a position based query (or even a global query). 205 186 206 {{{207 #!comment208 KÉP209 }}}210 211 187 After a successful query execution a view, called //Query result// view will appear with the results of your query. You can double click on a line of the result, and if it's possible, an editor tab will open with the file containing the content of that line, highlighting the content in question. 188 189 [[Image(q.png, width=800, align=center)]] 212 190 213 191 The **!RefactorErl > Queries > Show query history** button will open the //Query history// view. Double clicking on a query in the //Query history// view will show a results of this query in a //Query result// view. Please note, that these are historical results, it may or may not be consistent with the current content of the database. … … 240 218 To draw a dependency graph, select the **!RefactorErl > Draw dependency graph** button in the menu to open the //Dependency analysis// view tab. 241 219 242 {{{243 #!comment244 KÉP245 }}}246 247 220 In this view, you can provide the parameters for the analysis, select output format and choose a directory to store the results for future use. Hit the **Draw dependency graph** button on top of the view tab to start the analysis. Note that this may take for a while, depending on how much data is stored in the database. 248 221 249 {{{ 250 #!comment 251 KÉP mindháromról 222 [[Image(dep_smart.jpg, width=240, align=center)]] 223 224 [[Image(dep_svg.png, width=240, align=center)]] 225 226 [[Image(dep_erl.png, width=240, align=center)]] 227 {{{ 228 #!comment 229 [[Image(dep_zest.png, align=center, width=400, align=center)]] 252 230 }}} 253 231 … … 259 237 To use this feature, click **!RefactorErl > Clone !IdentifiErl** in the top menu to open the //Clone !IdentifiErl //view. You can select an algorithm from the box on the tip part of the view, and fill in the parameters in the bottom part. To start the search, click on the **Run analysis** button. Note that this may take a long time, depending on how much data is stored in the database. 260 238 261 {{{ 262 #!comment 263 KÉP mindháromról 264 }}} 239 [[Image(dupcode.png, width=800, align=center)]] 265 240 266 241 The results will be presented as a list of pairs of file positions in a view called //Duplicated code analysis results//. Double clicking on an item of that list will show the duplicated code sections side by side in a dual-pane editor.