Skip to content

Commit

Permalink
Enhance documentation for RPGLE extensions with implementation detail…
Browse files Browse the repository at this point in the history
…s and workspace symbols

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Dec 11, 2024
1 parent 71af77a commit edd7571
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Binary file added src/assets/rpgle/implementation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions src/content/docs/extensions/rpgle/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,18 @@ Just like definitions, you are able to find all references to definitions with G

Go to implementation works for procedures in two ways.

* For all sources (members/streamfiles/local) it will do a lookup of the procedure name in the binding directories you have specified in the `BNDDIR` header/control-spec and try to open the source up for it.
* Look up uses the Code for IBM i library list if the binding directory is not qualified with a library.
* For all sources (members/streamfiles/local) it will do a lookup of the procedure name in the binding directories found on your library list.
* For local projects it will take you to the implementation of an export procedure wherever it is in your project.

![](../../../../assets/rpgle/implementation.png)

### Workspace symbols

Workspace symbols shows all available exports.

* For all sources (members/streamfiles/local) it will list all export procedure names in the binding directories found on your library list.
* For local projects it list all export procedure names in your project.

### Format Document

You can automatically fix all indentation of your free-format sources by using Format Document inside of VS Code.
Expand Down

0 comments on commit edd7571

Please sign in to comment.