The RedM CodeLens provides an easy way to view the Red Dead Native Method used by a Native Invoker in VS Code. With the CodeLens you also gain the ability to quickly lookup the Native Method used in a Native Invoker. Fully configurable rendering of the CodeLens, select the documentation websites you want, and much more!
- The CodeLens can be used for the following languages: Lua, JavaScript, TypeScript, C and C#.
- The extension can run on VS Code Desktop and VS Code Web.
- Show the matching Native Method name and parameters for corresponding Native Hash via the CodeLens above the Native Invoker line.
- Direct access to any documentation website, as long as it has a query url that supports the hash.
- Enable or disable each part of the CodeLens rendering.
- Personalize what documentation website you want to use.
- Visual Studio Code
v1.63.0
or higher. - Active internet connection (only on start-up) to fetch native dictionary.
You
Controls whetever the Documentation CodeLens is shown.
Configure associated documentation dictionaries that have a builtin query url. Use ${hash} for query value.
Controls whetever all documentation dictionaries are shown when clicking on the Documentation CodeLens. When disabled, the first item from redmCodelens.documentation.links will be used.
Controls whetever the SomeNativeMethod(id: number): void Native Method CodeLens is shown.
Controls whetever a prefix 0x7265.. ~ SomeNativeMethod(id: number): void is shown in the Native Method CodeLens when multiple native methods are used on the same line.
See https://github.com/quintende/redm-codelens/issues for currently known issues.