Code generation properties
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- Building applications
You can adjust how code generation functions on an instance using several advanced properties.
Property | Description |
---|---|
sn_now_assist_code.enable_code_assist | Enables using code generation in supported script editors.
|
sn_now_assist_code.enable_promptless_experience |
Enables using code completion in the script editor.
|
sn_now_assist_code.enable_prompt_modal |
Enables using the Code with Now Assist dialog box to provide text prompts.
|
sn_now_assist_code.show_ai_code_line_marker | Enables tracking which lines of code are AI-generated. This code is indicated by a line next to the lines of code in a script editor. If you edit AI-generated code, the line indicator doesn’t appear for those lines of code.
|
sn_now_assist_code.collect_schema_for_code_assist | Specifies whether to collect the data schema of the table a business rule or client script runs on when using code generation. If you set this property to false, you can receive code suggestions quicker but may get less contextual suggestions.
|