"Navigator" tabThe "Navigator" tab allows you to conveniently navigate in the source code of documents of various languages supported by Spider. It quickly helps to find the structure of the document, with one click it allows you to move to the selected HTML tag, class, function or structure in scripting languages, or selector in CSS sheets. You can turn on the "Navigator" tab using the right panel or the CTRL + 7 keyboard shortcut, and from the menu under the button shown above from Main Menu / View . The navigator window consists of a menu and a dynamically created document structure tree. Tree branches can be expanded by clicking on the plus sign on the left side of the name. Clicking on the name of a given element takes you to the place where it appears in the document The tree is created dynamically - if some elements are not present in the script, there will also be no corresponding main branches. For example - if there are no images in the HTML document, the categorized HTML navigator will not show the Images branch Tab menuDifferent languages may be used in one document, such as HTML, PHP, JavaScript, and CSS. It is not possible to display a navigator for such a complex document, but you can switch to individual navigators using the menu at the top of the window.The following navigators are available:
In addition, there are two commands available in the menu: Refresh the navigator tree. Lock current navigator . In some cases, however, you may want to see only one navigator at a time. For example: you create an HTML document and sometimes use PHP script in it - constantly switching the navigator is not only distracting, it also takes up time and computer resources. In this case, you can lock the window using the command with the icon shown above. When the navigator is locked, automatic detection of the block of code where the cursor is located stops working. However, you can still change the navigator manually using the menu buttons. In addition, by using the arrow to the right of the button, you can display a submenu containing two additional commands that allow you to lock the current navigator type for all open documents of the same type (with the same filename extension as the current document), and to unlock the navigator for all similar documents. Tree branches common to all navigatorsEach of the navigators displays different data. However, they always have three branches in common - they are:
They only appear when there are bookmarks or tasks defined in the editor. Using them, you can quickly find and go to the selected element regardless of the currently displayed navigator - clicking on the selected position will move the cursor to the appropriate place in the editor. Tag navigatorThe tree is built according to the order of the tags (all types of tag documents supported by the Spider) in the document and presents the tag hierarchy. Child elements are placed in the branches of the parent element. For example, an HTML table will be represented by a tree that looks something like this: + <table> Categorised HTML navigatorDocument elements are grouped in the tree by type, in separate branches there are:
CSS navigatorSheet elements are grouped according to their type - in separate branches of the tree there are:
JavaScript navigatorThere are branches on the tree containing:
VBScript navigatorThe VBScript component tree contains the following branches:
PHP navigatorThe tree contains two main branches where all the elements of the PHP script will be placed. PHP scripts in the current document
Imported scripts The content of each link script branch is analogous to the PHP Scripts branch in the current document and allows you to go to specific places in the linked document! Forced include - contains a list of files and folders that have been forced to be included for the project or for the current script. More about forced onboarding.ASP navigatorDue to the possibility of using different languages in ASP technology, the ASP navigator will contain a tree for the language in which the script was written (JS or VBS). |
Related topics |