RPGLE devex improvements for built-in functions and procedures 🚀 #2847
worksofliam
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am here to share two major improvements to the RPGLE writing experience in VS Code today! This new functionality is available in vscode-rpgle 0.33.0.
Relevant built-in functions
When using the dot notation on variables/fields/subfields, you will now see applicable built-in functions. Inspired by the Golang LSP, we will show specific built-in functions based on the type of variable you are referencing. In this example (below),
mytext
is a string primitive, and since I started typing.scan
it is showing me all built-in functions that start withscan
.This is more object-orientated, like showing member functions to a class, but when accepting a built-in function option off of a field, it will actually wrap the given field in the built-in function. See the video at the end of a full demo!
Signature information
For all used-defined procedures, prototypes and built-in functions, we will now show the signature for the given function. This means seeing type and documentation information for the current parameter while writing the call to the function.
Video
donedemo.mov
Beta Was this translation helpful? Give feedback.
All reactions