Copyright (c) Pierce Washington LLC, All rights reserved.
To use BigTools VSCode extension, you must obtain authorization from Pierce Washington LLC by requesting a registration key using your employeer issued email address from BigTools Administration Site. This extension is provided as-is and Pierce Washington LLC does not guarrantee the quality and reliability of the software. By using the extension, you have assumed and accepted all responsibilities.
Summary
This extension is a companion to the BigTools Chrome extension for Oracle CPQ Cloud development and administration.
Features
Integration with the Oracle CPQ Developer Toolkit API.
Upload and run an individual test cases to CPQ with the Run Current BML Test Only command
Upload and validate a BML function and its BML tests with the Validate Function & All Related BMLTs command
Upload individual functions and thier corresponding BMLT tests to CPQ using theSave Function & Run All Related BMLTs. This command will run the BMLT tests and save the BML function and test without deployting it.
Upload individual functions and their corresponding BMLT tests to CPQ using the Save and Deploy Function & Run All Related BMLTscommand. This command also automatically run the BML tests and deploy the utility function or deploy commerce process for commerce function.
Create new utility and commerce functions using theNew BML Functioncommand
Create new BML tests using the"New BML Testcommand
AddedBML Import FunctionsandBML Tests views to improve navigation between BMLT tests and BML functions
Added BML formula editor support and syntax highlighting.
Support direct integration with BigTools Chrome/Edge/Firefox extension
Load BML into Browser using Cmd+L (OS X) and Ctrl+Alt+L (Windows)
Debug BML in Browser using Cmd+J (OS X) and Ctrl+J (Windows)
BML language syntax highlighting. This feature has been improved (thanks to Sven Hansen)
BML standard function auto-completion
BML custom utility and commerce function auto-completion, including functions from PW Framework, other frameworks, and your project
BML unused variable detection/warning
BML code file formatter
Auto-generation of function comment block
Auto-tracking of developer modification/revision events
Paste a JSON in the clipboard into a BML file as a escaped string.
BML Code Snippets:
Standard BML
| Prefix | Description |
| -------------------------- | --------------------------------------------------------------- |
| for | Insert a for e in a {...} loop statemnet |
| if | Insert a if (condition) { ... } block |
| ife | Insert a if (condition) { ... } else { ... } block |
| ifei | Insert a if (condition) { ... } elif (condition) { ... } block | | elif | Insert aelif (condition) { ... } block | |bmql | Insert abmql(select ... from ... where ...)block | |get, bmlget, or cget| Insert aget(record, "col")statement | |bm-set-adv-validation` | Insert a code block in an advanced validation rule. |
PW Framework Transaction
Prefix
Description
bm-get-str-val
Insert a statement to get a string value from a PW Framework transaction JSON.
bm-get-json-val
Insert a statement to get a JSON value from a PW Framework transaction JSON.
bm-get-float-val
Insert a statement to get a float value from a PW Framework transaction JSON.
bm-get-bool-val
Insert a statement to get a boolean value from a PW Framework transaction JSON.
bm-get-float-val
Insert a statement to get a float value from a PW Framework transaction JSON.
bm-get-int-val
Insert a statement to get a integer value from a PW Framework transaction JSON.
PW Framework Logging
Prefix
Description
bm-log-add
Setup PW Logging for File
bm-log
Insert PW logging function call
bm-log-int
Insert PW logging function call to print integer variable
bm-log-float
Insert PW Logging function call to print float variable
bm-log-bool
Insert BML log function call to print boolean variable
BigTools Code Profiler
Prefix
Description
bm-prof-start
Insert a statement to start a profiling timer.
bm-prof-end
Insert a statement to end a profiling timer.
bm-prof-mark
Insert a statement to add a profiling marker.
bm-prof-mark-pair
Insert a statement to add a start or end profiling marker pair.
BigTools Documentation
Prefix
Description
@param
Insert a @param name type in the function documentation comment
@attribute
Insert a @attribute in the function documentation comment
@name
Insert a @name in the function documentation comment
@api
Insert a @api in the function documentation comment
@summary
Insert a @summary in the function documentation comment
@function or @fcn
Insert a @function in the function documentation comment
@return
Insert a @return in the function documentation comment
bmldoc or docbml
Insert a BigTools compatible BML documentation comment block