Skip to content

Add code completion for JSR223 scripts - #6860

Open
orimarko wants to merge 2 commits into
apache:masterfrom
orimarko:gh4540-jsr233-autocomplete
Open

orimarko wants to merge 2 commits into
apache:masterfrom
orimarko:gh4540-jsr233-autocomplete

Conversation

@orimarko

Copy link
Copy Markdown
Contributor

Description

Adds explicitly triggered code completion (Ctrl+Space) to JSR223 script editors, including JMeter bindings and common methods. Completion is limited to JSR223 editors and does not affect BSF editors. Adds the AutoComplete dependency and its license metadata.

Motivation and Context

Makes JMeter-provided bindings and common script methods easier to discover while editing JSR223 scripts. Closes #4540.

How Has This Been Tested?

  • .\gradlew.bat --quiet :src:core:test --tests org.apache.jmeter.gui.util.JSR223CompletionTest — passed
  • .\gradlew.bat --quiet classes style — passed
  • .\gradlew.bat --quiet rat — passed

Tested with runGui JSR233 Sampler and PostProcessor

Screenshots (if appropriate):

Not applicable.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

orimarko and others added 2 commits November 21, 2026 19:54
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSR223 Test Elements : Have code completion

1 participant