apache / apache/netbeans

Add access modifiers to code generating

Open
#7,459 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Using Alt+Insert we can generate different code - constructors, getters, setters etc. I suggest to let user choose what access modifier will be used for generated code. For example, using combo box or radio buttons with values: public, protected, default, private.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by locating the Alt+Insert code-generation entry points for constructors, getters, and setters. Review how each generator chooses access modifiers and how its options are presented. Done means users can choose public, protected, default, or private and the generated code consistently uses that choice.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.