Autocomplete of enum members and handling of opSlice and opIndex