Extension Settings

Customize your Enjinx experience with a range of settings.

VSCode

1. Enable / Disable Enjinx

Enable or disable Enjinx extension.

2. Editor Buttons

Choose to show or hide Enjinx buttons over functions and classes in the editor.

3. JavaScript Tests Config-1: Run Working Directory

Specify the working directory for running JavaScript/TypeScript tests. This setting is crucial for ensuring tests run in the correct context.

  • Path: Use the absolute path to the root directory of your project (where your package.json resides).

Important: if this setting is configured, please configure the JavaScript Tests Config-2: Run Command setting as well.

4. JavaScript Tests Config-2: Run Command

Specify the command for running a single Javascript/Typescript test file. The placeholder TEST_FILEPATH will be replaced with the actual test file path.

For example:

  • npx jest --runTestsByPath TEST_FILEPATH

  • npx ts-mocha TEST_FILEPATH --require ./test/mocha/setup.ts

Important: if this setting is configured, please configure the JavaScript Tests Config-1: Run Working Directory setting as well.

5. JavaScript Tests Config-3: Run Default Imports

List default imports to prepend to JavaScript test files, separated by , enhancing test file setup.

6. Code Completion

Enable or disable code completion.

7. Code Completion: User Instructions

Input custom instructions for code auto-completion. These will be used by Enjinx's AI models to better align with your coding style.

8. Agent Settings- On Save: Improve

When saving a file, /improve will automatically run and suggest improvements for every mid-sized changeset.

9. Agent Settings- On Save: Issues

When saving a file, /issues will automatically run and detect issues for every small-sized changeset. JetBrains 1. Editor Buttons

Choose to show or hide Enjinx buttons over functions and classes in the editor.

2. Enable / Disable Enjinx Gutter Icons

Choose to show or hide Enjinx gutter icons appearing alongside your code.

Last updated