eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Opting out for specific known content types
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 201
- Fork
- 76
- Merge medio
- 4g 7h
- PR unite (30g)
- 21
Descrizione
There should be a way to opt of validation for specific know content types.
The issue arises relates to this issue raised for PDE:
https://github.com/eclipse-pde/eclipse.pde/issues/294
PDE has abused the XML Schema namespace for its own purpose leading to all kinds of validation errors that are not really errors for PDE's actual use of *.exsd resources.
Similarly a PDE *.target file doesn't specify a schema, but the editor knows the correct structure so a warning about the schema being missing is just noise to the user. Same for feature.xml, category.xml, plugin.xml, and *.product.
The Lemminx functionality is generally very cool and very useful, but it seems the only way to disable this for PDE's resources is to disable it in general, which definitely not desired either. Apparently the issue should not be addressed in LemMinx, as suggested by this comment:
https://github.com/eclipse-pde/eclipse.pde/issues/294#issuecomment-1216550919
but rather in Wild Web Developer as suggested by this comment:
https://github.com/eclipse/lemminx/issues/1275#issuecomment-1221371932
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo le discussioni collegate PDE #294 e LemMinx #1275 per comprendere il confine tra Wild Web Developer e LemMinx. Individua dove Wild Web Developer gestisce i tipi di contenuto e la validazione, quindi definisci i criteri di completamento come la soppressione degli avvisi relativi agli schemi per le risorse PDE elencate, senza disabilitare la validazione per gli altri file XML.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100