apache / apache/hop

[Feature Request]: User Defined Java Class - Code editor improvements

Open
#3,800 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Hop Gui P3 Transforms
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 33m
Merged PRs (30d)
204

Description

### What would you like to happen?

I would like to suggest some improvements for the code editor in User Defined Java Class:

- **Syntax highlighting**: it's quite hard to tell even what is actual code and what is a comment in a mono-color text...
- **Memory of indentation**: currently when pressing ENTER the cursor goes back to the beginning of the line, and if you indented the code to keep it ordered you need to retype all the spaces or tabs at every line

I also noticed that many code snippets (by the way, it's **snippets** not _snippits_ 😄) are still wrong... (see bug #2718)

### Issue Priority

Priority: 3

### Issue Component

Component: Hop Gui, Component: Transforms

Contributor guide

Open the contributing guide

Research direction

Start by locating the Hop GUI User Defined Java Class code editor and review bug #2718 for the related snippet problems. Done means the editor provides syntax highlighting, preserves indentation after pressing ENTER, and the identified snippets are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.