I overlooked my Visual Studio 2022 version, which is 17.8.6.
The enums are declared in separate code files within my own application. The issue is endemic across multiple PHP projects using PHP Tools. I get no response after entering the double colon of any enum. Some sample code from my current (WordPress plugin) project is shown below:
namespace aCore\includes\enums;
enum e_on_input: string {
case hide = "hide";
case show = "show";
}
I invariably back my enums as there are times when its useful to set them using application values.
// Form fields
$this->fields->set( name: 'lookup_id' , width: '160', on_input: e_on_input::hide, value: $model->lookup_id );
$this->fields->set( name: 'parent_id' , width: '160', on_input: e_on_input::hide, value: cache::$parent_key->value );
$this->fields->set( name: 'group_key' , width: '160', label: 'Status Key' );
$this->fields->set( name: 'group_sequence', width: '60', label: 'Status Sequence' );
$this->fields->set( name: 'name' , width: '300' );
$this->fields->set( name: 'is_active', format: e_format::checkbox );
I tested an older project from about a year ago. I do not recall having any issues at the time, but it too exhibits the same issue now.
Michael