eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Ability to disable validation
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 201
- Forks
- 76
- Merge medio
- 4 d 7 h
- PR fusionados (30 d)
- 21
Descripción
Since decades "Wild Web Developers" is annoying users with its enforced validation (see e.g. https://github.com/eclipse-platform/eclipse.platform.ui/issues/943 - also look back to the old bugzilla issues that had been voted by many users, you can also do a web-search and find many stackoverflow and other hits from annoyed users) and no ability to disable this undesired behaviour.
Rationale
Why is it a problem? In general files should be valid, right?
But, the reality is different:
- For tests it is sometimes required to create invalid files. So e.g. if I want to test how my code reacts to incorrect JSON or XML data, I want to be able to have such invalid files in my codebase.
- "Wild Web Developers" tries to do complex validation that includes downloading of XSDs from the Internet, etc. that can fail for arbitrary technical reasons (Network issues, (temporary) Server unavailability, etc.). In such case my file can be entirely correct and the error marker for hundreds of e.g. XML files is absolutely not helpful.
- "Wild Web Developers" validation is slow. Validating every file in a very large project is a disaster.
Eclipse has a smart concept to aggregate errors and warnings.
As a result you see a project has a red cross if there are errors or not if there are no errors.
The aim of every reasonable developer is to get rid of the red crosses.
It is therefore in-acceptable to have errors that are actually false positives (as illustrated above).
Acceptance criteria
- In the preferences I want to have an option to disable/suspend all validators (maybe additionally even by type - XML, JSON, etc.).
- If that option is checked, then no validation should take place, no performance is wasted for validation and especially no validation errors are produced by upcoming builds.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue menciona preferencias, validadores y próximas compilaciones, pero no archivos ni pruebas. Empieza rastreando dónde se definen las preferencias de los validadores y dónde se ejecuta la validación durante las compilaciones. Se considera terminado cuando una preferencia puede suspender toda la validación, evita el trabajo de validación y no produce errores de validación cuando está habilitada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100