Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add Cut to the project explorer

Aperta
#3,788 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
desktop

Direzione di ricerca

Start by reading JavaNavigatorActionProvider and how it replaces the default EditActionProvider for the Project Explorer. Check how Copy, Paste, and Delete are contributed, then determine whether the open question about CDT affects the scope. Done means Cut is available for Java projects as well as non-Java projects in the Project Explorer.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

In additional to the copy, paste action in the navigator it would be great to have a cut option. Currently JDT overrides the actions for Java projects so in platfrom we could implement it for non Java-projects and to have it also for JDT we would have to implement in also in JDT.

Requirement for JDT: Cut Action Availability in Project Explorer

The Cut action shall not be available in the Project Explorer for Java projects under the current implementation of Eclipse JDT. This is due to the JavaNavigatorActionProvider replacing the default EditActionProvider and only contributing Copy, Paste, and Delete actions.

The behavior shall be independent of the active perspective. The override is bound to the org.eclipse.jdt.java.ui.javaContent content extension and applies to the viewer with ID org.eclipse.ui.navigator.ProjectExplorer. Therefore, the override shall be active in all perspectives whenever the selection corresponds to a resource within a Java project.

For non-Java projects (i.e., projects without Java nature), the default EditActionProvider shall remain active. In these cases, the Cut action shall be available in the Project Explorer.

To ensure consistent behavior across project types, the JavaNavigatorActionProvider shall be extended to include support for the Cut action.

@jonahgraham is that also the case for CDT?

Lingua principale
Java
Stelle
124
Fork
269
Merge medio
2g 2h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-platform/eclipse.platform.ui

Tutte le issue di eclipse-platform/eclipse.platform.ui

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.