Using the VDF Tools Wiki Feature: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Torkildr (talk | contribs)
No edit summary
Torkildr (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
The VDF Tools Wiki link feature was designed to easily integrate VDF Tools with a project Wiki. A root URL specified in the project properties is combined with the currently selected keyword in the source code in order to form an URL.
The [[Eclipse#Visual_Dataflex_Tools_for_Eclipse| VDF Tools for Eclipse]] Wiki link feature was designed to easily integrate VDF Tools with a project Wiki. A root URL specified in the project properties is combined with the currently selected keyword in the source code in order to form a URL.
[[Image:VDFTools_Wiki.png|thumb|Select the project properties and the VDF catogory for entering the wiki root URL.]]
[[Image:VDFTools_Wiki.png|thumb|Select the project properties and the VDF catogory for entering the wiki root URL.]]
The idea is that certain words, such as class names can be used to form an URL linking to a page with more extensive documentation of the subject.
The idea is that certain words, such as class names can be used to form a URL linking to a page with more extensive documentation of the subject.


===Example===
===Example===
We're specifying the URL '''http://vdfwiki.com/index.php?title=''' in the project properties.
We're specifying the URL '''http://vdfwiki.com/index.php?title=''' in the project properties.


We then put the cursor at the word dbView in the following code. Node that VDF Tools will by itself determine what is a word. The entire string must not be selected.
We then put the cursor at the word ''dbView'' in the following code. Note that VDF Tools will by itself determine what is a word. There should be no need to select the characters forming the word you're interested in.


Object oMaintenance_VW is a dbView
  Object oMaintenance_VW is a dbView
    Set Icon to "Wine2.Ico"
      Set Icon to "Wine2.Ico"
    Set Label to "Wine Maintenance"
      Set Label to "Wine Maintenance"
    Set Location to 10 9
      Set Location to 10 9
    Set Size to 110 313
      Set Size to 110 313


Pressing '''Shift+F2''' or selecting '''Open Keyword in Project Wiki''' will open the URL '''http://vdfwiki.com/index.php?title=dbView'''.
Pressing '''Shift+F2''' or selecting '''Open Keyword in Project Wiki''' from the editor context menu will open the URL '''http://vdfwiki.com/index.php?title=dbView'''. Now, since this page is empty; continue by filling out the missing details ;-)
 
===Ad Notam===
When using a Wiki such as MediaWiki it is probably a good idea to use a separate ''namespace'' for this kind of documentation.
 
Any word in the code can be used. So you can use this feature for quickly linking to documentation for classes, functions, data files and more.

Latest revision as of 22:26, 18 December 2007

The VDF Tools for Eclipse Wiki link feature was designed to easily integrate VDF Tools with a project Wiki. A root URL specified in the project properties is combined with the currently selected keyword in the source code in order to form a URL.

Select the project properties and the VDF catogory for entering the wiki root URL.

The idea is that certain words, such as class names can be used to form a URL linking to a page with more extensive documentation of the subject.

Example

We're specifying the URL http://vdfwiki.com/index.php?title= in the project properties.

We then put the cursor at the word dbView in the following code. Note that VDF Tools will by itself determine what is a word. There should be no need to select the characters forming the word you're interested in.

 Object oMaintenance_VW is a dbView
     Set Icon to "Wine2.Ico"
     Set Label to "Wine Maintenance"
     Set Location to 10 9
     Set Size to 110 313

Pressing Shift+F2 or selecting Open Keyword in Project Wiki from the editor context menu will open the URL http://vdfwiki.com/index.php?title=dbView. Now, since this page is empty; continue by filling out the missing details ;-)

Ad Notam

When using a Wiki such as MediaWiki it is probably a good idea to use a separate namespace for this kind of documentation.

Any word in the code can be used. So you can use this feature for quickly linking to documentation for classes, functions, data files and more.