Fixed snippet tab trigger and scope