coc-flutter icon indicating copy to clipboard operation
coc-flutter copied to clipboard

Go to test

Open AdrienLemaire opened this issue 3 years ago • 1 comments

Describe the feature On VScode, an option "go to tests" exists, that will:

  • navigate the user to the related test file if exists,
  • else create the directory structure and filename, and fill the new file with boilerplate to get started writing the test.

It would be nice to have the option to :CocCommand flutter.goToTests and get the same behavior on vim :)

AdrienLemaire avatar Oct 09 '22 15:10 AdrienLemaire

yes this would be amazing - a next logical step would be that renaming/moving one file also results in renaming/moving the other file. This could maybe also be done via a custom_lint rule e.g. "have matching paths and names for test and implementation"'

dkbast avatar Mar 27 '23 11:03 dkbast