farhan5248 / sheep-dog-tools

Eclipse and Maven plug-ins to help manual testers support developers adopting bdd and tdd using lean principles
GNU General Public License v3.0
0 stars 0 forks source link

Add Xtext object or field creation quickfix #173

Closed farhan5248 closed 1 month ago

farhan5248 commented 1 month ago

As part of validation, warn that the app, obj, section, field doesn't exist. Make it a fast validation.

For the quickfix, call the creation code used by the build all feature.

farhan5248 commented 1 month ago

platform:/resource/xtexttest/src-gen-once/mbt-transformer%20plugin/src/test/resources/cucumber/Process.feature%20file.feature

farhan5248 commented 1 month ago

Image

farhan5248 commented 1 month ago

Image

farhan5248 commented 1 month ago

Image

farhan5248 commented 1 month ago

TODO

  1. Tidy up the validation code. The warning message should point out that the app folder is missing or that the object is missing or that the step is missing etc. Regardless of what's missing, the generate code will create everything.
  2. Move qualified name derivation into generate method so that the quickfix code doesn't need to figure that out.