Template suggestion does not work for table in a custom block / Might there be a way around?
Since Drupal doesn't suggest certain template file names I had to create a custom module which adds the template name for my needs. I had to implement the hook_theme_suggestions_HOOK() for my table view and add an appropriate name to the suggestions array.
&lt;?php

use Drupal\views\ViewExecutable;

/**
 * Implements hook_theme_suggestions_HOOK().
 */
function custom_template_suggestions_theme_suggestions_views_view_table_alter(array &amp;$suggestions, array $variables) {
  if (isset($variables['view']) &amp;&amp; $variables['view'] instanceof ViewExecutable) {
    $id = $variables['view']-&gt;current_display;

    if (!in_array('views_view_table__' . $id, $suggestions)) {
      $suggestions[] = 'views_view_table__' . $id;
    }
  }
}